/**
 * BDS DETAIL STYLESHEET (GIAO DIỆN CHI TIẾT BẤT ĐỘNG SẢN DESKTOP)
 * Tối ưu hóa hiệu suất website: tách từ các thẻ <style> inline sang file CSS độc lập.
 * Phiên bản: 20261017_1
 */

/* ==========================================================================
   TRANG CHI TIẾT BẤT ĐỘNG SẢN (MAIN DETAIL VIEW)
   Nguồn: application/views/web/_bdsDxCore/home/view.php
   ========================================================================== */

/* =========================================================
   BS24 LISTING NOTICE — PREMIUM DESKTOP
   ========================================================= */

.bs24-listing-notice {
    position: relative;
    margin: 20px 0;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.045);
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bs24-listing-notice:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg,#f4511e,#e53935);
}

.bs24-listing-notice:hover {
    border-color: #f0d8d3;
    box-shadow: 0 8px 24px rgba(229,57,53,.08);
    transform: translateY(-1px);
}

.bs24-listing-notice .section-content {
    padding: 19px 22px 17px !important;
}

/* Header */
.bs24-listing-notice-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
}

.bs24-listing-notice-icon {
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg,#f4511e,#e53935);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(229,57,53,.2);
}

.bs24-listing-notice-heading {
    min-width: 0;
}

.bs24-listing-notice-title {
    color: #252525;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.bs24-listing-notice-subtitle {
    margin-top: 2px;
    color: #999;
    font-size: 12px;
    line-height: 1.4;
}

/* Content */
.bs24-listing-notice-body {
    padding-left: 43px;
}

.bs24-listing-notice-text {
    margin: 0 !important;
    color: #555;
    font-size: 14px;
    line-height: 1.65;
}

.bs24-listing-notice-text b {
    color: #292929;
    font-weight: 600;
}

/* Meta */
.bs24-listing-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.bs24-listing-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    background: #fafafa;
    color: #555;
    font-size: 12px;
    line-height: 1.3;
}

.bs24-listing-meta-label {
    color: #999;
}

.bs24-listing-meta-item strong {
    color: #444;
    font-weight: 600;
}

/* Footer */
.bs24-listing-notice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 17px;
    padding-top: 14px;
    padding-left: 43px;
    border-top: 1px solid #f2f2f2;
}

.bs24-listing-notice-hint {
    color: #888;
    font-size: 12px;
}

.bs24-report-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 164px;
    height: 40px;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg,#f4511e,#e53935) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 40px;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(229,57,53,.16);
    transition: box-shadow .2s ease, transform .2s ease, filter .2s ease;
}

.bs24-report-btn:hover {
    color: #fff !important;
    filter: brightness(.96);
    box-shadow: 0 6px 16px rgba(229,57,53,.23);
    transform: translateY(-1px);
}

.bs24-report-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform .2s ease;
}

.bs24-report-btn:hover .bs24-report-arrow {
    transform: translateX(3px);
}

/* =========================================================
   SHORT INFO - DESKTOP
   ========================================================= */

.re__pr-info > .re__pr-short-info.js__pr-short-info {
    display: flex;
    align-items: center;
    width: 100%;
    height: 68px;
    padding: 8px 0;
    margin: 0;
    box-sizing: border-box;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    height: 100%;
    margin: 0 16px 0 0;
    padding: 0 16px 0 0;
    box-sizing: border-box;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item:nth-child(1) { width: 150px; }
.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item:nth-child(2) { width: 120px; }
.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item:nth-child(3) { width: 100px; }
.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item:nth-child(4) { width: 90px; }

.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 32px;
    background: #e7e7e7;
    transform: translateY(-50%);
}

