.single-property main {
    --wd-col-lg: 1 !important;
}

/* Header */
.whb-top-bar select.gt_selector.notranslate {
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

.whb-top-bar select.gt_selector.notranslate option {
    color: #000;
}

.whb-top-bar .whb-col-right .wd-header-text ul {
    display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
}

.whb-top-bar .whb-col-right .wd-header-text ul li {
    display: flex;
    align-items: center;
    /* căn giữa theo chiều dọc */
    justify-content: center;
    /* căn giữa theo chiều ngang */
    height: 100%;
    padding: 0 20px;
    border-right: 1px solid #fff;
    margin-bottom: 0px;
}

.whb-top-bar .whb-col-right .wd-header-text ul>li:last-child {
    border-right: none;
}

.whb-top-bar .whb-col-right .wd-header-text ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    /* đổi màu text nếu cần */
    text-decoration: none;
    white-space: nowrap;
    /* không xuống dòng */
    font-weight: 500;
    text-transform: uppercase;
}



/* Single product */
.single-product .summary-inner>.price {
    background: #e6e6e6;
    color: #000;
    font-weight: 700;
    padding: 6.25px 5px;
    margin-bottom: 5px;
    font-size: 35px;
    display: table;
    width: 100%;
    clear: both;
}

.single-product .summary-inner>.price:before {
    content: 'Giá thuê ';
    font-size: 20px;
    margin-right: 10px;
    margin-left: 10px;
}

.ct-acf-phi-bao-gom ul,
.ct-attr-co-so-vat-chat ul,
.ct-acf-moi-truong-xung-quanh ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    text-align: center;
}

.ct-acf-phi-bao-gom ul li,
.ct-attr-co-so-vat-chat ul li,
.ct-acf-moi-truong-xung-quanh ul li {
    width: 32.333%;
    box-sizing: border-box;
    background: #e6e6e6;
    margin-right: 1%;
    margin-bottom: 5px;
    padding: 3px;
    font-size: 13px;
}

.ct-attr-co-so-vat-chat ul li {
    background-color: #feebc4;
}

.ct-acf-moi-truong-xung-quanh ul li {
    background-color: #b7dee8;
}

.ct-acf-phi-bao-gom {
    margin-top: 20px;
}

.ct-acf-phi-bao-gom h4,
.ct-attr-co-so-vat-chat h4,
.ct-acf-moi-truong-xung-quanh h4 {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-size: 14px;
}

.single-product .woocommerce-product-details__short-description tr td {
    border-bottom: 1px dotted #ccc;
    overflow: hidden;
    line-height: 2.3;
    font-size: 11px;
    margin-bottom: 1px;
    padding: 5px 10px;
}

.ct-desc-under-gallery {
    margin-top: 40px;
}

.ct-map-box {
    margin-top: 30px;
}

button.button.ct-rent-btn {
    background: #000;
    color: #fff;
    width: 100%;
    text-transform: math-auto;
}

/* FORM SEARCH */
/* Kéo form đè lên banner ở trang chủ (an toàn hơn margin âm) */
.ct-search-block {
    margin-top: -235px;
    min-height: 335px;
    display: flex;
    align-items: flex-end;
}

.ct-search-block-page {
    margin-top: 15px;
    min-height: 350px;
}

.ct-search-main button.ct-submit-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 0px;
    padding-inline: 0px;
}

.ct-search-main .wd-pf-btn button.ct-pf-clear {
    background-color: unset;
    color: #000;
    font-size: 10px;
    text-transform: math-auto;
    display: block;
    margin: 0 auto;
    border: none;
    box-shadow: none;
    padding: 3px 8px;
}

.ct-search-block-page .ct-search-main .ct-search-form-col-1 {
    min-height: 225px;
}

.ct-search-main .ct-search-form-col-1 div.widget_price_filter .filter_price_slider_amount {
    border-top: none;
    padding: 0 10px 3px;
}

.ct-search-main .widget_price_filter .ui-slider-horizontal {
    margin-bottom: 5px;
}

/* Khung form */
.ct-search-main {
    margin-top: 0;
    -webkit-box-shadow: 0 1px 5px rgb(0 0 0 / 18%);
    box-shadow: 0 1px 5px rgb(0 0 0 / 18%);
    background: #ffffffeb;
    position: relative;
    z-index: 100;
    padding: 20px;
    border-radius: 5px;
    box-sizing: border-box;
    align-items: flex-end !important;
}

