
/*=========================================
single property page
===========================================*/
.lSSlideOuter {
  position: relative;
  text-align: center;
  /*max-heigth: 900px;*/
}

/* Phần ảnh chính */
.slide-img {
  width: 100%;
  aspect-ratio: 16 / 9; /* Tự co giãn tỷ lệ ảnh (giống YouTube) */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative; /* quan trọng để định vị số thứ tự */
  overflow: hidden;
}

/* Cho màn hình nhỏ hơn, có thể đổi tỷ lệ */
@media (max-width: 768px) {
  .slide-img {
    aspect-ratio: 4 / 3;
  }
}

/* Hiển thị số thứ tự ở góc phải dưới */
#image-gallery li {
  position: relative;
  overflow: hidden;
}

#image-gallery .slide-counter {
  position: absolute;
  right: 10px;
  bottom: 5px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  z-index: 5; /* Đặt cao hơn hình */
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.8); /* ✅ viền trắng mềm */
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Gallery thumbnails */
.lSGallery {
  transform: translateX(-50%);/* dịch trái 50% để canh giữa thật */
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 10;
  width: auto;                /* auto để gallery không bị kéo full width */
  margin: 0;
  padding: 2px 0px;
    border-top: 1px solid rgba(245,210,122,0.45);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.lSPager li {
  aspect-ratio: 1 / 1;
  width: 8vw;       /* chiếm 8% chiều rộng màn hình */
  max-width: 70px;  /* không vượt quá 70px */
  border-radius: 4px;
  overflow: hidden;
      border-radius: 6px;
    transition: all 0.25s ease;
    opacity: 0.7;
}

.lSPager li:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.single-property-content .lSSlideOuter .lSPager li.active {
    border: 2px solid #008C44;
    opacity: 1;
    box-shadow: 0 0 12px rgba(0,140,68,0.5);
}

.lSPager li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-property-content .lSSlideOuter .lSPager {
    display: inline-block;
}
.single-property-content .lSSlideOuter .lSPager li.active, .single-property-content .lSSlideOuter .lSPager li:hover {
    border-radius: 0px;
}
.single-property-content .lSSlideOuter .lSPager li.active, .single-property-content .lSSlideOuter .lSPager li:hover {
    border: 2px solid #FFF;
}
.single-property-content .light-slide-item {
    position: relative; 
    overflow: hidden;
}
.single-property-content .lSAction > .lSNext {
    background-image: url("../../public/fwsimages/arrow-right.svg");
    background-position: center center;
}
.single-property-content .lSAction > .lSPrev {
    background-image: url("../../public/fwsimages/arrow-left.svg");
    background-position: center center;
}

.clearfix {
    clear: both;
}
.s-property-title {
    margin-bottom: 15px;
    color: #006B3F;
    font-size: 18px;
}

.s-property-title::after {
    background-color: #E5E6E7;
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    margin: 3px 0px 0px 2px;
}
.property-single-content p {
    margin-bottom: 20px;
}
.space1{
    height: 20px;
}
.property-meta-vcb{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-top:12px;
}

/* card */
.meta-item{
    display:flex;
    align-items:center;
    padding:12px 14px;
    border-radius:12px;
    background:#f5f7f6;
    border:1px solid #e3ebe7;
}

/* icon circle */
.meta-icon{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#007a3d;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    margin-right:10px;
}

/* label */
.meta-label{
    font-size:13px;
    color:#6c757d;
}

/* value */
.meta-value{
    font-size:16px;
    font-weight:600;
    color:#1f2d3d;
}

/* price highlight */
.price-item{
    background:#e9f5ee;
    border:1px solid #cfe8d9;
}

.price-item .meta-value{
    color:#007a3d;
    font-size:18px;
    font-weight:700;
}

/* desktop */
@media (min-width:768px){

.property-meta-vcb{
    grid-template-columns:repeat(4,1fr);
}

.meta-item{
    padding:16px 18px;
}

.meta-value{
    font-size:17px;
}

.price-item .meta-value{
    font-size:20px;
}

}
.property-info-entry .property-info-label {
    font-size: 13px;
    display: block;
    line-height: 15px;
}
.property-info-entry .property-info-value {
    font-size: 18px;    
    line-height: 24px;
    white-space: nowrap;
} 
.property-info-unit{
    font-size: 12px;    
    line-height: 12px;
    white-space: nowrap;
}
.additional-details-list{
    list-style: outside none none;
    margin: 0px;
    padding: 0px;
}
.additional-details-list li{
    overflow: hidden;
    margin: 2px;
    border: 1px solid #F3F3F3;
}
.add-d-title {
    font-weight: 600;
    background: linear-gradient(135deg, #008C44, #E6F4EA);
    margin: 0px;
    color: #FFF;
}
.add-d-title:hover {
     background-color: #006B3F;
}

.sidebar-property{
    background-color:#EEE;
    padding: 15px 25px 25px;
}

.clear{ 
    clear: both;
    overflow: hidden;
}
.dealer-content p{
    padding-left: 10px;
}
.section {
    padding-top: 15px;
    /*padding-bottom: 15px; */
}
.property-features ul {
    padding: 0px ;
    list-style: outside none none;
}
.property-features ul li{
    margin: 0px 15px 15px 0px;
    display: inline-table;
}
.property-features ul li a::after{
    content: "/";
    color: #008C44;
    font-weight: bold;
    padding-left: 5px;
    font-size: 14px;
}
.property-features ul li a{
    color: #9C9C9C;
    font-weight: 500;
}
.property-features ul li a:hover{    
    color: black;
}
.roperty-social ul{
    padding: 0px;
    margin: 0px;
    list-style: outside none none ;
}
.roperty-social ul li{
    display: inline-block;
    margin: 5px;
}
.property-style2 .dealer-widget {
    background-color: #838383; 
}
.dealer-section-space{
    margin: -5px -14px 25px;
    background-color: #9B9B9B;
    padding: 10px 25px;
    font-size: 18px;
}
#prop-smlr-slide_0 .owl-item{
    padding: 5px;
}
#prop-smlr-slide_0 .owl-item .item-entry{
    padding: 10px
} 
#prop-smlr-slide_0 .owl-item .item-entry h5 {
    font-weight: 600;
    color: #9B9B9B;
    letter-spacing: 2px;
    position: relative;
}
/*full width property */
.full-width-sld .lSGallery { 
    bottom: 36px;
}