.re__pr-info > .re__pr-short-info.js__pr-short-info .title {
    display: block;
    margin: 0 0 3px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #999;
    white-space: nowrap;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info .title:before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 5px 1px 0;
    border-radius: 50%;
    background: #9a2635;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info .value {
    display: block;
    max-width: 100%;
    margin: 0;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.15;
    color: #292929;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item:first-child .value {
    font-size: 19px !important;
    font-weight: 800;
    color: #b3202e !important;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info .re__pr-short-info-item:first-child .title:before {
    background: #b3202e;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    min-width: 35px;
    margin-left: 7px;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 7px rgba(0,0,0,.04);
    transition: all .2s ease;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action.btn-save {
    margin-left: auto;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-decoration: none;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action i {
    font-size: 16px;
    color: #333;
    transition: color .2s ease, transform .2s ease;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action .re__icon-heart,
.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action .re__icon-heart-pressed {
    font-size: 17px;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action .fa-comment-o {
    font-size: 16px;
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action:hover {
    transform: translateY(-1px);
    border-color: #b3202e;
    box-shadow: 0 4px 10px rgba(123,30,43,.1);
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action:hover i {
    color: #b3202e;
    transform: scale(1.05);
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action.btn-save.saved {
    border-color: rgba(179,32,46,.3);
    background: rgba(179,32,46,.05);
}

.re__pr-info > .re__pr-short-info.js__pr-short-info > .re__pr-short-info-action.btn-save.saved i {
    color: #b3202e;
}

/* ========================================
   CONTACT CARD - DESKTOP
   ======================================== */

.re__contact-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    padding: 28px 22px 22px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    text-align: center;
}

/* Avatar */
.re__contact-avatar {
    display: block;
    order: 1;
    width: 92px;
    height: 92px;
    margin: 0 auto 10px;
    object-fit: cover;
    background: #f4f4f4;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Xác thực */
.re__main-sidebar .js__contact-box .xac_thuc,
.re__main-sidebar .js__contact-box .chua_xac_thuc {
    display: inline-block;
    order: 2;
    width: 85px;
    height: 16px;
    margin: 0 auto 7px !important;
    padding: 4px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    background-size: 100%;
    flex-shrink: 0;
}

.re__main-sidebar .js__contact-box .xac_thuc {
    background-image: url(/assets/img/xac_thuc.png);
}

.re__main-sidebar .js__contact-box .chua_xac_thuc {
    background-image: url(/assets/img/chua_xac_thuc.png);
}

/* Tên người đăng */
.re__contact-name {
    display: inline-block;
    order: 3;
    max-width: 100%;
    margin-bottom: 7px;
    color: #222;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;
}

/* Ẩn clearfix cũ */
.re__contact-box .clearfix {
    display: none;
}

/* Trạng thái hoạt động */
.re__contact-box .online-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 4;
    min-height: 24px;
    margin: 0 0 18px !important;
    padding: 3px 10px;
    color: #555;
    font-size: 13px !important;
    line-height: 18px;
    background: #f7f7f7;
    border-radius: 20px;
}

.re__contact-box .online-status i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    background: #bbb;
    border-radius: 50%;
}

.re__contact-box .online-status.online {
    color: #238b45;
    background: #effaf3;
}

.re__contact-box .online-status.online i {
    background: #25b957;
    box-shadow: 0 0 0 3px rgba(37, 185, 87, 0.12);
}

.re__contact-box .online-status.offline {
    color: #777;
    background: #f6f6f6;
}

/* Xem thêm tin đăng */
.re__contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 5;
    width: 100%;
    height: 52px;
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #d00059, #b9004f) !important;
    border: 0;
    border-radius: 9px !important;
    box-shadow: 0 4px 10px rgba(194, 0, 82, 0.18);
    transition: all 0.2s ease;
}

.re__contact-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(194, 0, 82, 0.25);
}

.re__contact-link .re__link-se {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600 !important;
    text-decoration: none;
}

.re__contact-link .re__link-se:after {
    content: "→";
    margin-left: 8px;
    font-size: 19px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.re__contact-link:hover .re__link-se:after {
    transform: translateX(3px);
}

/* Khu vực số điện thoại */
.re__contact-box .phone {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 6;
    width: 100%;
    height: 58px;
    margin: 0 0 10px;
    padding: 0 12px;
    box-sizing: border-box;
    background: #f5f1f8;
    border: 1px solid #eadff0;
    border-radius: 10px;
}

/* Số điện thoại */
.re__contact-box #phoneLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: #7a2e70 !important;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.re__contact-box #phoneLink:before {
    content: "☎";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-right: 8px;
    color: #fff;
    font-size: 15px;
    background: #7a2e70;
    border-radius: 50%;
}

/* Nút Hiện số */
.re__contact-box .show_phone_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    margin-left: 9px;
    padding: 0 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    background: #0ba5b5;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.re__contact-box .show_phone_button:hover {
    background: #078e9d;
    transform: translateY(-1px);
}

/* Zalo */
.re__contact-box > .email-copy {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 7;
    width: 100%;
    height: 52px;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    background: #015CE0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    transition: all 0.2s ease;
}

.re__contact-box > .email-copy:before {
    content: "Z";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    color: #66509a;
    font-size: 16px;
    font-weight: 800;
    background: #fff;
    border-radius: 7px;
}

.re__contact-box > .email-copy:hover {
    background: #574389 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(102, 80, 154, 0.22);
}

/* ========================================
   CATEGORY CONTENT
   ======================================== */

.cat-content {
    position: relative;
    height: 600px;
    margin-bottom: 20px;
    padding: 20px;
    overflow: hidden;
    background-color: #fdfdfd;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    box-shadow: rgba(88, 102, 126, 0.12) 0 0 2px !important;
}

.cat-content.full-view,
.cat-content.no-view {
    height: auto;
}

.cat-content .content-more {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 9px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #d5d5d5 100%);
    font-weight: bold;
}

.cat-content .content-more:before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 9px;
    text-align: center;
    content: attr(data-min);
}

.cat-content .content-more:hover {
    color: #de3d33;
}

.cat-content.full-view .content-more:before {
    content: attr(data-max);
}

.cat-content.no-view .content-more {
    display: none;
}

.cat-content > h2 {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.cat-content * {
    max-width: 100%;
}

.cat-content img {
    display: inherit;
    margin: auto;
}

.cat-content p:nth-last-child(2) {
    margin-bottom: 0;
}

/* ========================================
   EXPIRED PROPERTY
   ======================================== */

.pr-expired .pr-expired__expiration {
    margin-bottom: 24px;
    background-color: rgb(240, 234, 244);
    border-radius: 8px;
}

.pr-expired.pr-expired--less-than-30-days .pr-expired__expiration .pr-expired__icon {
    width: 48px;
}

.pr-expired.pr-expired--less-than-30-days .pr-expired__expiration .pr-expired__message {
    margin-top: 16px;
    margin-bottom: 16px;
}

.pr-expired .pr-expired__expiration .pr-expired__icon {
    float: left;
    margin: 12px 0 12px 16px;
}

.pr-expired .pr-expired__expiration .pr-expired__message {
    float: left;
    width: calc(100% - 48px - 16px * 3);
    margin: 12px 0 12px 16px;
}

.pr-expired .pr-expired__expiration .pr-expired__message .pr-expired__title {
    display: block;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: bold !important;
    line-height: 20px;
}

.pr-expired .pr-expired__expiration .pr-expired__message .pr-expired__content {
    display: block;
    color: rgb(44, 44, 44);
    font-size: 14px;
    font-style: italic;
    font-weight: normal !important;
    line-height: 20px;
}

/* ==========================================================================
   POPUP LIÊN HỆ & TƯ VẤN (CONTACT & ADVISORY POPUP)
   Nguồn: application/views/web/_bdsDxCore/home/_viewContactPopup.php
   ========================================================================== */

/* ======= BURGUNDY LUXURY - COMPACT DESKTOP ============= */

#mnSBcontainerBR {
    position: fixed;
    z-index: 9999;
    bottom: 80px;
    right: 20px;
}

.mnSmallBox {
    position: relative;
    width: 250px;
    margin-bottom: 10px;
    padding: 11px;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    line-height: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;

    background:
        radial-gradient(circle at 100% 0%, rgba(255, 181, 106, 0.25), transparent 32%),
        radial-gradient(circle at 0% 100%, rgba(255, 91, 91, 0.16), transparent 38%),
        linear-gradient(135deg, #5b0d2b 0%, #7d1538 45%, #a62643 100%);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;

    box-shadow:
        0 14px 35px rgba(67, 7, 31, 0.38),
        0 4px 12px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mnSmallBox::before {
    content: "";
    position: absolute;
    top: -65px;
    right: -55px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 188, 112, 0.12);
    filter: blur(7px);
    pointer-events: none;
}

.mnSmallBox::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 211, 151, 0.7),
        transparent
    );
    pointer-events: none;
}