/* Text */
.ct-search-main .wd-style-form .wd-pf-title span {
    text-transform: initial;
}

/* Price filter dropdown luôn mở (theo yêu cầu của bạn) */
.ct-search-block form .widget_price_filter .wd-pf-dropdown {
    position: relative;
    opacity: 1;
    visibility: visible;
    cursor: pointer;
    transform: none !important;
    pointer-events: auto;
    top: 0;
    background: none;
    width: 88%;
    padding: 10px;
    box-shadow: none;
}

.ct-search-block form .widget_price_filter [class*="price_slider_amount"] .price_label span {
    font-size: 10px;
}

.ct-search-main .ct-search-form-col-1 div.widget_price_filter {
    display: flex;
}

/* Ẩn title trong price filter / keyword filter */
.ct-search-block form .widget_price_filter .wd-pf-title,
.ct-search-block form .wd-keyword-filter .wd-pf-title {
    display: none;
}

/* Price label layout */
.ct-search-block form .widget_price_filter [class*="price_slider_amount"] .price_label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ct-search-block .wd-pf-price-range .price_label .from:after {
    display: none;
}

/* Keyword filter full hàng trong flex */
.ct-search-block form .wd-keyword-filter {
    flex: 0 0 100%;
    width: 100%;
}

/* Active item */
.ct-search-block form .wd-pf-dropdown a {

    font-size: 14px;
}

/* Line dưới mỗi item */
.ct-search-block ul li {
    border-bottom: 1px solid #ccc;
}