.dealer-action a{
    color: #7E7E7E;
    font-size: 15px;
    font-weight: 300;
}
.dealer-action a:hover{
    color: black;
}
.dealer-action a::after{
    content: "/";
    color: #008C44;
    font-weight: 700;
    font-size: 20px;
    margin: 4px;
}
.register-area{
    padding: 40px;
}

.single-property-content {
    margin: 5px 0px 5px 0px;
    padding: 10px 0px 10px 0px;
}

.row-slide {
    position: relative;
    padding: 4px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
    margin-bottom: 15px;
}


/* Ảnh */
.row-slide .slide-img {
    border-radius: 14px;
}

/* Lớp bóng cho ảnh */
.row-slide .slide-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 60%,
        rgba(3,23,46,0.45) 100%
    );
    pointer-events: none;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .row-slide {
        padding: 2px;
        border-radius: 14px;
    }
}

/* ===== Nâng cấp cho phần chi tiết dưới slide ===== */
.single-property {
    background: linear-gradient(180deg, #f8fbfd, #f1f6fa);
}

.single-property-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.04);
}

/*2. Header & tiêu đề bất động sản */
.single-property-header {
    position: relative;
    overflow: hidden;
    padding: 10px 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgb(238, 242, 246);
}


/* Title */
.property-title{
    font-size:26px;
    font-weight:700;
    color:#007a3d; /* xanh Vietcombank */
    margin:0;
    line-height:1.35;
    letter-spacing:0.2px;
}

/* hiệu ứng gạch dưới sang */
.property-title:after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    margin-top:8px;
    background:#007a3d;
    border-radius:2px;
}

/* Date */
.post-property-date{
    font-size:13px;
    color:#5f6b76;
    background:#f4f8f6;
    border:1px solid #e3ebe7;
    padding:4px 10px;
    border-radius:20px;
    font-weight:500;
}

/* mobile */
@media (max-width:768px){

.property-title{
    font-size:21px;
}

.post-property-date{
    margin-top:6px;
    display:inline-block;
}

}



.property-meta {
    background: linear-gradient(135deg, #008C44, #E6F4EA);;
    border-radius: 14px;
    margin: 22px 0 26px;
    padding: 16px 6px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}

.property-info-label {
    display: block;
    font-weight: 600;
    color: #0b2c3d;
    margin-top: 6px;
    font-size: 14px;
    text-align: center;
}

.property-info-icon,
.property-info {
    display: block;
    text-align: center;
}

.meta-icon {
    fill: #008C44 !important;
    filter: drop-shadow(0 0 6px rgba(0,140,68,.25));
}


/*4. Section (Địa chỉ, mô tả, bản đồ…) */
.section {
    margin-top: 26px;
}

.s-property-title {
    font-size: 17px;
    font-weight: 600;
    color: #0b2c3d;
    position: relative;
    padding-left: 14px;
    margin-bottom: 10px;
}

.s-property-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, #008C44, #008C44);
}