/* ========  TABLE  =========== */

.mnSmallBox table {
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    border: 0 !important;
    border-spacing: 0 !important;
    border-collapse: collapse !important;
}

/* ========  AVATAR  ============= */

.mnSbMainImage {
    width: 64px !important;
    height: 64px !important;
    padding: 0 9px 0 0;
    vertical-align: middle;
}

.mnSbMainImage img {
    display: block;
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    padding: 2px;
    object-fit: cover;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #ffe0ad,
        #c77a42
    );

    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.18),
        0 5px 14px rgba(0, 0, 0, 0.28);
}


/* ========  CONTENT  ========== */

.mnSbContent {
    display: block;
    padding: 1px 0 1px 2px;
    font-size: 11px;
    line-height: 1.4;
    vertical-align: middle;
}

.mnSbTitle {
    display: block;
    padding: 0 25px 5px 0;
    font-size: 15px;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: -0.1px;
}

.mnSbTitle a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none;
    text-transform: capitalize;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mnSbTitle a:hover {
    color: #ffdca8 !important;
    text-decoration: none;
}

/* ===========  INFORMATION  ============= */

.mnSbInfo {
    display: block;
    margin-top: 0;
}

.mnSbInfo > div {
    display: flex;
    align-items: center;
    min-height: 25px;
    margin-top: 4px;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.075);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.mnSbInfo > div:first-child {
    margin-top: 0;
}