/* Handle slider */
.ct-search-main .widget_price_filter .ui-slider .ui-slider-handle:after {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

/* Layout 2 cột: trái 75% (các filter), phải 25% (button/khối phụ) */
.ct-search-main .ct-search-form-col-1 {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 75%;
    width: 75%;
    --gap: 10px;
    gap: var(--gap);
    box-sizing: border-box;
    /* height: 140px;
    overflow: hidden; */
    transform-origin: bottom;
    transform: scaleY(1);
    transition: transform 0.4s ease;
}

.ct-search-main .ct-search-form-col-2 {
    flex: 0 0 25%;
    width: 25%;
    box-sizing: border-box;
}



/* Price filter full width (nếu bạn muốn nó chiếm cả hàng) */
.ct-search-main .ct-search-form-col-1 div.widget_price_filter,
.ct-search-main .ct-search-form-col-1 .wd-col:last-child {
    flex: 0 0 100%;
    max-width: 100%;
}

.ct-search-main .ct-pf-count {
    text-align: center;
    font-weight: normal;
    font-size: 14px;
    line-height: 25px;
}

.ct-search-main .ct-pf-count span.ct-pf-count-number {
    display: block;
    font-size: 25px;
}

.ct-search-main .wd-pf-btn {
    text-align: center;
}

.ct-search-main .wd-pf-btn .ct-submit-button .ct-submit-icon:before {
    content: "\f130";
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    font-family: 'woodmart-font' !important;
    min-width: 30px;
    letter-spacing: normal;
    line-height: 1;
    font-size: 20px;
    transition: all .15s ease;
    user-select: all;
}

.ct-search-block form .widget_price_filter:before {
    content: 'Chi phí';
    font-size: 14px;
    font-weight: bold;
    display: block;
    width: 12%;
    padding: 8px;
}

.ct-search-form-col-1 .wd-pf-content input,
.ct-search-form-col-1 .wd-pf-title {
    height: 35px !important;
    font-size: 14px;
}

.ct-search-form-col-1 .wd-pf-title span {
    font-size: 14px !important;
    text-transform: inherit !important;
    font-weight: 100;
}

.ct-search-form-search-more {
    background-image: url(/wp-content/uploads/2026/01/bg-search.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 99;
    position: relative;
    margin: 0 auto;
    width: 260px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    padding-bottom: 10px;
    cursor: pointer;
    padding-top: 10px;
}

/* Block Chu BDS */
.ct-block-bds-product .wd-add-btn {
    display: none !important;
}

.ct-block-for-chu-bds .info-box-wrapper .box-icon-wrapper .info-box-icon {
    width: 40px;
}

.tax-product_cat .wd-add-btn {
    display: none !important;
}

.category .wd-post .wd-post-meta {
    display: none;
}

.category .wd-post-read-more {
    display: none;
}

.ct-block-for-chu-bds .info-box-content .info-box-title {
    font-size: 13px;
}

/* Danh muc dac sac */
.ct-dmbdsds .wd-info-box .box-with-icon {
    width: 25%;
}

.ct-dmbdsds .wd-info-box .info-box-content {
    width: 75%;
}

.ct-dmbdsds .wd-info-box {
    border: 1px solid #ccc;
    padding: 3px;
}

.ct-dmbdsds .wd-info-box .info-box-content .info-box-inner {
    font-size: 14px;
}

.ct-dmbdsds .wd-info-box .info-box-content .info-box-title {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

/* BDS HOT */
.ct-block-bds-product .product-wrapper .wd-buttons[class*="wd-pos-r"] {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0px, 0, 0);
}

.ct-block-bds-product .wpb_raw_html {
    position: absolute;
    z-index: 99;
    right: 130px;
    font-weight: 700;
    font-size: 25px;
    top: 10px;
}



.single-product .wd-social-icons a.wd-social-icon {
    font-size: 25px;
}

.single-product .wd-social-icons .share-title {
    display: none;
}

.single-product .wd-social-icons {
    justify-content: flex-end;
}

.single-product .entry-summary .wd-wishlist-btn {
    width: 48%;
    text-align: center;
    display: inline-block;
    border: 1px solid #ccc;
    padding: 10px 5px 5px 5px;
}

.single-product button.btn-print {
    width: 47%;
    display: inline-block;
}

/* Blog */
.ct-dmbvtt h4.woodmart-title-container {
    font-size: 18px;
}

.ct-dmbvtt .promo-banner .wrapper-content-banner {
    padding: 10px;
}

.ct-dmbvtt .promo-banner .banner-title {
    font-size: 16px;
}

/* Lien he */
.ct-lien-he table th {
    padding-left: 35px;
}

.ct-lien-he .wpcf7 label {
    display: flex;
}

.ct-lien-he .wpcf7 label span:nth-child(1) {
    width: 30%;
    font-size: 16px;
}

.ct-lien-he .wpcf7 label span:nth-child(2) {
    width: 70%;
}

.ct-lien-he input.wpcf7-submit {
    margin-left: 30%;
    min-width: 200px;
}

.ct-lien-he span.wpcf7-form-control-wrap input {
    height: 35px;
    margin-bottom: 5px;
    border-radius: 10px;
}

/* Trợ giúp */
/* Tổng thể */
.ct-vhouse-services {
    display: grid;
    grid-template-columns: 50% 50%;
    border: 1px solid #000;
    font-family: Arial, Helvetica, sans-serif;
}

/* Cell chung */
.ct-vhouse-cell {
    border: 1px solid #000;
    padding: 5px;
    box-sizing: border-box;
}

/* ===== CỘT TRÁI ===== */
.ct-vhouse-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.ct-vhouse-title__main {
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 8px;
}

.ct-vhouse-title__sub {
    font-size: 14px;
    margin: 0;
}

/* ===== CỘT PHẢI ===== */
.ct-vhouse-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

/* Hàng trên (2 cột) */
.ct-vhouse-right-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Hàng dưới (3 cột) */
.ct-vhouse-right-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* Link */
.ct-vhouse-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease;
}

.ct-vhouse-link:hover {
    background: #f5f5f5;
}

.ct-lien-he span.wpcf7-form-control-wrap input::placeholder,
.ct-lien-he span.wpcf7-form-control-wrap textarea::placeholder {
    font-size: 13px;
    font-weight: 100;
    color: #666666;
}

.ct-lien-he span.wpcf7-form-control-wrap textarea {
    min-height: 100px;
    border-radius: 10px;
}

.ct-search-block ul li a:before {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #ccc;
    margin-right: 5px;
    line-height: 15px;
}

.ct-search-block ul li.wd-active a:before {
    content: '✓';
}

.ct-search-main .ct-search-form-col-1 ul.wd-pf-results {
    display: none;
}

/* Các field nâng cao */
.ct-search-main .ct-search-form-col-1>div:nth-child(n+6) {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.ct-search-main .ct-search-form-col-1.is-open {
    min-height: 225px;
}

/* Khi mở */
.ct-search-main .ct-search-form-col-1.is-open>div:nth-child(n+6) {
    max-height: 200px;
    /* đủ lớn cho 1 field */
    opacity: 1;
    pointer-events: auto;
    overflow: unset;
}

.ct-search-block-page .ct-search-main .ct-search-form-col-1>div:nth-child(n+6) {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
    overflow: unset;
}

.ct-search-block-page .ct-search-form-search-more {
    display: none;
}

/* DESKTOP */
@media (min-width: 1025px) {
    .ct-block-bds-product .wd-nav-arrows {
        position: absolute;
        top: -30px;
        right: 37px;
    }

    .ct-block-bds-product .wd-pos-sep .wd-btn-arrow {
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: unset !important;
    }

    .ct-custom-blog .wd-post-excerpt {
        display: none;
    }

    .ct-search-main .ct-search-form-col-1 .wd-pf-checkboxes {
        flex: 0 0 calc((100% - 20px) / 3);
    }


}

/* RESPONSIVE MOBILE */
@media (max-width: 1024px) {
    .ct-lien-he input.wpcf7-submit {
        width: 100%;
        margin-left: 0;
        padding: 15px;
        border-radius: 10px !important;
        text-transform: inherit !important;
        font-size: 16px;
    }

    .wd-sidebar-opener {
        display: none;
    }

    .ct-lien-he-title h4.woodmart-title-container {
        text-transform: uppercase;
        font-size: 25px;
    }

    .ct-lien-he-title .liner-continer {
        border-bottom: none;
    }

    .ct-lien-he table.vh-company-info {
        font-size: 14px;
    }

    .ct-lien-he table th {
        padding-left: 5px;
    }

    .ct-lien-he table th,
    .ct-lien-he table td {
        padding: 5px;
        border-bottom: none;
    }

    .ct-lien-he-text>.vc_column-inner {
        padding: 0px;
    }

    .ct-lien-he-text .wpb_content_element p {
        font-size: 14px;
    }

    .ct-lien-he .wpcf7 label {
        display: block;
        font-size: 14px;
        font-weight: normal;
    }

    .whb-top-bar .whb-col-mobile ul {
        display: flex;
        padding-left: 0;
        text-align: center;
        list-style: none;
    }

    .whb-top-bar .container {
        padding: 0px;
    }

    .whb-top-bar .whb-col-mobile ul li {
        width: 25%;
        padding: 10px 7px;
        border-right: 1px solid #fff;
        margin-bottom: 0;
    }

    .whb-top-bar .whb-col-mobile ul li:last-child {
        border: none;
    }

    .whb-top-bar .whb-col-mobile ul li a {
        color: #fff;
        font-size: 14px;
    }

    .home main#main-content {
        padding-top: 0px;
    }

    /* Home BDS Hot */
    .ct-block-bds-product>.vc_column_container>.vc_column-inner {
        padding: 0px;
    }

    .ct-block-bds-product .wpb_raw_html {
        display: none;
    }

    .ct-block-bds-product .wd-product .wd-entities-title {
        font-size: 24px;
        font-weight: bold;
        line-height: 30px;
        margin-bottom: 10px;
    }

    .ct-block-bds-product .wd-product .price {
        font-size: 16px;
    }

    .ct-block-bds-product .wd-arrow-inner:after {
        width: 60px;
        font-size: 30px;
        color: #fff;
    }

    .ct-block-bds-product .wd-nav-arrows.wd-pos-sep .wd-prev {
        inset-inline-end: inherit;
    }

    .ct-block-bds-product .btn-style-bordered {
        border-color: #F8941C;
        color: #F8941C;
        text-transform: math-auto;
    }

    .ct-dccbds-block-1 {
        display: flex;
        flex-wrap: wrap;
    }

    .ct-dccbds-block-1>.vc_column_container {
        width: 33%;
        padding: 0 4%;
    }

    .ct-dccbds-block-1>.vc_column_container:nth-child(4),
    .ct-dccbds-block-1>.vc_column_container:nth-child(5) {
        width: 50%;
    }

    .ct-dccbds-block-2 {
        display: none;
    }

    .ct-tin-tuc-su-kien-short-code-mobile>.vc_column_container>.vc_column-inner {
        padding: 0px;
    }

    .ct-footer p a {
        font-size: 16px;
        font-weight: bold;
        position: relative;
        text-transform: uppercase;
    }

    .ct-footer p a:after {
        content: "\f113";
        display: block;
        position: absolute;
        right: 10px;
        top: -35%;
        font-family: "woodmart-font";
    }

    /* Search */
    .ct-search-block {
        margin-top: 20px;
        min-height: unset;
        display: block;
    }

    .ct-search-main {
        box-shadow: none;
        padding: 0;
    }

    .ct-search-main .ct-search-form-col-1 {
        height: auto;
        flex: auto;
        z-index: 100;
    }

    .ct-search-form-search-more {
        display: none;
    }

    .ct-search-main .ct-search-form-col-2 {
        flex: auto;
        box-sizing: border-box;
        width: 100%;
        display: flex;
    }

    .ct-search-main .ct-pf-count {
        width: 20%;
    }

    .ct-search-form-col-2 .wd-pf-btn {
        width: 80% !important;
        position: relative;
    }

    .ct-search-main button.ct-submit-button {
        width: 100%;
        height: 50px;
        border-radius: 10px;
    }

    .ct-search-main .ct-search-form-col-2 {
        flex: auto;
        box-sizing: border-box;
        width: 100%;
        display: flex;
        margin-top: 35px;
    }

    .ct-search-main .wd-pf-btn button.ct-pf-clear {
        position: absolute;
        right: 0;
        top: -40px;
        z-index: 99;
    }

    .ct-search-main .ct-search-form-col-1 .wd-col {
        flex: 0 0 100%;
    }

    .ct-danh-cho-chu-bds .woodmart-title-container {
        text-transform: uppercase;
    }

    .ct-danh-cho-chu-bds-title {
        border-bottom: none;
    }

    .ct-danh-cho-chu-bds-form .cf7-section-title p {
        text-align: center;
        border-bottom: none;
        font-size: 22px;
        font-weight: 600;
        color: #000;
        text-transform: uppercase;
    }

    .ct-danh-cho-chu-bds-form .cf7-grid .cf7-label {
        font-weight: 600;
    }

    .ct-danh-cho-chu-bds-form span.icon-require {
        color: red;
    }

    .cf7-checkgrid .cf7-3col .wpcf7-form-control {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .ct-danh-cho-chu-bds-form .cf7-actions .wpcf7-submit {
        width: 100%;
        padding: 15px;
        border-radius: 10px;
    }

    .ct-thong-tin .ct-thong-tin-title {
        border-bottom: none;
        text-transform: uppercase;
    }

    .ct-thong-tin .info-box-inner {
        display: none;
    }

    .ct-thong-tin .info-box-wrapper {
        height: auto;
        min-height: 200px;
        border-radius: 15px;
        box-shadow: 1px 1px #cccc;
    }

    .ct-thong-tin .info-box-title {
        font-size: 20px;
    }

    .ct-thong-tin-button {
        padding: 15px;
        border-radius: 5px;
        font-weight: bold;
        color: #000;
        font-size: 20px;
    }

    .ct-custom-blog .wd-post-excerpt,
    .ct-custom-blog .wd-post-title {
        text-align: left;
    }

    .ct-custom-blog .wd-post-inner {
        border: 1px solid #ccc;
    }

    .ct-tro-giup .promo-banner-wrapper {
        height: auto;
        min-height: 100px;
        box-shadow: 1px 1px 4px #ccc;
        margin: 10px;
        border-radius: 10px;
    }

    .ct-tro-giup .ct-tro-giup-title {
        font-weight: bold;
        text-transform: uppercase;
        border-bottom: none;
    }

    .single-product .product_title {
        font-weight: bold;
        line-height: 30px;
    }

    .single-product .summary-inner>.price {
        font-size: 25px;
        background: none;
        display: flex;
        align-items: center;
    }

    .single-product .summary-inner>.price>span {
        margin-left: auto;
    }

    .single-product .summary-inner>.price:before {
        font-size: 15px;
        font-weight: 100;
    }

    button.button.ct-rent-btn {
        background: #F8941C;
        padding: 15px;
        border-radius: 10px;
        font-size: 15px;
    }

    .single-product .entry-summary .wd-wishlist-btn {
        width: 46%;
        padding: 12px 5px 5px;
        border-color: #F8941C;
        border-radius: 10px;
        color: #F8941C;
    }

    .single-product .entry-summary .wd-action-btn.wd-style-text>a:before,
    .single-product .entry-summary .wd-action-btn.wd-style-text>a span {
        color: #F8941C;
    }

    .single-product .entry-summary button.btn-print {
        border: 1px solid #F8941C;
        border-radius: 10px;
    }

    .single-product .entry-summary .wd-social-icons {
        justify-content: center;
    }

    .ct-search-main .ct-search-form-col-1>div:nth-child(n+6) {
        max-height: 200px;
        /* đủ lớn cho 1 field */
        opacity: 1;
        pointer-events: auto;
        overflow: unset;
    }
}