.s-property-content {
    color: #100101;
    line-height: 1.7;
    font-size: 14.5px;
}


/*5.Additional details → bảng cao cấp */


/*6. Map & video → card luxury*/
.map-container,
.video-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* Tỷ lệ 16:9 (9/16 = 0.5625) */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
    border: 1px solid rgba(0,0,0,.05);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.padding-left-right-0 {
	padding-left: 0px;
	padding-right: 0px;
}

/*7.Sidebar môi giới → luxury agent card */
.agent-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.agent-all-post {
    display:block;
    margin-top:12px;

    font-size:13px;
    font-weight:600;

    color:#007a3d;

    text-decoration:none;

    transition:.2s;
}

.agent-all-post:hover{
    color:#005a2b;
    transform:translateX(3px);
}

.poster-card {
	margin-top: 20px;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column; 
    gap: 18px;
    align-items: center;

    border: 1px solid #edf2f7;
    box-shadow:0 8px 24px rgba(0,0,0,.06);

    transition:all .25s ease;
}

.poster-card:hover {
    transform:translateY(-3px);
    box-shadow:0 16px 36px rgba(0,0,0,.12);
}

.agent-name a {
    font-size: 14px;
    font-weight: 700;
    color: #0b2c3d;
}

.agent-avatar{
    width:82px;
    height:82px;
    border-radius:50%;
    object-fit:cover;
	flex-shrink:0;
    border:3px solid #fff;

    box-shadow:
        0 0 0 3px #007a3d,
        0 8px 20px rgba(0,0,0,.15);

    display:block;
}

@media(max-width:767px){

   .agent-avatar{
       width:75px;
       height:75px;
   }
}

.agent-badge {
    display: inline-block;
    background:#e8f5ee;
    color:#007a3d;
    font-size:11px;
    font-weight:600;
    padding: 3px 5px;
    border-radius: 20px;
    margin-left: 6px;
}

.agent-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
}

.agent-btn{
    height:42px;
    min-width:90px;
    padding:10px 16px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    font-weight:600;
    font-size:14px;

    text-decoration:none;

    transition:all .2s ease;
}

.btn-reveal-phone{
    height:42px;
    min-width:110px;
    padding:10px 16px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    background:#f3faf6;
    color:#007a3d;

    border:1px solid #cfe8da;

    font-weight:600;
    font-size:14px;

    cursor:pointer;

    transition:all .2s ease;
}

/* hover */
.btn-reveal-phone:hover{
    background:#e8f5ee;
    border-color:#007a3d;
    transform:translateY(-1px);
}

.post-call-btn{
    height:42px;
    min-width:120px;
    padding:10px 16px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(135deg,#007a3d,#009b4d);
    color:#fff;

    font-weight:600;
    font-size:14px;

    border-radius:10px;
    border:none;

    text-decoration:none;

    transition:all .2s ease;
}

/* hover */
.post-call-btn:hover{
    background:linear-gradient(135deg,#005a2b,#007a3d);
    transform:translateY(-1px);
    box-shadow:0 6px 14px rgba(0,122,61,.35);
}

.btn-zalo {
    background:#fff;
    color:#0a6cff;
    font-weight: 600;
    border-radius: 8px;
    border:1px solid #0a6cff;
}

.btn-zalo:hover {
    background:#f3f7ff;
}

.agent-all-post{
    display:block;
    margin-top:12px;

    font-size:13px;
    font-weight:600;

    text-decoration:none;

    transition:.2s;
}

.agent-all-post:hover{
    color:#084fb5;
    transform:translateX(3px);
}

.poster-fixed {
	display:none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    align-items: center;

    padding: 10px 12px;

    background: #fff;
    border-top: 1px solid #eee;

    box-shadow: 0 -6px 20px rgba(0,0,0,.18);

    animation: slideUp .4s ease;
}

.poster-fixed .right{
    flex:1;
    min-width:0;
    padding-left: 10px;
}

.poster-fixed .name{
    font-size:15px;
    font-weight:600;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* MOBILE ONLY */
@media (max-width: 767px){

    .poster-card{
        display:none !important;
    }

    .poster-fixed{
        display:flex !important;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-actions {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.mobile-actions a,
.mobile-actions .post-call-btn {
    flex: 1;
    justify-content: center;
}

.agent-left {
    position: relative;
}

/* chấm off*/
.agent-left::after {
    content: '';
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 12px;
    height: 12px;
    background:#ccc;
    border-radius: 50%;
    border: 2px solid #fff;
}

.agent-left.online::after{
    background:#008C44;
}

.blog-asside-right {
    position: sticky;
    top: 90px;
}