.mnSbInfo > div:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 218, 168, 0.25);
    transform: translateX(2px);
}

.mnSbInfo i {
    width: 17px;
    margin-right: 5px;
    color: #ffd39a;
    font-size: 12px;
    text-align: center;
    flex-shrink: 0;
}

.mnSbInfo a {
    display: block;
    flex: 1;
    overflow: hidden;
    color: #fff !important;
    font-size: 11px;
    line-height: 17px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mnSbInfo a:hover {
    color: #ffdca8 !important;
    text-decoration: none;
}

/* =============  PHONE  ================ */

.mnSbInfo .phoneLinkpopup {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.mnSbInfo .phone_number {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* =========  CLOSE  ============ */

.mnSmallBox .btnClose {
    position: absolute;
    z-index: 5;
    top: 7px;
    right: 7px;
    width: 22px;
    height: 22px;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px !important;
    line-height: 22px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    opacity: 1;
    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.mnSmallBox .btnClose:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(90deg);
}

/* ======= UNUSED OLD ELEMENTS ============= */

.mnSbIcon,
.mnSbButtonSection {
    display: none;
}

/* ==========================================================================
   GALLERY MEDIA & SLIDER ẢNH/VIDEO
   Nguồn: application/views/web/_bdsDxCore/home/_viewMedia.php
   ========================================================================== */

/* ========================================
       PROPERTY MEDIA GALLERY - DESKTOP
       ======================================== */

    .post-photos {
        margin-bottom: 20px;
    }

    .post-photos .post-block-content {
        position: relative;
    }

    /* Gallery chính */
    .post-photos .gallery-top {
        width: 100%;
        height: 560px;
        overflow: hidden;
        background: #f5f6f8;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    }

    .post-photos .gallery-top .swiper-wrapper {
        height: 100%;
    }

    .post-photos .gallery-top .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: #f8f8f8;
    }

    .post-photos .gallery-top .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #f8f8f8;
    }

    /* Nút chuyển ảnh */
    .post-photos .gallery-top .swiper-button-next,
    .post-photos .gallery-top .swiper-button-prev {
        width: 44px;
        height: 44px;
        margin-top: -22px;
        color: #fff;
        background: rgba(0, 0, 0, 0.42);
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .post-photos .gallery-top .swiper-button-next:hover,
    .post-photos .gallery-top .swiper-button-prev:hover {
        background: rgba(0, 0, 0, 0.72);
        transform: scale(1.06);
    }

    .post-photos .gallery-top .swiper-button-next:after,
    .post-photos .gallery-top .swiper-button-prev:after {
        font-size: 19px;
        font-weight: bold;
    }

    /* Bộ đếm ảnh */
    .post-photos .gallery-top .swiper-pagination {
        left: auto !important;
        right: 14px !important;
        bottom: 14px !important;
        width: auto;
        min-width: 48px;
        padding: 6px 10px;
        color: #fff;
        font-size: 13px;
        line-height: 1;
        background: rgba(0, 0, 0, 0.58);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 20px;
        backdrop-filter: blur(5px);
    }

    /* ========================================
       THUMBNAIL
       ======================================== */

    .post-photos .gallery-track {
        width: 100%;
        height: 82px !important;
        margin: 12px 0 0;
        padding: 0 1px;
        overflow: hidden;
    }

    .post-photos .gallery-track .js-gallery-track {
        height: 82px !important;
    }

    .post-photos .gallery-track .swiper-wrapper {
        height: 82px;
    }

    .post-photos .gallery-track .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 112px !important;
        height: 78px;
        overflow: hidden;
        background: #f5f5f5;
        border: 2px solid transparent;
        border-radius: 7px;
        opacity: 0.62;
        cursor: pointer;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }

    .post-photos .gallery-track .swiper-slide:hover {
        opacity: 0.9;
        border-color: #bbb;
        transform: translateY(-1px);
    }

    .post-photos .gallery-track .swiper-slide-thumb-active {
        opacity: 1;
        border-color: #e30613;
        box-shadow: 0 0 0 1px #e30613;
    }

    .post-photos .gallery-track .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ==========================================================================
   ĐÁNH GIÁ & REVIEW TIN ĐĂNG
   Nguồn: application/views/web/_bdsDxCore/home/_review.php
   ========================================================================== */

.testimonials-list {
        display: block;
        max-width: 760px;
        margin: 15px auto 0 auto;
        position: relative;
    }
    .testimonials-list .slide-wrap,
    .testimonials-list .review-slide-wrap {
        height: auto !important;
        max-height: none !important;
        background-color: transparent !important;
        opacity: 1 !important;
    }
    .testimonials-list .testimonial-item {
        padding: 10px 15px;
    }
    .testimonials-list .testimonial-item .testimonials-content {
        width: 100%;
        padding: 30px 40px;
        background: #ffffff;
        border: 1px solid #edf2f7;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
        position: relative;
        text-align: center;
        border-radius: 12px;
        font-size: 15px;
        line-height: 1.65;
        color: #475569;
        box-sizing: border-box;
    }
    .testimonials-list .testimonial-item .testimonials-author {
        font-weight: 700;
        font-size: 16px;
        color: #1e293b;
        margin-bottom: 4px;
    }
    .review-star {
        margin: 8px 0 14px 0;
        display: inline-block;
    }
    .review-star i {
        color: #f59e0b;
        margin: 0 2px;
        font-size: 14px;
    }
    .testimonials-list .owl-dots {
        position: static !important;
        margin-top: 15px !important;
        text-align: center;
        width: 100%;
    }
    .testimonials-list .owl-dots .owl-dot {
        border: none;
        background: transparent;
        outline: none;
        padding: 0;
        cursor: pointer;
    }
    .testimonials-list .owl-dots .owl-dot span {
        display: inline-block !important;
        width: 8px;
        height: 8px;
        margin: 0 4px;
        background: #cbd5e1 !important;
        border-radius: 50%;
        transition: all 0.25s ease;
    }
    .testimonials-list .owl-dots .owl-dot.active span {
        background: #e03c31 !important;
        width: 22px;
        border-radius: 4px;
    }

/* ==========================================================================
   BẢN ĐỒ VỊ TRÍ & TIỆN ÍCH XUNG QUANH
   Nguồn: application/views/web/_bdsDxCore/home/_viewLocation.php
   ========================================================================== */

.section .section-header {
        padding: 0 15px;
        margin-top: 0;
        margin-bottom: 15px;
        align-items: center;
        position: relative;
    }
    .section-list-links .list-links > li {
        display: flex;
        align-items: center;
        position: relative;
        padding-left: 20px;
        border-bottom: 1px dashed #f1f1f1;
    }
    .section-list-links .list-links > li::before {
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        background: url(../images/arrow-right-orange.svg) center no-repeat;
        background-size: contain;
        margin-right: 7px;
        position: absolute;
        top: 12px;
        left: 0;
    }
    .section-list-links .list-links h6 {
        margin: 0;
        padding: 0;
    }
    .section-list-links .list-links a {
        display: inline-block;
        padding: 5px 0;
        width: 100%;
        font-size: 1rem;
        font-weight: normal;
    }
    .section-list-links .list-links > li .link-count {
        float: right;
        color: #999;
        background: #f5f5f5;
        padding: 3px 8px;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    .section-list-links .list-links > li::before {
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        background: url(assets/img/arrow-right-orange.svg) center no-repeat;
        background-size: contain;
        margin-right: 7px;
        position: absolute;
        top: 12px;
        left: 0;
    }

/* ==========================================================================
   POPUP PHÓNG TO ẢNH FULLSCREEN
   Nguồn: application/views/web/_bdsDxCore/home/_viewImgPopup.php
   ========================================================================== */

.swiper_fullscreen_wrapper {
            background: rgba(0, 0, 0, 0.97);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1050;
            overflow: hidden;
        }

        .swiper_fullscreen_wrapper .swiper-title {
            display: none;
        }

        .swiper_fullscreen_wrapper .swiper-container,
        .swiper_fullscreen_wrapper .swiper-container .swiper-wrapper,
        .swiper_fullscreen_wrapper .swiper-container .swiper-wrapper .swiper-slide {
            height: 100%;
            display: flex;
            align-items: center;
        }

        .swiper_fullscreen_wrapper .swiper-slide {
            justify-content: center;
        }

        .swiper_fullscreen_wrapper .swiper-slide img {
            max-height: 100%;
        }

        .swiper_fullscreen_wrapper .swiper-pagination-fraction {
            color: #fff;
        }

        .swiper_fullscreen_wrapper .close_swiper {
            width: 35px;
            height: 35px;
            color: #fff;
            z-index: 9;
            position: fixed;
            right: 20px;
            top: 10px;
            font-size: 35px;
            cursor: pointer;
            background: url(/assets/vendor/bds/images/sprite@2x.png) no-repeat;
            background-size: 350px 332px;
            background-position: -319px -107px;
            -webkit-transition: .3s ease;
            transition: .3s ease;
            text-align: center;
            opacity: .7;
        }

        .swiper_fullscreen_wrapper .close_swiper:hover {
            opacity: 1;
        }

/* ==========================================================================
   STICKER TIỆN ÍCH DỌC TRANG
   Nguồn: application/views/web/_bdsDxCore/home/_viewSticker.php
   ========================================================================== */

.section-post-detail{
        margin-top: 55px;
    }
    #bar-sticky {
        position: fixed;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #e5e5e5;
        height: 38px;
        background-color: #fff;
        margin-bottom: 15px;
        z-index: 998;
        left: 0;
        right: 0;
        top: 40px;
    }
    #bar-sticky .bar-sticky-inner {
        width: 1200px;
        padding: 0;
        margin: 0 auto;
    }
    #bar-sticky.js-bar-sticky {
        box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    }
    #bar-sticky .menu-sticky > li {
        margin-right: 0px;
        padding: 10px 15px;
        font-weight: bold;
        font-size: 0.8rem;
        text-transform: uppercase;
        cursor: pointer;
        color: #333;
        display: inline-block;
    }
    #bar-sticky .menu-sticky > li:first-child {
        padding-left: 0;
        padding-right: 0;
        margin-right: 20px;
    }
    #bar-sticky .menu-sticky > li:hover {
        box-shadow: inset 0 -2px 0px 0px rgb(21, 21, 21);
    }
    #bar-sticky .menu-sticky > li .icon {
        width: 20px;
        height: 20px;
    }
    #bar-sticky .box-post-save .btn {
        padding: 10px;
        font-size: .9rem;
        font-weight: 700;
        margin-right: 10px;
        height: 100%;
    }

/* ==========================================================================
   LEGACY DETAIL OVERVIEW STYLES
   Nguồn: application/views/web/_bdsDxCore/home/_view.php
   ========================================================================== */

.the-post-detail .table-overview .td-name {
        width: 40%;
    }
    #sidebar.fixed-view #post_detail_aside{
        position: fixed;
        top: 95px;
    }
    #sidebar:not(.fixed-view){
        height: auto !important;
    }
    .save_view {
        color: #fff;
        background-color: #16c784;
        border: 2px solid #16c784;
        border-radius: 8px;
        width: 20%;
        height: 25px;
        padding: 0px 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        margin-top: 10px;
        cursor: pointer;

    }

