:root {
    --theme-color: #960018;
    --theme-color2: #960018;
    --title-font: "Manrope", Arial, Helvetica, sans-serif;
    --body-font: "Manrope", Arial, Helvetica, sans-serif;
    --title-color: #241619;
    --body-color: #5f5355;
    --smoke-color: #fbf7f2;
    --smoke-color2: #f4ece5;
    --border-color: #e6d8cf;
    --cs-wine: #960018;
    --cs-wine-dark: #6f0012;
    --cs-gold: #eaded8;
    --cs-ivory: #fbf7f2;
    --cs-champagne: #f4ece5;
    --cs-cream: #efe2d8;
    --cs-paper: #fbf7f2;
    --cs-line: #e6d8cf;
    --cs-shadow: 0 22px 60px rgba(58, 20, 27, .14);
    --cs-primary: #6f0012;
    --cs-secondary-light: #f4ece5;
}

body {
    color: var(--title-color);
    background: #fff;
}

a:hover,
.main-menu a:hover,
.property-code,
.sub-title,
.sec-text a {
    color: var(--cs-wine);
}

.cs-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--title-color);
    font-weight: 800;
}

.cs-logo img {
    width: 158px;
    max-height: 58px;
    object-fit: contain;
}

.header-layout1 .sticky-wrapper,
.header-layout1 .menu-area,
.th-header .sticky-wrapper.sticky {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--cs-line);
}

.header-layout1.header-inner .header-top,
.header-layout1.header-inner .sticky-wrapper,
.header-layout1.header-inner .menu-area,
.header-layout1.header-inner .sticky-wrapper.sticky {
    background: rgba(251, 247, 242, .99) !important;
    border-bottom: 1px solid var(--cs-line) !important;
    box-shadow: 0 10px 30px rgba(58, 20, 27, .08);
}

.header-layout1.header-inner .header-top {
    color: var(--title-color);
}

.header-layout1.header-inner .header-links li,
.header-layout1.header-inner .header-links a,
.header-layout1.header-inner .main-menu > ul > li > a,
.header-layout1.header-inner .th-menu-toggle,
.header-layout1.header-inner .header-button .icon-btn,
.header-layout1.header-inner .sidemenu-bar span {
    color: #1a0e11 !important;
}

/* Mobile menu: ensure dark text on cream sidebar */
.th-menu-wrapper .main-menu > ul > li > a,
.th-mobile-menu a {
    color: #1a0e11 !important;
}
.th-menu-wrapper .main-menu > ul > li > a:hover,
.th-mobile-menu a:hover {
    color: var(--cs-wine) !important;
}

.header-layout1.header-inner .main-menu > ul > li > a:hover,
.header-layout1.header-inner .sticky-wrapper.sticky .main-menu > ul > li > a:hover,
.header-layout1.header-inner .header-links a:hover {
    color: var(--cs-wine) !important;
}

.header-layout1.header-inner .cs-social-link {
    color: var(--title-color) !important;
    border-color: rgba(58, 20, 27, .16);
}

.header-layout1.header-inner .cs-social-link:hover {
    background: rgba(150, 0, 24, .08);
}

.header-layout1.header-inner .cs-social-instagram:hover {
    color: #E4405F !important;
}

.header-layout1.header-inner .cs-social-youtube:hover {
    color: #FF0000 !important;
}

.header-layout1.header-inner .cs-social-reviews:hover {
    color: #8a6d3b !important;
}

.header-top {
    background: var(--cs-wine-dark);
    color: #fff;
}

.header-links li,
.header-links a {
    color: rgba(255, 255, 255, .92);
}

.main-menu > ul > li > a {
    color: var(--title-color);
    font-weight: 700;
}

.th-btn,
.button,
.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid var(--cs-wine);
    border-radius: 4px;
    background: var(--cs-wine);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.th-btn:hover,
.button:hover,
.cs-btn:hover {
    border-color: var(--cs-wine-dark);
    background: var(--cs-wine-dark);
    color: #fff!important;
}

.th-btn:focus-visible,
.button:focus-visible,
.cs-btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--cs-wine);
    outline-offset: 3px;
}

.filter-menu .th-btn.tab-btn {
    background: var(--cs-champagne);
    border-color: var(--cs-line);
    color: var(--cs-primary);
}

.filter-menu .th-btn.tab-btn.active {
    background: var(--cs-wine);
    border-color: var(--cs-wine);
    color: #fff;
}

.button.secondary,
.cs-btn.secondary {
    border-color: var(--cs-wine);
    background: var(--cs-wine);
    color: #fff;
}

.button.ghost,
.cs-btn.ghost {
    border-color: var(--cs-line);
    background: transparent;
    color: var(--title-color);
}

.button.gold,
.cs-btn.gold {
    border-color: var(--cs-wine);
    background: var(--cs-wine);
    color: #fff;
}

.cs-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(73, 0, 15, .92), rgba(122, 0, 19, .64), rgba(122, 0, 19, .12)),
        url("../img/hero/hero_bg_1_1.jpg") center/cover no-repeat;
}

.cs-hero .hero-title {
    max-width: 760px;
    color: #fff;
    font-size: clamp(44px, 7vw, 84px);
    line-height: .98;
    margin-bottom: 18px;
}

.cs-hero .hero-text {
    max-width: 660px;
    color: rgba(255,255,255,.9);
    font-size: clamp(18px, 2vw, 22px);
}

.cs-search-wrap {
    position: relative;
    z-index: 5;
    margin-top: -68px;
}

.cs-search-form {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.45fr 1fr 1fr 1fr auto;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--cs-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 20px 54px rgba(72, 31, 38, .14);
}

.input,
.select,
.textarea,
.form-control,
.form-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--cs-line);
    border-radius: 4px;
    background: #fff;
    color: var(--title-color);
    outline: none;
}

.input,
.select,
.textarea {
    padding: 0 13px;
}

.textarea {
    min-height: 110px;
    padding-top: 12px;
    resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--cs-wine);
    box-shadow: 0 0 0 3px rgba(150, 0, 24, .12);
}

.cs-section {
    padding: 72px 0;
}

.cs-section.alt,
.space.bg-smoke {
    background: var(--cs-paper);
}

.cs-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

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

.property-card,
.cs-card,
.popular-list-1 {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--cs-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(50, 24, 29, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.property-card:hover,
.cs-card:hover,
.popular-list-1:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(50, 24, 29, .12);
}

.property-media-wrap,
.cs-property-thumb {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cs-paper);
}

.property-media,
.cs-property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-media.placeholder,
.gallery-placeholder {
    display: grid;
    place-items: center;
    color: var(--body-color);
    font-weight: 800;
}

.tag,
.media-tag,
.cs-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 99px;
    background: rgba(122, 0, 19, .92);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.media-tag {
    position: absolute;
    left: 12px;
    top: 12px;
}

.property-card-body,
.cs-card-body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.property-card h3,
.cs-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.property-code {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.muted {
    color: var(--body-color);
}

.price {
    color: var(--cs-wine);
    font-size: 22px;
    font-weight: 800;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fact {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 9px;
    border-radius: 4px;
    background: var(--cs-paper);
    color: var(--body-color);
    font-size: 13px;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.card-actions .wide {
    grid-column: 1 / -1;
}

/* Legacy listing-layout kept for detail pages */
.listing-layout {
    display: grid;
    grid-template-columns: 315px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.filter-panel,
.lead-panel {
    position: sticky;
    top: 98px;
    padding: 22px;
    border: 1px solid var(--cs-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(50, 24, 29, .08);
}

.filter-panel form,
.lead-panel form,
.cs-form {
    display: grid;
    gap: 12px;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.breadcumb-wrapper.cs-page-title {
    background:
        linear-gradient(90deg, rgba(73, 0, 15, .88), rgba(73, 0, 15, .55)),
        url("../img/bg/breadcrumb-bg.jpg") center/cover no-repeat;
}

.breadcumb-title,
.breadcumb-menu li,
.breadcumb-menu li a {
    color: #fff;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) 380px;
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 72px;
}

.gallery {
    display: grid;
    gap: 12px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    background: var(--cs-paper);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.gallery-thumbs img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-thumbs img:hover {
    border-color: var(--cs-wine);
}

.feature-grid,
.client-area-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-box,
.client-area-card {
    padding: 18px;
    border: 1px solid var(--cs-line);
    border-radius: 6px;
    background: var(--cs-paper);
}

.map-box {
    height: 340px;
    overflow: hidden;
    border: 1px solid var(--cs-line);
    border-radius: 6px;
}

.quick-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(34, 10, 15, .68);
}

.quick-modal.is-open {
    display: flex;
}

.quick-dialog {
    width: min(920px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border-radius: 6px;
    background: #fff;
}

.quick-content {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
}

.quick-content img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    background: var(--cs-paper);
}

.quick-body {
    display: grid;
    gap: 13px;
    padding: 26px;
}

.quick-close {
    justify-self: end;
}

.cs-cta {
    padding: 38px;
    border-radius: 6px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(122,0,19,.96), rgba(150,0,24,.88)),
        url("../img/bg/download-bg-1.jpg") center/cover no-repeat;
}

.cs-cta h2,
.cs-cta .sub-title {
    color: #fff;
}

.footer-wrapper.cs-footer {
    background: #2a1116;
}

.cs-piller-home .hero-1 {
    min-height: auto;
}

.cs-piller-home .hero-inner {
    position: relative;
    min-height: 640px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.cs-piller-home .hero-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21, 7, 10, .86), rgba(35, 12, 16, .44));
    z-index: 0;
}

.cs-piller-home .hero-inner .container {
    position: relative;
    z-index: 1;
}

.cs-piller-home .hero-title {
    color: #fff;
}

/* Hero red text: clean, no outline */
.hero-title .text-theme,
.hero-title .title2.text-theme {
    text-shadow: none;
    -webkit-text-stroke: 0;
}

.cs-piller-home .logo-animation {
    color: var(--cs-wine);
}

.cs-piller-home .search-area form {
    margin: 0;
}

.cs-piller-home .search-area .th-btn {
    cursor: pointer;
}

.cs-piller-home .popular-list-1 .thumb-wrapper {
    position: relative;
    max-height: none;
    height: 240px;
}

.cs-piller-home .popular-list-1 .thumb-wrapper .th-slider,
.cs-piller-home .popular-list-1 .thumb-wrapper .swiper-wrapper,
.cs-piller-home .popular-list-1 .thumb-wrapper .swiper-slide {
    height: 100%;
}

.cs-piller-home .popular-list-1 .thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cs-piller-home .popular-list-1 .actions-style-2-wrapper .actions.style-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    pointer-events: auto;
}

.cs-piller-home .cs-card-action {
    border: 0;
}

.cs-piller-home .cs-card-action span {
    pointer-events: none;
}

.cs-piller-home .popular-list-1 .actions-style-2-wrapper {
    position: absolute;
    inset: auto 0 14px;
    z-index: 4;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cs-piller-home .popular-list-1 .actions {
    z-index: 5;
}

.cs-piller-home .popular-list-1 .actions.style-2 .icon-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(46, 19, 25, .16);
}

.cs-piller-home .popular-list-1 .actions.style-2 .icon-btn .action-text {
    display: none;
}

.cs-piller-home .popular-list-1 .thumb-wrapper .icon-wrap {
    position: absolute;
    inset: 50% 0 auto;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 12px;
}

.cs-piller-home .popular-list-1 .thumb-wrapper .icon-wrap .slider-arrow {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    color: var(--title-color);
    box-shadow: 0 10px 22px rgba(46, 19, 25, .16);
}

.cs-piller-home .popular-list-1 .property-bottom {
    gap: 12px;
}

.cs-piller-home .property-featured img {
    width: 18px;
}

.cs-quick-modal-template .quick-dialog {
    border-radius: 20px;
    overflow: hidden;
}

.cs-quick-modal-template .quick-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
}

.cs-quick-modal-template .quick-content img {
    min-height: 480px;
}

.cs-quick-modal-template .quick-body {
    padding: 34px;
}

.cs-piller-footer .about-logo img,
.cs-piller-footer .cs-footer-logo {
    width: 170px;
    max-height: 74px;
    object-fit: contain;
}

.cs-piller-footer .about-logo {
    background: #fff;
    display: inline-flex;
    padding: 8px;
    border-radius: 6px;
}

.cs-blog-card {
    height: 100%;
}

@media (max-width: 767px) {
    .cs-quick-modal-template .quick-content {
        grid-template-columns: 1fr;
    }

    .cs-quick-modal-template .quick-content img {
        min-height: 280px;
    }

    .cs-header-social {
        justify-content: flex-end;
        gap: 10px;
    }

    .header-top .header-links {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

.footer-wrapper.cs-footer,
.footer-wrapper.cs-footer a,
.footer-wrapper.cs-footer p,
.footer-wrapper.cs-footer .widget_title {
    color: rgba(255,255,255,.9);
}

.footer-wrapper.cs-footer .widget_title {
    color: #fff;
}

.cs-footer-logo {
    width: 178px;
    max-height: 70px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 6px;
}

.cs-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cs-form-grid .full {
    grid-column: 1 / -1;
}

.cs-upload-box {
    min-height: 150px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1px dashed var(--cs-wine);
    border-radius: 6px;
    background: #fff;
}

@media (max-width: 1199px) {
    .cs-search-form {
        grid-template-columns: repeat(3, 1fr);
    }
    .cs-search-form .button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .listing-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .filter-panel,
    .lead-panel {
        position: static;
    }
    .cs-grid,
    .feature-grid,
    .client-area-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cs-hero {
        min-height: 590px;
    }
    .cs-search-form,
    .cs-grid,
    .feature-grid,
    .client-area-grid,
    .cs-form-grid,
    .card-actions,
    .quick-content {
        grid-template-columns: 1fr;
    }
    .cs-section-head,
    .results-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    .quick-content img {
        min-height: 250px;
    }
}

/* Revisao visual 2: paleta premium sem dourado, menu claro no scroll e Manrope global. */

html,
body,
button,
input,
select,
textarea,
.main-menu a,
.hero-title,
.sec-title,
.box-title,
.breadcumb-title,
.widget_title {
    font-family: Manrope, Arial, Helvetica, sans-serif !important;
    letter-spacing: 0;
}

.hero-title, .sec-title, .breadcumb-title {
    letter-spacing: -0.015em;
}

.text-theme,
.title2.text-theme,
.sub-title,
.property-code,
a:hover,
.main-menu a:hover {
    color: var(--cs-wine) !important;
}

.th-header.header-layout1 {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
}

.header-layout1 .sticky-wrapper,
.header-layout1 .menu-area {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    box-shadow: none;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.header-layout1 .sticky-wrapper.sticky {
    background: rgba(251, 247, 242, .98) !important;
    border-bottom: 1px solid var(--cs-line);
    box-shadow: 0 16px 42px rgba(58, 20, 27, .1);
    backdrop-filter: blur(14px);
}

.header-layout1 .sticky-wrapper.sticky .menu-area {
    background: transparent !important;
    border-bottom: 0;
}

.header-top {
    background: rgba(111, 0, 18, .74) !important;
    color: #fff;
    backdrop-filter: blur(10px);
}

.header-layout1 .main-menu > ul > li > a,
.header-layout1 .th-menu-toggle,
.header-layout1 .header-button .icon-btn,
.header-layout1 .sidemenu-bar span {
    color: #fff !important;
}

.header-layout1 .sticky-wrapper.sticky .main-menu > ul > li > a,
.header-layout1 .sticky-wrapper.sticky .th-menu-toggle,
.header-layout1 .sticky-wrapper.sticky .header-button .icon-btn {
    color: var(--title-color) !important;
}

.header-layout1 .main-menu > ul > li > a:hover,
.header-layout1 .sticky-wrapper.sticky .main-menu > ul > li > a:hover {
    color: var(--cs-wine) !important;
}

/* Home header: cream with blur — same look as sticky, always */
.header-default.header-layout1.header-home .sticky-wrapper,
.header-default.header-layout1.header-home .sticky-wrapper .menu-area,
.header-default.header-layout1.header-home .menu-area {
    background: rgba(251, 247, 242, .82) !important;
    border-bottom: 1px solid var(--cs-line) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(58, 20, 27, .08);
}

.header-default.header-layout1.header-home .main-menu > ul > li > a,
.header-default.header-layout1.header-home .main-menu ul li.menu-item-has-children > a::after,
.header-default.header-layout1.header-home .th-menu-toggle,
.header-default.header-layout1.header-home .header-button .icon-btn {
    color: var(--title-color) !important;
}

.header-default.header-layout1.header-home .main-menu > ul > li > a:hover {
    color: var(--cs-wine) !important;
}

.header-default.header-layout1.header-home .cs-logo .cs-logo-img-light {
    display: none !important;
}

.header-default.header-layout1.header-home .cs-logo .cs-logo-img-dark {
    display: block !important;
}

.header-default.header-layout1.header-home .sticky-wrapper.sticky,
.header-default.header-layout1.header-home .sticky-wrapper.sticky .menu-area {
    background: rgba(251, 247, 242, .96) !important;
    box-shadow: 0 16px 42px rgba(58, 20, 27, .1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-default.header-layout1.header-home .header-top {
    background: var(--cs-wine-dark) !important;
    color: #fff;
}

.header-default.header-layout1.header-home .header-links a,
.header-default.header-layout1.header-home .header-links .current {
    color: #fff !important;
}

.main-menu ul.sub-menu,
.main-menu ul.mega-menu {
    background: var(--cs-ivory) !important;
    border: 1px solid var(--cs-line);
    box-shadow: var(--cs-shadow);
    border-radius: 12px !important;
    padding: 8px 0 !important;
}

.main-menu ul.sub-menu li,
.main-menu ul.mega-menu li {
    padding: 0 12px !important;
}

.main-menu ul.sub-menu li + li,
.main-menu ul.mega-menu li + li {
    border-top: 1px solid var(--cs-wine);
}

.main-menu ul.sub-menu li a,
.main-menu ul.mega-menu li a {
    color: var(--title-color) !important;
    padding: 10px 12px !important;
    display: block;
}

.main-menu ul.sub-menu li a:hover,
.main-menu ul.mega-menu li a:hover {
    color: var(--cs-wine) !important;
    background: rgba(150, 0, 24, .05);
    border-radius: 6px;
}

/* Submenu chevron color — match header text */
.header-layout1 .main-menu ul li.menu-item-has-children > a:after {
    color: inherit !important;
}

/* Hide home icon in submenu links */
.main-menu ul.sub-menu li a:before {
    display: none !important;
}

.main-menu ul.sub-menu li a:hover {
    padding-left: 12px !important;
}

.button.secondary,
.button.gold,
.cs-btn.secondary,
.cs-btn.gold,
.th-btn.style2,
.th-btn.style3,
.th-btn.bg-theme {
    border-color: var(--cs-wine) !important;
    background: var(--cs-wine) !important;
    color: #fff !important;
}

.button.secondary:hover,
.button.gold:hover,
.cs-btn.secondary:hover,
.cs-btn.gold:hover,
.th-btn.style2:hover,
.th-btn.style3:hover,
.th-btn.bg-theme:hover {
    border-color: var(--cs-wine-dark) !important;
    background: var(--cs-wine-dark) !important;
    color: var(--cs-wine) !important;
}

.button.ghost,
.cs-btn.ghost {
    border-color: var(--cs-line);
    background: transparent;
    color: var(--title-color);
}

.search-area .search-wrap,
.cs-search-form,
.filter-panel,
.lead-panel,
.quick-dialog,
.property-card,
.cs-card,
.popular-list-1,
.client-area-card {
    background: var(--cs-ivory) !important;
    border-color: var(--cs-line) !important;
    box-shadow: var(--cs-shadow);
}

.form-control,
.form-select,
.input,
.select,
.textarea,
.nice-select {
    background-color: #fffaf6 !important;
    border-color: var(--cs-line) !important;
    color: var(--title-color) !important;
}

.form-control::placeholder,
.input::placeholder,
.textarea::placeholder {
    color: #796b6d;
    opacity: 1;
}

.nice-select .option {
    color: var(--title-color);
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background-color: var(--cs-champagne);
}

.search-area .nav-tabs.custom .nav-link {
    color: var(--title-color) !important;
}

.search-area .nav-tabs.custom .nav-link.active {
    background: var(--cs-wine) !important;
    color: #fff !important;
}

.popular-badge,
.tag,
.media-tag,
.cs-tag {
    background: var(--cs-wine) !important;
    color: #fff !important;
}

.popular-badge p,
.popular-badge i {
    color: #fff !important;
}

.popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(46, 19, 25, .16);
}

.popular-badge img {
    display: none !important;
}

.popular-badge span {
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.price,
.property-bottom .box-title,
.popular-list-1 .box-title a,
.price_label,
.price_label span {
    color: var(--title-color) !important;
}

.fact,
.feature-box,
.client-area-card,
.lgpd-option {
    background: var(--cs-champagne) !important;
    border-color: var(--cs-line) !important;
    color: var(--title-color);
}

.cs-upload-box {
    border-color: var(--cs-wine) !important;
    background: #fffaf6 !important;
}

.cs-piller-footer .about-logo,
.cs-footer-logo {
    background: var(--cs-ivory) !important;
}

@media (max-width: 991px) {
    .header-layout1 .sticky-wrapper,
    .header-layout1 .menu-area {
        background: rgba(251, 247, 242, .98) !important;
    }

    .header-layout1 .main-menu > ul > li > a,
    .header-layout1 .th-menu-toggle {
        color: var(--title-color) !important;
    }

    /* Home page mobile: transparent header over dark hero */
    .header-layout1.header-home .sticky-wrapper,
    .header-layout1.header-home .menu-area {
        background: transparent !important;
    }

    .header-layout1.header-home .th-menu-toggle {
        color: #fff !important;
    }

    /* When scrolled (sticky), restore light background + dark text */
    .header-layout1.header-home .sticky-wrapper.sticky,
    .header-layout1.header-home .sticky-wrapper.sticky .menu-area {
        background: rgba(251, 247, 242, .98) !important;
    }

    .header-layout1.header-home .sticky-wrapper.sticky .th-menu-toggle {
        color: var(--title-color) !important;
    }
}

/* Fase 6.2A: refinamento visual do hero, header e conversao. */

.cs-logo {
    position: relative;
}

.cs-logo .cs-logo-img {
    width: 158px;
    max-height: 58px;
    object-fit: contain;
    transition: opacity .2s ease, filter .2s ease;
}

.cs-logo .cs-logo-img-dark {
    display: none;
}

.header-layout1 .sticky-wrapper.sticky .cs-logo .cs-logo-img-light {
    display: none;
}

.header-layout1 .sticky-wrapper.sticky .cs-logo .cs-logo-img-dark {
    display: block;
}

@media (max-width: 991px) {
    .cs-logo .cs-logo-img-light {
        display: none;
    }

    .cs-logo .cs-logo-img-dark {
        display: block;
    }

    /* Home page on mobile: keep white logo over dark hero */
    .header-layout1.header-home .cs-logo .cs-logo-img-light {
        display: block;
    }

    .header-layout1.header-home .cs-logo .cs-logo-img-dark {
        display: none;
    }

    /* When scrolled (sticky), switch back to dark logo */
    .header-layout1.header-home .sticky-wrapper.sticky .cs-logo .cs-logo-img-light {
        display: none;
    }

    .header-layout1.header-home .sticky-wrapper.sticky .cs-logo .cs-logo-img-dark {
        display: block;
    }
}

.header-layout1 .sticky-wrapper.sticky .header-logo .cs-logo img {
    filter: drop-shadow(0 1px 2px rgba(58, 20, 27, .16));
}

.hero-real-estate-code {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 700;
}

.cs-header-social {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
}

.cs-header-social li {
    margin: 0 !important;
}

.cs-social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    color: #fff !important;
    transition: all .25s ease;
}

.cs-social-link:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, .12);
}

.cs-social-instagram:hover {
    color: #E4405F !important;
    border-color: rgba(228, 64, 95, .45);
}

.cs-social-youtube:hover {
    color: #FF0000 !important;
    border-color: rgba(255, 0, 0, .45);
}

.cs-social-reviews:hover {
    color: #d8c3a5 !important;
    border-color: rgba(216, 195, 165, .55);
}

#feature-sec {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        var(--cs-feature-bg, url("../img/property-values/property-values-2-1.jpg")) center/cover no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#feature-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, .45);
}

#feature-sec .sec-title,
#feature-sec .box-title,
#feature-sec .sub-title {
    color: #fff !important;
}

#feature-sec .sec-text,
#feature-sec .box-text,
#feature-sec p {
    color: rgba(255, 255, 255, .9) !important;
}

#feature-sec .wow,
#feature-sec .fadeinup {
    visibility: visible !important;
    opacity: 1 !important;
    animation-name: none !important;
}

#feature-sec .about-1-item {
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 18px;
    background: rgba(251, 247, 242, .12) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .2);
    backdrop-filter: blur(8px);
}

#feature-sec .about-1-item .icon {
    background: rgba(251, 247, 242, .94);
    border-radius: 16px;
}

#feature-sec .th-btn,
#feature-sec .button {
    background: var(--cs-wine) !important;
    border-color: var(--cs-wine) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .cs-logo img {
        width: 142px;
        max-height: 54px;
    }
}

.cs-property-premium {
    background: #fbf7f2;
    padding: 150px 0 80px;
}

.cs-property-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: rgba(61, 18, 30, .68);
    font-size: 14px;
}

.cs-property-breadcrumb a {
    color: var(--cs-wine);
    font-weight: 700;
}

.cs-property-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 26px;
}

.cs-property-title-row h1 {
    max-width: 980px;
    margin-bottom: 10px;
    color: var(--cs-primary);
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1.04;
}

.cs-property-title-row p {
    margin: 0;
    color: rgba(61, 18, 30, .72);
    font-weight: 700;
}

.cs-share-actions {
    display: flex;
    gap: 10px;
}

.cs-share-actions a,
.cs-share-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    max-width: 44px;
    overflow: hidden;
    font-size: 18px;
    padding: 0;
    border: 1px solid rgba(111, 15, 39, .18);
    border-radius: 999px;
    background: #fff;
    color: var(--cs-wine);
    box-shadow: 0 12px 30px rgba(61, 18, 30, .08);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.cs-share-actions a:hover,
.cs-share-actions button:hover,
.cs-share-actions button.is-copied {
    background: var(--cs-wine);
    color: #fff;
    transform: translateY(-2px);
}

.cs-premium-gallery {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .78fr);
    gap: 10px;
    min-height: 520px;
    overflow: hidden;
    border-radius: 28px;
    background: #e8ded3;
    box-shadow: 0 34px 80px rgba(61, 18, 30, .16);
}

.cs-gallery-main,
.cs-gallery-side button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #23141a;
    cursor: zoom-in;
}

.cs-gallery-main img,
.cs-gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .5s ease;
}

.cs-gallery-main:hover img,
.cs-gallery-side button:hover img {
    transform: scale(1.035);
    filter: saturate(1.04);
}

.cs-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cs-gallery-all {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, .94);
    color: var(--cs-primary);
    font-weight: 800;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.cs-gallery-all span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--cs-wine);
    color: #fff;
    font-size: 13px;
}

.cs-gallery-placeholder {
    display: grid;
    min-height: 420px;
    place-items: center;
    color: var(--cs-primary);
    font-weight: 800;
}

.cs-property-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    margin-top: 38px;
    align-items: start;
}

.cs-property-summary,
.cs-property-section,
.cs-financing-box,
.cs-final-cta,
.cs-owner-cta {
    border: 1px solid rgba(111, 15, 39, .1);
    border-radius: 24px;
    background: #fff;
    padding: 30px;
    box-shadow: 0 18px 48px rgba(61, 18, 30, .07);
}

.cs-property-summary {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.cs-price-block span {
    display: block;
    color: rgba(61, 18, 30, .62);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.cs-price-block strong {
    display: block;
    color: var(--cs-wine);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
}

.cs-trust-seals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cs-trust-seals span {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border-radius: 999px;
    padding: 9px 13px;
    background: #f5eee7;
    color: var(--cs-primary);
    font-size: 13px;
    font-weight: 800;
}

.cs-trust-seals i {
    color: var(--cs-wine);
}

.cs-property-highlights {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.cs-property-highlights div {
    min-height: 132px;
    border: 1px solid rgba(111, 15, 39, .1);
    border-radius: 20px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(61, 18, 30, .06);
}

.cs-property-highlights i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #f5eee7;
    color: var(--cs-wine);
}

.cs-property-highlights strong {
    display: block;
    color: var(--cs-primary);
    font-size: 22px;
    line-height: 1.1;
}

.cs-property-highlights span {
    color: rgba(61, 18, 30, .62);
    font-weight: 700;
}

.cs-property-section,
.cs-financing-box,
.cs-final-cta,
.cs-owner-cta {
    margin-top: 28px;
}

.cs-property-section h2,
.cs-financing-box h2,
.cs-final-cta h2,
.cs-owner-cta h2,
.cs-conversion-card h2 {
    color: var(--cs-primary);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.12;
}

.cs-rich-text {
    color: rgba(36, 31, 32, .82);
    font-size: 17px;
    line-height: 1.85;
}

.cs-premium-facts {
    gap: 10px;
}

.cs-financing-box {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: center;
}

.cs-financing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cs-financing-grid label {
    color: rgba(61, 18, 30, .64);
    font-size: 13px;
    font-weight: 800;
}

.cs-financing-grid input {
    width: 100%;
    height: 50px;
    margin-top: 6px;
    border: 1px solid rgba(111, 15, 39, .12);
    border-radius: 14px;
    padding: 0 14px;
    background: #fbf7f2;
    color: var(--cs-primary);
    font-weight: 800;
}

.cs-financing-box .th-btn {
    grid-column: 1 / -1;
    justify-self: start;
}

.cs-conversion-panel {
    position: sticky;
    top: 118px;
}

.cs-conversion-card {
    border: 1px solid rgba(111, 15, 39, .12);
    border-radius: 26px;
    background: #fff;
    padding: 26px;
    box-shadow: 0 28px 70px rgba(61, 18, 30, .14);
}

.cs-conversion-card .th-btn {
    width: 100%;
    margin-bottom: 10px;
    justify-content: center;
}

.cs-conversion-card form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.cs-conversion-card .input,
.cs-conversion-card .textarea {
    border-radius: 14px;
}

.cs-conversion-card .textarea {
    min-height: 104px;
}

.cs-final-cta {
    background: var(--cs-primary);
    color: #fff;
}

.cs-final-cta h2,
.cs-final-cta p {
    color: #fff;
}

.cs-final-cta > div,
.cs-owner-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.cs-owner-cta {
    background: #f5eee7;
}

.cs-owner-cta p {
    margin-bottom: 0;
}

.cs-related-properties .cs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ================================================================
   LIGHTBOX — with conversion sidebar
   ================================================================ */
.cs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    background: rgba(10, 7, 8, .96);
    padding: 0;
}
.cs-lightbox.is-open {
    display: flex;
}
.cs-lightbox-open {
    overflow: hidden;
}
.cs-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 18px;
    backdrop-filter: blur(10px);
    cursor: pointer;
}
.cs-lightbox-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    width: 100%;
    height: 100%;
}
.cs-lightbox-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.cs-lightbox-media figure {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0;
}
.cs-lightbox-media img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}
.cs-lightbox-media figcaption {
    margin-top: 10px;
    color: rgba(255,255,255,.7);
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}
.cs-lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 16px;
}
.cs-lightbox-nav.prev { left: 20px; }
.cs-lightbox-nav.next { right: 20px; }

/* Lightbox Sidebar */
.cs-lightbox-sidebar {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: #fff;
    overflow-y: auto;
    border-left: 1px solid var(--cs-line, #e6d8cf);
}
.cs-lightbox-sidebar__price {
    font-size: 28px;
    font-weight: 800;
    color: var(--cs-wine, #960018);
    margin-bottom: 8px;
}
.cs-lightbox-sidebar__title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0 0 6px;
    line-height: 1.3;
}
.cs-lightbox-sidebar__location {
    font-size: 13px;
    color: #888;
    margin: 0 0 6px;
}
.cs-lightbox-sidebar__location i {
    color: var(--cs-wine, #960018);
    margin-right: 4px;
}
.cs-lightbox-sidebar__code {
    font-size: 12px;
    font-weight: 700;
    color: var(--cs-wine, #960018);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.cs-lightbox-sidebar__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 13px;
    color: #555;
}
.cs-lightbox-sidebar__features li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cs-lightbox-sidebar__features i {
    color: var(--cs-wine, #960018);
    font-size: 13px;
}
.cs-lightbox-sidebar__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.cs-lightbox-sidebar__actions .th-btn {
    width: 100%;
    justify-content: center;
}
.cs-lightbox-sidebar__form {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--cs-line, #e6d8cf);
}
.cs-lightbox-sidebar__form .input,
.cs-lightbox-sidebar__form .textarea {
    border-radius: 8px;
    font-size: 13px;
}
.cs-lightbox-sidebar__form .textarea {
    min-height: 60px;
}
.cs-lightbox-sidebar__broker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--cs-line, #e6d8cf);
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.cs-lightbox-sidebar__broker i {
    color: var(--cs-wine, #960018);
}

.cs-mobile-conversion-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 9990;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border: 1px solid rgba(111, 15, 39, .12);
    border-radius: 18px;
    padding: 8px;
    background: rgba(251, 247, 242, .96);
    box-shadow: 0 18px 48px rgba(61, 18, 30, .18);
    backdrop-filter: blur(14px);
    box-sizing: border-box;
}

.cs-mobile-conversion-bar a {
    display: inline-flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 13px;
    background: var(--cs-wine);
    color: #fff;
    overflow: hidden;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.cs-mobile-conversion-bar a:nth-child(2),
.cs-mobile-conversion-bar a:nth-child(3) {
    background: #fff;
    color: var(--cs-primary);
}

/* ================================================================
   DETAIL PAGE — Broker card, Characteristics, Map distances, Price extras
   ================================================================ */
.cs-price-extra {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(61, 18, 30, .6);
    margin-top: 4px;
}

/* Broker Card */
.cs-broker-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 14px;
    background: var(--cs-paper, #fbf7f2);
}
.cs-broker-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cs-wine, #960018);
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.cs-broker-avatar--brand {
    background: var(--cs-champagne, #f4ece5);
    color: var(--cs-wine, #960018);
}
.cs-broker-role {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.cs-broker-name {
    display: block;
    font-size: 15px;
    color: #222;
}
.cs-broker-company {
    display: block;
    font-size: 12px;
    color: #888;
}

/* Characteristics */
.cs-characteristics-section h2 {
    margin-bottom: 18px;
}
.cs-char-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.cs-char-group {
    margin-bottom: 18px;
}
.cs-char-group h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--cs-wine, #960018);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cs-char-group h3 i {
    font-size: 14px;
    opacity: .7;
}
.cs-char-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cs-char-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid var(--cs-line, #e6d8cf);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.cs-char-chip i {
    font-size: 12px;
    color: var(--cs-wine, #960018);
    opacity: .7;
}
.cs-char-chip--highlight {
    background: rgba(150, 0, 24, .06);
    border-color: rgba(150, 0, 24, .15);
    color: var(--cs-wine, #960018);
}
.cs-char-chip--highlight i {
    opacity: 1;
}
.cs-char-chip--wine {
    background: var(--cs-wine, #960018);
    border-color: var(--cs-wine, #960018);
    color: #fff;
}
.cs-char-chip--wine i {
    color: #fff;
    opacity: .85;
}

/* Map with Distances */
.cs-map-with-distances {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 0;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 16px;
    overflow: hidden;
}
.cs-map-section .map-box {
    min-height: 360px;
    border-radius: 0;
}
.cs-distances-box {
    padding: 20px;
    background: #fff;
    border-left: 1px solid var(--cs-line, #e6d8cf);
}
.cs-distances-box h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--cs-wine, #960018);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cs-distances-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-distances-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
    font-size: 13px;
}
.cs-distances-list li:last-child {
    border-bottom: 0;
}
.cs-distances-list i {
    width: 20px;
    text-align: center;
    color: var(--cs-wine, #960018);
    font-size: 13px;
    opacity: .7;
}
.cs-dist-name {
    flex: 1;
    color: #444;
}
.cs-dist-value {
    font-weight: 700;
    color: #222;
    white-space: nowrap;
}

/* ================================================================
   PROPERTY CARDS — Standardized Premium
   ================================================================ */
.cs-property-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(50, 24, 29, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cs-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 44px rgba(50, 24, 29, .12);
}
.cs-property-card__media {
    position: relative;
    overflow: hidden;
}
.cs-property-card__media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .4s ease;
}
.cs-property-card:hover .cs-property-card__media img {
    transform: scale(1.04);
}
.cs-property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(122, 0, 19, .9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.cs-property-card__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    backdrop-filter: blur(6px);
}
.cs-property-card__fav:hover,
.cs-property-card__fav[aria-pressed="true"] {
    color: #e53935;
    background: #fff;
}
.cs-property-card__photo-count {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.cs-property-card__slider-nav {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s;
}
.cs-property-card:hover .cs-property-card__slider-nav {
    opacity: 1;
}
.cs-property-card__slider-nav .slider-arrow {
    pointer-events: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    color: #333;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: transform .2s;
}
.cs-property-card__slider-nav .slider-arrow:hover {
    transform: scale(1.1);
}

/* Hover action bar */
.cs-property-card__hover-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s, transform .25s;
}
.cs-property-card:hover .cs-property-card__hover-bar {
    opacity: 1;
    transform: translateY(0);
}
.cs-property-card__hover-bar button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: none;
    border-radius: 99px;
    background: rgba(255,255,255,.9);
    color: #333;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}
.cs-property-card__hover-bar button:hover {
    background: #fff;
}
.cs-property-card__hover-bar button i {
    font-size: 12px;
}

/* Card Body */
.cs-property-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
}
.cs-property-card__price {
    font-size: 20px;
    font-weight: 800;
    color: var(--cs-wine, #960018);
    margin-bottom: 6px;
}
.cs-property-card__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}
.cs-property-card__title a {
    color: #222;
    text-decoration: none;
}
.cs-property-card__title a:hover {
    color: var(--cs-wine, #960018);
}
.cs-property-card__location {
    font-size: 12px;
    color: #888;
    margin: 0 0 10px;
}
.cs-property-card__location i {
    color: var(--cs-wine, #960018);
    margin-right: 3px;
    font-size: 11px;
}
.cs-property-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    font-size: 13px;
    color: #666;
}
.cs-property-card__features li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cs-property-card__features i {
    color: var(--cs-wine, #960018);
    font-size: 12px;
    opacity: .6;
}
.cs-property-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--cs-line, #e6d8cf);
    font-size: 13px;
    font-weight: 700;
    color: var(--cs-wine, #960018);
    text-decoration: none;
    transition: gap .2s;
}
.cs-property-card__cta:hover {
    gap: 10px;
}
.cs-property-card__cta i {
    font-size: 11px;
}

/* ================================================================
   Detail + Card RESPONSIVE overrides
   ================================================================ */

@media (max-width: 1199px) {
    .cs-property-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .cs-conversion-panel {
        position: static;
    }
    .cs-property-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .cs-related-properties .cs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cs-lightbox-body {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
    .cs-map-with-distances {
        grid-template-columns: 1fr;
    }
    .cs-distances-box {
        border-left: none;
        border-top: 1px solid var(--cs-line, #e6d8cf);
    }
}

@media (max-width: 991px) {
    .cs-lightbox-body {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
    .cs-lightbox-media {
        padding: 16px;
        min-height: 50vh;
    }
    .cs-lightbox-sidebar {
        border-left: none;
        border-top: 1px solid var(--cs-line, #e6d8cf);
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .cs-property-premium {
        padding: 118px 0 96px;
    }
    .cs-property-title-row {
        grid-template-columns: 1fr;
    }
    .cs-share-actions {
        justify-content: flex-start;
    }
    .cs-premium-gallery {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 20px;
    }
    .cs-gallery-main {
        aspect-ratio: 4 / 3;
    }
    .cs-gallery-side {
        grid-template-columns: repeat(4, 1fr);
        min-height: 86px;
    }
    .cs-gallery-side button {
        min-height: 86px;
    }
    .cs-gallery-all {
        right: 12px;
        bottom: 12px;
        left: 12px;
        justify-content: center;
        padding: 10px 13px;
        max-width: none;
        font-size: 12px;
        white-space: nowrap;
    }
    .cs-property-summary,
    .cs-financing-box,
    .cs-final-cta,
    .cs-owner-cta {
        display: block;
    }
    .cs-trust-seals {
        justify-content: flex-start;
        margin-top: 16px;
    }
    .cs-property-highlights,
    .cs-financing-grid,
    .cs-related-properties .cs-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cs-property-summary,
    .cs-property-section,
    .cs-financing-box,
    .cs-final-cta,
    .cs-owner-cta,
    .cs-conversion-card {
        border-radius: 20px;
        padding: 22px;
    }
    .cs-financing-box .th-btn,
    .cs-final-cta .th-btn,
    .cs-owner-cta .th-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .cs-lightbox-media {
        padding: 12px;
        min-height: 40vh;
    }
    .cs-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .cs-lightbox-nav.prev { left: 8px; }
    .cs-lightbox-nav.next { right: 8px; }
    .cs-lightbox-close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
    }
    .cs-mobile-conversion-bar {
        display: grid;
    }
    .cs-property-card__media img {
        height: 200px;
    }
    .cs-property-card__hover-bar {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 430px) {
    .cs-gallery-side {
        grid-template-columns: repeat(2, 1fr);
    }
    .cs-property-highlights,
    .cs-financing-grid {
        grid-template-columns: 1fr;
    }
    .cs-property-card__media img {
        height: 180px;
    }
    .cs-property-card__hover-bar button span {
        display: none;
    }
}

/* ========================================================================
   FASE HOME: Mobile fixes for Piller homepage (hero, header, sliders)
   ======================================================================== */

/* Hero mobile — responsive title sizing + proper spacing */
@media (max-width: 991px) {
    .hero-1 .hero-title {
        font-size: clamp(28px, 6vw, 42px);
        line-height: 1.12;
    }

    .hero-1 .hero-inner.hero-style1 {
        min-height: 540px;
        padding: 140px 0 60px;
    }

    .hero-1 .hero-1-content {
        text-align: center;
    }

    .hero-1 .hero-1-content .bottom {
        justify-content: center;
    }

    .hero-1 .hero-1-content .trust-content {
        justify-content: center;
    }

    .hero-1 .hero-1-content .btn-group {
        justify-content: center;
    }

    .hero-real-estate-code {
        text-align: center;
    }

    /* Slider nav arrows mobile */
    .hero-1 .slider-pagination-wrapper {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-1 .hero-inner.hero-style1 {
        min-height: 480px;
        padding: 120px 0 50px;
    }

    .hero-1 .hero-title {
        font-size: clamp(24px, 7vw, 32px);
    }

    .hero-1 .hero-1-content .bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-1 .hero-1-content .bottom .avatar {
        display: none;
    }

    .hero-real-estate-code {
        font-size: 13px;
    }

    /* Search area mobile */
    .search-area .search-wrap {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .search-area .select-group-wrapper {
        grid-template-columns: 1fr !important;
    }

    .search-area .nav-tabs.custom {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Section titles mobile */
    .sec-title {
        font-size: clamp(22px, 5.5vw, 30px);
    }

    /* Card slider arrows positioning */
    .popular-list-1 .thumb-wrapper .icon-wrap {
        bottom: 8px;
    }

    /* Gallery section mobile */
    .gallery-sec-1 .slider-area {
        padding: 0 16px;
    }

    /* Team card mobile */
    .team-card {
        text-align: center;
    }

    /* Blog card mobile */
    .cs-blog-card .blog-content {
        padding: 16px;
    }

    /* Slider arrow buttons mobile: ensure they're visible */
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 430px) {
    .hero-1 .hero-inner.hero-style1 {
        min-height: 440px;
        padding: 110px 0 40px;
    }

    .hero-1 .hero-title {
        font-size: 24px;
    }

    .hero-1 .th-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Filter tabs mobile stacking */
    .filter-menu .th-btn.tab-btn {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 375px) {
    .hero-1 .hero-inner.hero-style1 {
        min-height: 400px;
        padding: 100px 0 36px;
    }

    .hero-1 .hero-title {
        font-size: 22px;
    }
}

@media (max-width: 320px) {
    .hero-1 .hero-title {
        font-size: 20px;
    }

    .hero-1 .hero-inner.hero-style1 {
        min-height: 380px;
        padding: 95px 0 32px;
    }
}

/* Header hamburger toggle — ensure visible and properly sized on mobile */
@media (max-width: 991px) {
    .th-menu-toggle {
        font-size: 22px;
        width: 44px;
        height: 44px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-top {
        padding: 6px 0;
    }

    .header-layout1 .menu-area {
        padding: 8px 0;
    }
}

/* Ensure slider arrows don't overflow on mobile */
@media (max-width: 767px) {
    .slider-area {
        position: relative;
    }

    .slider-area .slider-arrow.slider-prev {
        left: 0;
    }

    .slider-area .slider-arrow.slider-next {
        right: 0;
    }
}

/* ========================================================================
   FASE PAGES: Logo fix for inner pages
   ======================================================================== */

/* Inner pages: show dark logo, hide white logo (background is light) */
.header-layout1.header-inner .cs-logo .cs-logo-img-light {
    display: none;
}

.header-layout1.header-inner .cs-logo .cs-logo-img-dark {
    display: block;
}

/* ========================================================================
   FASE HOME: Team section — real photos
   ======================================================================== */

.team-card .team-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 767px) {
    .team-card .team-img img {
        height: 240px;
    }
}

@media (max-width: 430px) {
    .team-card .team-img img {
        height: 220px;
    }
}

/* ========================================================================
   FASE PAGES: Compact floating contact buttons (desktop)
   ======================================================================== */

.cs-floating-contacts {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.cs-floating-contact-btn {
    display: flex;
    align-items: center;
    gap: 0;
    height: 48px;
    padding: 0;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 999px;
    background: var(--cs-secondary-light, #f4ece5);
    color: var(--cs-wine-dark, #6f0012);
    box-shadow: 0 8px 24px rgba(58, 20, 27, .12);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.cs-floating-contact-btn:hover {
    border-color: #dac9bf;
    background: #efe2d8;
    color: var(--cs-wine-dark, #6f0012);
    box-shadow: 0 14px 36px rgba(58, 20, 27, .18);
}

.cs-floating-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 999px;
    background: var(--cs-wine, #960018);
    color: #fff;
    font-size: 18px;
    transition: background .2s ease;
}

.cs-floating-contact-btn:hover .cs-floating-contact-icon {
    background: var(--cs-wine-dark, #6f0012);
}

.cs-floating-contact-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    opacity: 0;
    transition: max-width .3s ease, padding .3s ease, opacity .25s ease;
}

.cs-floating-contact-btn:hover .cs-floating-contact-label,
.cs-floating-contact-btn:focus-visible .cs-floating-contact-label {
    max-width: 200px;
    padding: 0 16px 0 10px;
    opacity: 1;
}

.cs-floating-contact-btn:focus-visible {
    outline: 2px solid var(--cs-wine);
    outline-offset: 2px;
}

.has-mobile-bar .cs-floating-contacts {
    bottom: 84px;
}

/* Mobile: hide compact buttons, keep FAB from whatsapp-floating partial */
@media (max-width: 767px) {
    .cs-floating-contacts {
        display: none;
    }
}

/* ========================================================================
   FASE HOME 2: Video section, card images, footer icons, Android card
   ======================================================================== */

/* YouTube video embed — responsive 16:9 */
.cs-video-section {
    background: var(--cs-paper, #fbf7f2);
}

.cs-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(58, 20, 27, .14);
    background: #1a1a1a;
}

.cs-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .cs-video-embed {
        border-radius: 14px;
    }

    .cs-video-section .btn-group {
        flex-direction: column;
        gap: 10px;
    }

    .cs-video-section .th-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Card image height — premium proportions */
@media (max-width: 767px) {
    .cs-piller-home .popular-list-1 .thumb-wrapper {
        height: 200px;
    }
}

@media (max-width: 430px) {
    .cs-piller-home .popular-list-1 .thumb-wrapper {
        height: 180px;
    }
}

/* Footer icons */
.cs-footer-icon {
    width: 18px;
    text-align: center;
    margin-right: 6px;
    font-size: 13px;
    opacity: .7;
}

/* Android App card in footer */
.cs-app-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
}

.cs-app-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: #a4c639;
    font-size: 22px;
}

.cs-app-card__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.cs-app-card__text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .7);
}

.cs-app-card__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(164, 198, 57, .15);
    color: #a4c639;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

@media (max-width: 767px) {
    .cs-app-card {
        padding: 14px 16px;
    }
}

/* ================================================================
   FASE LISTAGEM — Catálogo Premium
   ================================================================ */

/* --- Filter Drawer --- */
.cs-filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 1050;
    pointer-events: none;
    visibility: hidden;
}
.cs-filter-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}
.cs-filter-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    transition: opacity .3s ease;
}
.cs-filter-drawer.is-open .cs-filter-drawer__overlay {
    opacity: 1;
}
.cs-filter-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    max-width: 92vw;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 8px 0 30px rgba(0, 0, 0, .12);
}
.cs-filter-drawer.is-open .cs-filter-drawer__panel {
    transform: translateX(0);
}
.cs-filter-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--cs-line, #e6d8cf);
    flex-shrink: 0;
}
.cs-filter-drawer__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--cs-wine, #960018);
}
.cs-filter-drawer__title i {
    margin-right: 8px;
}
.cs-filter-drawer__close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: none;
    background: var(--cs-paper, #fbf7f2);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--cs-wine, #960018);
    transition: background .2s;
}
.cs-filter-drawer__close:hover {
    background: var(--cs-champagne, #f4ece5);
}
.cs-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px 30px;
    -webkit-overflow-scrolling: touch;
}
.cs-filter-group {
    margin-bottom: 18px;
}
.cs-filter-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.cs-filter-select,
.cs-filter-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.cs-filter-select:focus,
.cs-filter-input:focus {
    border-color: var(--cs-wine, #960018);
    box-shadow: 0 0 0 3px rgba(150, 0, 24, .1);
    outline: none;
}
.cs-filter-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.cs-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Filter Chips (radio buttons styled as chips) */
.cs-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cs-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 99px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.cs-chip input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cs-chip:hover {
    border-color: var(--cs-wine, #960018);
    color: var(--cs-wine, #960018);
}
.cs-chip.is-active {
    background: var(--cs-wine, #960018);
    border-color: var(--cs-wine, #960018);
    color: #fff;
}

/* Filter Actions */
.cs-filter-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.cs-filter-clear {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
    transition: color .2s;
}
.cs-filter-clear:hover {
    color: var(--cs-wine, #960018);
}

/* --- Listing Section --- */
.cs-listing-section {
    padding-top: 30px;
    padding-bottom: 60px;
}

/* --- Catalog Toolbar --- */
.cs-catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.cs-catalog-toolbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cs-catalog-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cs-btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    transition: all .2s;
}
.cs-btn-filter:hover {
    border-color: var(--cs-wine, #960018);
    color: var(--cs-wine, #960018);
}
.cs-btn-filter i {
    font-size: 15px;
}
.cs-btn-filter__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 99px;
    background: var(--cs-wine, #960018);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}
.cs-catalog-count {
    font-size: 14px;
    color: #666;
}
.cs-catalog-count strong {
    color: #333;
    font-weight: 700;
}

/* Sort */
.cs-sort-wrap {
    position: relative;
}
.cs-sort-select {
    min-width: 160px;
    height: 38px;
    font-size: 13px;
    border-radius: 8px;
}

/* View Toggle */
.cs-view-toggle {
    display: inline-flex;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 8px;
    overflow: hidden;
}
.cs-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 36px;
    border: none;
    background: #fff;
    color: #999;
    cursor: pointer;
    transition: all .2s;
    font-size: 14px;
}
.cs-view-btn + .cs-view-btn {
    border-left: 1px solid var(--cs-line, #e6d8cf);
}
.cs-view-btn:hover {
    color: var(--cs-wine, #960018);
    background: var(--cs-paper, #fbf7f2);
}
.cs-view-btn.is-active {
    background: var(--cs-wine, #960018);
    color: #fff;
}

/* --- Active Filter Tags --- */
.cs-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.cs-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-radius: 99px;
    background: var(--cs-paper, #fbf7f2);
    border: 1px solid var(--cs-line, #e6d8cf);
    font-size: 12px;
    font-weight: 600;
    color: #555;
}
.cs-filter-tag button {
    border: none;
    background: none;
    padding: 0;
    font-size: 15px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    transition: color .2s;
}
.cs-filter-tag button:hover {
    color: var(--cs-wine, #960018);
}
.cs-filter-tag--clear {
    background: transparent;
    border-color: transparent;
    color: var(--cs-wine, #960018);
    text-decoration: underline;
    cursor: pointer;
}

/* --- Grid View (improved) --- */
.cs-view-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* --- List View --- */
.cs-list-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cs-card-list {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(50, 24, 29, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cs-card-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(50, 24, 29, .1);
}
.cs-card-list__image {
    position: relative;
    overflow: hidden;
}
.cs-card-list__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
}
.cs-card-list__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: var(--cs-paper, #fbf7f2);
    color: #ccc;
    font-size: 48px;
}
.cs-card-list__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 99px;
    background: rgba(122, 0, 19, .92);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.cs-card-list__photos {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 3px 10px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.cs-card-list__body {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
}
.cs-card-list__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.cs-card-list__code {
    font-size: 12px;
    font-weight: 700;
    color: var(--cs-wine, #960018);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.cs-card-list__highlight {
    font-size: 11px;
    font-weight: 700;
    color: #d4a017;
}
.cs-card-list__highlight i {
    margin-right: 3px;
}
.cs-card-list__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.cs-card-list__title a {
    color: #222;
    text-decoration: none;
}
.cs-card-list__title a:hover {
    color: var(--cs-wine, #960018);
}
.cs-card-list__location {
    font-size: 13px;
    color: #888;
    margin: 0 0 12px;
}
.cs-card-list__location i {
    margin-right: 4px;
    color: var(--cs-wine, #960018);
    font-size: 12px;
}
.cs-card-list__features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    font-size: 13px;
    color: #666;
}
.cs-card-list__features li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.cs-card-list__features i {
    color: var(--cs-wine, #960018);
    font-size: 13px;
    opacity: .7;
}
.cs-card-list__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--cs-line, #e6d8cf);
}
.cs-card-list__price {
    font-size: 20px;
    font-weight: 800;
    color: var(--cs-wine, #960018);
}
.cs-card-list__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cs-card-list__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 18px;
    transition: transform .2s, box-shadow .2s;
}
.cs-card-list__whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, .4);
    color: #fff;
}

/* --- Map View --- */
.cs-map-view {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 0;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 12px;
    overflow: hidden;
    height: 620px;
}
.cs-map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--cs-paper, #fbf7f2);
}
.cs-map-sidebar {
    height: 100%;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border-left: 1px solid var(--cs-line, #e6d8cf);
}
.cs-map-sidebar .popular-list-1 {
    flex-shrink: 0;
}

/* --- Pagination --- */
.cs-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.cs-pagination__info {
    font-size: 13px;
    color: #888;
}
.cs-pagination__buttons {
    display: flex;
    gap: 8px;
}
.cs-pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all .2s;
}
.cs-pagination__btn:hover:not(.is-disabled) {
    border-color: var(--cs-wine, #960018);
    color: var(--cs-wine, #960018);
}
.cs-pagination__btn--primary {
    background: var(--cs-wine, #960018);
    border-color: var(--cs-wine, #960018);
    color: #fff;
}
.cs-pagination__btn--primary:hover:not(.is-disabled) {
    background: var(--cs-wine-dark, #6f0012);
    border-color: var(--cs-wine-dark, #6f0012);
    color: #fff;
}
.cs-pagination__btn.is-disabled {
    opacity: .4;
    cursor: default;
    pointer-events: none;
}

/* --- Empty State --- */
.cs-empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}
.cs-empty-state__icon {
    font-size: 48px;
    color: var(--cs-line, #e6d8cf);
    margin-bottom: 16px;
}
.cs-empty-state__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #333;
}
.cs-empty-state__text {
    font-size: 15px;
    color: #888;
    margin: 0 0 24px;
}
.cs-empty-state__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Body lock when drawer is open --- */
body.cs-drawer-open {
    overflow: hidden;
}

/* ================================================================
   FASE LISTAGEM — Responsive
   ================================================================ */

@media (max-width: 1199px) {
    .cs-view-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cs-map-view {
        grid-template-columns: minmax(0, 1fr) 320px;
        height: 550px;
    }
}

@media (max-width: 991px) {
    .cs-view-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cs-card-list {
        grid-template-columns: 240px minmax(0, 1fr);
    }
    .cs-map-view {
        grid-template-columns: 1fr;
        height: auto;
    }
    .cs-map-container {
        height: 350px;
    }
    .cs-map-sidebar {
        border-left: none;
        border-top: 1px solid var(--cs-line, #e6d8cf);
        height: auto;
        max-height: 400px;
    }
}

@media (max-width: 767px) {
    .cs-listing-section {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    .cs-catalog-toolbar {
        gap: 10px;
    }
    .cs-catalog-toolbar__left {
        flex: 1;
    }
    .cs-catalog-count {
        font-size: 13px;
    }
    .cs-sort-wrap {
        display: none;
    }
    .cs-view-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cs-card-list {
        grid-template-columns: 1fr;
    }
    .cs-card-list__image img {
        min-height: 180px;
        max-height: 220px;
    }
    .cs-card-list__price {
        font-size: 17px;
    }
    .cs-map-view {
        border-radius: 8px;
    }
    .cs-map-container {
        height: 280px;
    }
    .cs-map-sidebar {
        max-height: 320px;
        padding: 10px;
    }
    .cs-pagination {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cs-pagination__buttons {
        justify-content: center;
    }
    .cs-filter-drawer__panel {
        width: 100%;
        max-width: 100%;
    }
    .cs-active-filters {
        margin-bottom: 14px;
    }
}

@media (max-width: 430px) {
    .cs-btn-filter span {
        display: none;
    }
    .cs-btn-filter {
        padding: 0 12px;
    }
    .cs-view-btn {
        width: 34px;
        height: 34px;
    }
    .cs-card-list__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ================================================================
   FASE REFINAMENTO: Contrast & Hover Fixes
   ================================================================ */

/* Ensure all icons/text on wine backgrounds are white */
.th-btn i,
.th-btn .fab,
.th-btn .fas,
.th-btn .far,
.th-btn .fal {
    color: inherit;
}

/* WhatsApp button always green icon on wine bg */
.th-btn .fa-whatsapp {
    color: inherit;
}

/* Filter tab active state: white text */
.filter-menu .th-btn.tab-btn.active i,
.filter-menu .th-btn.tab-btn.active span {
    color: #fff;
}

/* Footer: links hover contrast */
.footer-wrapper.cs-footer a:hover {
    color: #fff;
    opacity: 1;
}

/* Footer icons: always slightly transparent white */
.cs-footer-icon {
    color: rgba(255, 255, 255, .7) !important;
}

/* Card CTA hover — ensure wine text stays visible */
.cs-property-card__cta:hover {
    color: var(--cs-wine-dark, #6f0012);
}

/* Badge on card: white text guaranteed */
.cs-property-card__badge,
.popular-badge,
.media-tag {
    color: #fff !important;
}

/* Lightbox close/nav buttons hover */
.cs-lightbox-close:hover,
.cs-lightbox-nav:hover {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.4);
}

/* Mobile conversion bar: ensure white text on wine buttons */
.cs-mobile-conversion-bar a:first-child {
    color: #fff !important;
}
.cs-mobile-conversion-bar a:first-child i {
    color: #fff !important;
}

/* Conversion card buttons hover */
.cs-conversion-card .th-btn:hover {
    background: var(--cs-wine-dark) !important;
    border-color: var(--cs-wine-dark) !important;
    color: #fff !important;
}

/* Trust seals icons */
.cs-trust-seals i {
    color: var(--cs-wine);
}

/* Characteristic chips wine variant: white icon */
.cs-char-chip--wine i {
    color: #fff !important;
}

/* Slider arrows hover */
.slider-arrow:hover {
    background: var(--cs-wine) !important;
    color: #fff !important;
    border-color: var(--cs-wine) !important;
}

/* Search area submit button icon white */
.search-area .th-btn i,
.search-area .th-btn .fa-magnifying-glass {
    color: inherit;
}

/* Copyright footer heart icon */
.copyright-text .fal {
    color: rgba(255,255,255,.7);
}

/* ================================================================
   FASE REFINAMENTO v2: Hero height + search overlap + polish
   ================================================================ */

/* Desktop Full HD: hero 650-800px */
.cs-piller-home .hero-inner.hero-style1 {
    min-height: 680px !important;
    max-height: 800px !important;
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
}

/* Hero gradient — richer overlay */
.cs-piller-home .hero-inner::before {
    background: linear-gradient(
        100deg,
        rgba(21, 7, 10, .92) 0%,
        rgba(73, 0, 15, .65) 45%,
        rgba(35, 12, 16, .40) 100%
    ) !important;
}

/* Search area: overlap hero, card-like appearance */
.cs-piller-home .search-area {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.cs-piller-home .search-area .search-wrap {
    position: relative;
    border-radius: 20px;
    padding: 28px 32px 24px;
    box-shadow: 0 8px 32px rgba(73, 0, 15, .10), 0 2px 8px rgba(0, 0, 0, .06) !important;
    border: 1px solid rgba(150, 0, 24, .08) !important;
    border-top: 3px solid var(--cs-wine) !important;
}

/* Red tab connector between hero and search */
.cs-piller-home .search-area .search-wrap::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 15px;
    background: var(--cs-wine);
    border-radius: 8px 8px 0 0;
}

/* Search tabs: wine pill style */
.search-area .nav-tabs.custom {
    border: none;
    gap: 4px;
    margin-bottom: 20px;
}

.search-area .nav-tabs.custom .nav-link {
    border: 1px solid var(--cs-line) !important;
    border-radius: 30px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s ease;
}

.search-area .nav-tabs.custom .nav-link:hover {
    border-color: var(--cs-wine) !important;
    color: var(--cs-wine) !important;
}

.search-area .nav-tabs.custom .nav-link.active {
    border-color: var(--cs-wine) !important;
    box-shadow: 0 2px 8px rgba(150, 0, 24, .18);
}

/* Search form grid alignment */
.search-area .select-group-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: end;
}

.search-area .form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--cs-wine);
    margin-bottom: 4px;
}

.search-area .form-control,
.search-area .form-select,
.search-area .nice-select {
    border-radius: 10px !important;
    height: 46px;
    font-size: 14px;
}

/* Submit button in search */
.search-area .advance-btn-wrapper .th-btn {
    border-radius: 10px;
    height: 46px;
    font-weight: 700;
}

/* Notebook 1366 */
@media (max-width: 1366px) {
    .cs-piller-home .hero-inner.hero-style1 {
        min-height: 620px !important;
        max-height: 720px !important;
        padding-top: 140px;
    }

    .main-menu > ul > li > a {
        padding: 0 10px !important;
        font-size: 14px !important;
    }

    .header-layout1 .sticky-wrapper .th-btn {
        padding: 8px 18px;
        font-size: 13px;
        min-height: 38px;
    }

    .cs-piller-home .hero-title {
        font-size: clamp(32px, 3.2vw, 48px);
    }
}

/* Tablet 1024 */
@media (max-width: 1024px) {
    .cs-piller-home .hero-inner.hero-style1 {
        min-height: 560px !important;
        max-height: 680px !important;
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .cs-piller-home .search-area {
        margin-top: -48px;
    }

    .cs-piller-home .search-area .search-wrap {
        padding: 22px 24px 20px;
    }
}

/* Mobile 767 */
@media (max-width: 767px) {
    .cs-piller-home .search-area {
        margin-top: -40px;
    }

    .cs-piller-home .search-area .search-wrap {
        padding: 20px 16px 18px;
        border-radius: 16px;
    }

    .search-area .select-group-wrapper {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .search-area .nav-tabs.custom {
        justify-content: center;
    }

    .search-area .nav-tabs.custom .nav-link {
        padding: 7px 16px;
        font-size: 13px;
    }
}

/* Small mobile 430 */
@media (max-width: 430px) {
    .cs-piller-home .search-area {
        margin-top: -32px;
    }
}

/* ================================================================
   FASE REFINAMENTO: Institutional pages premium layout
   ================================================================ */

/* Page hero for inner pages using new layout */
.cs-inner-hero {
    padding: 160px 0 48px;
    background:
        linear-gradient(90deg, rgba(73, 0, 15, .88), rgba(73, 0, 15, .55)),
        url("../img/bg/breadcrumb-bg.jpg") center/cover no-repeat;
    color: #fff;
}
.cs-inner-hero .cs-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 14px;
    border-radius: 99px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.cs-inner-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 8px;
}
.cs-inner-hero p {
    color: rgba(255,255,255,.8);
    font-size: 16px;
    margin: 0;
    max-width: 600px;
}
.cs-inner-hero .cs-breadcrumb {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
}
.cs-inner-hero .cs-breadcrumb a {
    color: rgba(255,255,255,.85);
}
.cs-inner-hero .cs-breadcrumb a:hover {
    color: #fff;
}

/* Content card for legal/institutional pages */
.cs-content-card {
    max-width: 860px;
    margin: -30px auto 60px;
    padding: 40px 48px;
    background: #fff;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 20px;
    box-shadow: 0 20px 54px rgba(58, 20, 27, .1);
    position: relative;
    z-index: 2;
}
.cs-content-card h2 {
    color: var(--cs-primary, #6f0012);
    font-size: 22px;
    margin: 28px 0 12px;
    line-height: 1.2;
}
.cs-content-card h2:first-child {
    margin-top: 0;
}
.cs-content-card p {
    color: rgba(36, 31, 32, .8);
    font-size: 16px;
    line-height: 1.8;
}
.cs-content-card .feature-grid {
    margin: 16px 0;
}

@media (max-width: 767px) {
    .cs-inner-hero {
        padding: 130px 0 36px;
    }
    .cs-content-card {
        margin: -20px 16px 40px;
        padding: 28px 24px;
        border-radius: 16px;
    }
}

/* Developments grid */
.cs-dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding: 40px 0 60px;
}
.cs-dev-card {
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 16px;
    background: #fff;
    padding: 28px;
    box-shadow: 0 12px 34px rgba(50, 24, 29, .06);
    transition: transform .2s, box-shadow .2s;
}
.cs-dev-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(50, 24, 29, .12);
}
.cs-dev-card__type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--cs-champagne, #f4ece5);
    color: var(--cs-wine, #960018);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
}
.cs-dev-card h3 {
    font-size: 20px;
    margin: 0 0 6px;
    color: var(--cs-primary, #6f0012);
}
.cs-dev-card__location {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}
.cs-dev-card__location i {
    color: var(--cs-wine, #960018);
    margin-right: 4px;
}
.cs-dev-card__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--cs-wine, #960018);
    margin-bottom: 12px;
}
.cs-dev-card__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}
.cs-dev-card .th-btn {
    width: 100%;
    justify-content: center;
}

/* ================================================================
   FASE REFINAMENTO: Client Area Login
   ================================================================ */
.cs-login-section {
    padding: 40px 0 80px;
    background: var(--cs-paper, #fbf7f2);
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
}
.cs-login-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    max-width: 1060px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(58, 20, 27, .12);
}
.cs-login-image {
    position: relative;
    min-height: 580px;
    background: center/cover no-repeat;
}
.cs-login-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(73, 0, 15, .6), rgba(0,0,0,.2));
}
.cs-login-image__brand {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 1;
    color: #fff;
}
.cs-login-image__brand img {
    width: 140px;
    margin-bottom: 10px;
}
.cs-login-image__brand p {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    max-width: 280px;
    line-height: 1.5;
}
.cs-login-form-wrap {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cs-login-form-wrap h1 {
    font-size: 28px;
    color: var(--cs-primary, #6f0012);
    margin: 0 0 8px;
}
.cs-login-form-wrap .cs-login-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0 0 28px;
    line-height: 1.5;
}
.cs-login-form {
    display: grid;
    gap: 16px;
}
.cs-login-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}
.cs-login-form input[type="email"],
.cs-login-form input[type="text"],
.cs-login-form input[type="password"],
.cs-login-form input[type="tel"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 12px;
    background: var(--cs-paper, #fbf7f2);
    font-size: 15px;
    font-family: inherit;
    color: #333;
    transition: border-color .2s, box-shadow .2s;
}
.cs-login-form input:focus {
    border-color: var(--cs-wine, #960018);
    box-shadow: 0 0 0 3px rgba(150, 0, 24, .1);
    outline: none;
}
.cs-login-form .th-btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    font-size: 15px;
    border-radius: 12px;
}
.cs-login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 4px 0;
    color: #bbb;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}
.cs-login-divider::before,
.cs-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--cs-line, #e6d8cf);
}
.cs-login-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.cs-login-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border: 1px solid var(--cs-line, #e6d8cf);
    border-radius: 12px;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.cs-login-social-btn:hover {
    border-color: #ccc;
    background: var(--cs-paper, #fbf7f2);
    color: #333;
}
.cs-login-social-btn .fab {
    font-size: 18px;
}
.cs-login-social-btn .fa-google {
    color: #4285f4;
}
.cs-login-social-btn .fa-mobile-alt,
.cs-login-social-btn .fa-mobile-screen {
    color: var(--cs-wine, #960018);
}
.cs-login-social-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}
.cs-login-social-btn[disabled]:hover {
    background: #fff;
    border-color: var(--cs-line, #e6d8cf);
}
.cs-login-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 6px;
    font-size: 13px;
}
.cs-login-links a {
    color: var(--cs-wine, #960018);
    font-weight: 600;
}
.cs-login-links a:hover {
    color: var(--cs-wine-dark, #6f0012);
}
.cs-login-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--cs-champagne, #f4ece5);
    color: var(--cs-wine, #960018);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 4px;
}

@media (max-width: 991px) {
    .cs-login-grid {
        grid-template-columns: 1fr;
    }
    .cs-login-image {
        min-height: 260px;
    }
}
@media (max-width: 767px) {
    .cs-login-form-wrap {
        padding: 32px 24px;
    }
    .cs-login-image {
        min-height: 200px;
    }
    .cs-login-social {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   FASE CORREÇÕES: Numbered Pagination
   ================================================================ */
.cs-pagination__numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.cs-pagination__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--cs-wine, #960018);
    background: var(--cs-paper, #fbf7f2);
    border: 1px solid var(--cs-line, #e6d8cf);
    text-decoration: none;
    transition: all .2s ease;
}
.cs-pagination__num:hover {
    background: var(--cs-champagne, #f4ece5);
    border-color: var(--cs-wine, #960018);
    color: var(--cs-wine, #960018);
}
.cs-pagination__num.is-active {
    background: var(--cs-wine, #960018);
    color: #fff;
    border-color: var(--cs-wine, #960018);
    pointer-events: none;
}
.cs-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 40px;
    font-size: 16px;
    color: rgba(36,31,32,.4);
    letter-spacing: 2px;
}
.cs-pagination__numbers .cs-pagination__btn {
    min-width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    color: var(--cs-wine, #960018);
    background: var(--cs-paper, #fbf7f2);
    border: 1px solid var(--cs-line, #e6d8cf);
    text-decoration: none;
    transition: all .2s ease;
}
.cs-pagination__numbers .cs-pagination__btn:hover:not(.is-disabled) {
    background: var(--cs-champagne, #f4ece5);
    border-color: var(--cs-wine, #960018);
}
.cs-pagination__numbers .cs-pagination__btn.is-disabled {
    opacity: .35;
    pointer-events: none;
}

/* ================================================================
   FASE CORREÇÕES: AJAX Loader Overlay
   ================================================================ */
.cs-results-loader {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251,247,242,.82);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    transition: opacity .25s ease;
}
.cs-results-loader__inner {
    text-align: center;
    padding: 32px;
}
.cs-results-loader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--cs-line, #e6d8cf);
    border-top-color: var(--cs-wine, #960018);
    border-radius: 50%;
    animation: csLoaderSpin .7s linear infinite;
    margin: 0 auto 12px;
}
@keyframes csLoaderSpin {
    to { transform: rotate(360deg); }
}
.cs-results-loader__text {
    font-size: 14px;
    font-weight: 600;
    color: var(--cs-wine, #960018);
    margin: 0;
}
#properties-results {
    position: relative;
}

/* ================================================================
   FASE REFINAMENTO: Footer — remove theme default home icon
   ================================================================ */
.footer-widget .widget_nav_menu .menu li a::before,
.footer-widget .menu-all-pages-container .menu li a::before {
    display: none !important;
    content: none !important;
}

/* ================================================================
   FASE 2: Favorites & Compare
   ================================================================ */
.cs-fav-btn,
.cs-property-card__fav {
    transition: color 0.2s, transform 0.2s;
}
.cs-fav-btn.is-favorited,
.cs-property-card__fav.is-favorited {
    color: #e53e3e !important;
}
.cs-fav-btn.is-favorited i,
.cs-property-card__fav.is-favorited i {
    color: #e53e3e !important;
}

.cs-nav-fav {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cs-fav-count {
    background: #e53e3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Compare bar */
.cs-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #073f35;
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    display: none;
}
.cs-compare-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cs-compare-bar__info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.cs-compare-bar__actions {
    display: flex;
    gap: 8px;
}
.cs-compare-bar__actions .th-btn {
    padding: 8px 20px;
    font-size: 14px;
}
[data-compare-toggle].is-comparing {
    background: #073f35 !important;
    color: #fff !important;
    border-color: #073f35 !important;
}

/* Favorites empty state */
.cs-empty-state {
    text-align: center;
    padding: 60px 20px;
}
.cs-empty-state h2 {
    margin-bottom: 8px;
}
.cs-empty-state p {
    margin-bottom: 24px;
    color: #666;
}

/* ===== Floating Compare Bar ===== */
.cs-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #1a1a2e;
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.25);
    transition: transform .3s ease;
}
.cs-compare-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cs-compare-bar__inner span {
    font-size: 15px;
}
.cs-compare-bar__actions {
    display: flex;
    gap: 10px;
}
.cs-compare-bar .th-btn.pill {
    padding: 8px 20px;
    font-size: 14px;
}
@media (max-width: 767px) {
    .cs-compare-bar__inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .cs-compare-bar__inner span {
        font-size: 13px;
    }
    .cs-compare-bar .th-btn.pill {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* ===== Compare Button on Property Show ===== */
.cs-compare-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    font-size: 16px;
    transition: all .2s;
}
.cs-compare-btn:hover,
.cs-compare-btn.is-comparing {
    background: #960018;
    color: #fff;
    border-color: #960018;
}

/* ===== Comparison Table ===== */
.cs-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
}
.cs-compare-table {
    min-width: 600px;
}
.cs-compare-row {
    display: flex;
    border-bottom: 1px solid #eee;
}
.cs-compare-row:nth-child(even) {
    background: #fafafa;
}
.cs-compare-label {
    flex: 0 0 160px;
    padding: 12px 16px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.cs-compare-cell {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    min-width: 160px;
}
.cs-compare-na {
    color: #ccc;
}

/* Compare: Photos row */
.cs-compare-row--photos {
    border-bottom: 2px solid #960018;
}
.cs-compare-photo {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}
.cs-compare-photo img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}
.cs-compare-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background .2s;
}
.cs-compare-remove:hover {
    background: #960018;
}
.cs-compare-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}
.cs-compare-title a {
    color: #1a1a2e;
    text-decoration: none;
}
.cs-compare-title a:hover {
    color: #960018;
}

/* Compare: Features row */
.cs-compare-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-compare-features-list li {
    font-size: 13px;
    padding: 2px 0;
    color: #555;
}
.cs-compare-features-list li i {
    color: #960018;
    margin-right: 6px;
    font-size: 11px;
}

/* Compare: CTA row */
.cs-compare-row--cta {
    border-bottom: none;
    padding-top: 8px;
}
.cs-compare-row--cta .cs-compare-cell {
    padding-top: 16px;
}

/* Compare: hover-bar button active state */
.cs-property-card__hover-bar button.is-comparing {
    color: #960018;
    font-weight: 600;
}

@media (max-width: 767px) {
    .cs-compare-label {
        flex: 0 0 110px;
        padding: 8px 10px;
        font-size: 13px;
    }
    .cs-compare-cell {
        padding: 8px 10px;
        font-size: 13px;
        min-width: 130px;
    }
    .cs-compare-photo img {
        height: 120px;
    }
}

/* ===== Client Area Hub ===== */
.cs-hub-intro {
    text-align: center;
    margin-bottom: 40px;
}
.cs-hub-intro h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.cs-hub-intro p {
    color: #666;
    font-size: 16px;
}
.cs-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.cs-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all .25s ease;
}
.cs-hub-card:hover {
    border-color: #960018;
    box-shadow: 0 8px 30px rgba(150, 0, 24, .1);
    transform: translateY(-4px);
    color: #333;
}
.cs-hub-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f8f0f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #960018;
    margin-bottom: 16px;
    transition: all .25s;
}
.cs-hub-card:hover .cs-hub-card__icon {
    background: #960018;
    color: #fff;
}
.cs-hub-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}
.cs-hub-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}
.cs-hub-card__link {
    font-size: 14px;
    font-weight: 600;
    color: #960018;
    margin-top: auto;
}
.cs-hub-card__link i {
    margin-left: 4px;
    transition: margin-left .2s;
}
.cs-hub-card:hover .cs-hub-card__link i {
    margin-left: 8px;
}
.cs-hub-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 14px;
    color: #614700;
}
.cs-hub-notice i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.cs-hub-notice p {
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 991px) {
    .cs-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .cs-hub-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cs-hub-card {
        padding: 24px 20px;
    }
}

/* ===== Blog Layout ===== */
.cs-blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
.cs-blog-main {
    min-width: 0;
}
.cs-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.cs-blog-card__excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Blog Sidebar */
.cs-blog-sidebar {
    position: sticky;
    top: 100px;
}
.cs-blog-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}
.cs-blog-widget__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #960018;
}
.cs-blog-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cs-blog-widget__list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}
.cs-blog-widget__list li:last-child {
    border-bottom: none;
}
.cs-blog-widget__list li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}
.cs-blog-widget__list li a:hover,
.cs-blog-widget__list li.is-active a {
    color: #960018;
    font-weight: 600;
}

/* Blog Article */
.cs-blog-article__image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.cs-blog-article__image img {
    width: 100%;
    height: auto;
    display: block;
}
.cs-blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.cs-blog-article__meta a {
    color: #888;
    text-decoration: none;
}
.cs-blog-article__meta a:hover {
    color: #960018;
}
.cs-blog-article__meta i {
    margin-right: 4px;
}
.cs-blog-article__content {
    margin-bottom: 32px;
}
.cs-blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.cs-tag-chip {
    display: inline-block;
    padding: 4px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: all .2s;
}
.cs-tag-chip:hover {
    background: #960018;
    color: #fff;
}
.cs-blog-article__share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}
.cs-blog-article__share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 16px;
    text-decoration: none;
    transition: all .2s;
}
.cs-blog-article__share a:hover {
    background: #960018;
    color: #fff;
}
.cs-blog-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #eee;
}
.cs-blog-related h2 {
    font-size: 22px;
    margin-bottom: 24px;
}
.cs-pagination {
    margin-top: 16px;
}

@media (max-width: 991px) {
    .cs-blog-layout {
        grid-template-columns: 1fr;
    }
    .cs-blog-sidebar {
        position: static;
    }
}
@media (max-width: 575px) {
    .cs-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Google Reviews Section
   ================================================================ */

/* ======== GOOGLE REVIEWS — ISOLADO ======== */
.csrev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.csrev-card {
    all: unset;
    display: block;
    box-sizing: border-box;
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    border: 1px solid #e8e4e0;
}
.csrev-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.csrev-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.csrev-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #7a2131;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}
.csrev-info {
    flex: 1;
    min-width: 0;
}
.csrev-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #14212b;
    line-height: 1.3;
    margin: 0;
}
.csrev-stars {
    display: block;
    color: #FBBC04;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 2px;
}
.csrev-glogo {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #4285F4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Product Sans', Arial, sans-serif;
    line-height: 1;
}
.csrev-body {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    padding: 0;
    font-style: italic;
}
@media (max-width: 1199px) {
    .csrev-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .csrev-grid { grid-template-columns: 1fr; }
}
/* ======== /GOOGLE REVIEWS ======== */

/* Profiles section — moved from testimonials area */
.cs-profile-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(58, 20, 27, .08);
    border: 1px solid var(--cs-line);
    text-align: center;
    transition: box-shadow .25s ease, transform .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs-profile-card:hover {
    box-shadow: 0 8px 32px rgba(58, 20, 27, .14);
    transform: translateY(-2px);
}

.cs-profile-card__icon {
    color: var(--cs-wine);
    margin-bottom: 16px;
}

.cs-profile-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 12px;
}

.cs-profile-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.cs-profile-card__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--body-color);
    line-height: 1.5;
}

.cs-profile-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cs-wine);
    font-weight: 700;
}

.cs-profile-card .th-btn {
    margin-top: auto;
}

/* ======== CADASTRE SEU IMÓVEL — LANDING PAGE ======== */
.csi-hero-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    gap: 36px;
    align-items: start;
}
.csi-headline {
    font-size: 28px;
    font-weight: 700;
    color: #14212b;
    line-height: 1.3;
    margin: 0 0 12px;
}
.csi-subheadline {
    font-size: 16px;
    color: #7a2131;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 16px;
}
.csi-body-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 10px;
}
.csi-benefits {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.csi-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}
.csi-benefit svg {
    flex-shrink: 0;
}
.csi-social-proof {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e8e4e0;
}
.csi-social-proof-title {
    font-size: 15px;
    font-weight: 700;
    color: #14212b;
    margin: 0 0 14px;
}
.csi-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.csi-proof-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f6f4;
    border-radius: 8px;
    padding: 10px 12px;
}
.csi-proof-card strong {
    font-size: 13px;
    color: #14212b;
}
.csi-col-form .lead-panel {
    position: static !important;
}
.csi-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.csi-form-hint {
    font-size: 13px;
    color: #666;
    margin: 14px 0 0;
    text-align: center;
}
.csi-form-disclaimer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 8px 0 0;
}
.csi-sede-img {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.csi-col-image {
    position: sticky;
    top: 100px;
}
.csi-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}
.csi-info-card {
    background: #fff;
    border: 1px solid #e8e4e0;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
}
.csi-info-card svg {
    margin-bottom: 12px;
}
.csi-info-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #14212b;
    margin: 0 0 8px;
}
.csi-info-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.csi-contact-strip {
    text-align: center;
    padding: 24px;
    background: #f8f6f4;
    border-radius: 12px;
}
.csi-contact-strip p {
    font-size: 14px;
    color: #555;
    margin: 0 0 12px;
}
.csi-contact-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.csi-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #7a2131;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #7a2131;
    border-radius: 50px;
    transition: background .2s, color .2s;
}
.csi-contact-link:hover {
    background: #7a2131;
    color: #fff;
}
.csi-contact-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}
.csi-contact-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: #fff;
}

/* Cadastre — Responsive */
@media (max-width: 1199px) {
    .csi-hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    .csi-col-image {
        grid-column: 1 / -1;
        position: static;
    }
    .csi-sede-img {
        max-height: 350px;
    }
}
@media (max-width: 991px) {
    .csi-hero-grid {
        grid-template-columns: 1fr;
    }
    .csi-col-text { order: 1; }
    .csi-col-image { order: 2; }
    .csi-col-form { order: 3; }
    .csi-sede-img {
        max-height: 300px;
    }
    .csi-info-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .csi-headline { font-size: 24px; }
    .csi-proof-grid { grid-template-columns: 1fr; }
}
/* ======== /CADASTRE SEU IMÓVEL ======== */

/* ======== ABOUT — WHATSAPP BUTTONS ======== */
.cs-about-whatsapp-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.cs-about-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    border: none;
}
.cs-about-wa-btn:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
}
.cs-about-wa-btn i {
    font-size: 20px;
}
@media (max-width: 767px) {
    .cs-about-whatsapp-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .cs-about-wa-btn {
        justify-content: center;
    }
}
/* ======== /ABOUT — WHATSAPP BUTTONS ======== */

/* ======== BUSCA — SLIDER GROUP ======== */
.cs-slider-group {
    grid-column: 1 / -1;
}
.cs-slider-group .price_slider_wrapper {
    padding: 0 8px;
}
.cs-slider-group .price_label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}
/* ======== /BUSCA — SLIDER GROUP ======== */
