/* County visual language for existing property details and controls. */
.property-detail { background: #f7f9fb; color: #263241; font-family: "Microsoft JhengHei",Arial,sans-serif; }
.property-detail > .container { background: #f7f9fb !important; box-shadow: none; }
.property-detail main { background: transparent; }
.property-detail #yes319Navbar,.property-detail #yes319Navbar > .container-fluid { background: transparent !important; }
.property-detail #yes319Navbar.fixed-top { backdrop-filter: blur(16px); border-radius: 0 0 8px 8px; }
.property-detail #yes319Navbar .wrap-links a.active { color: #a52427; border-bottom-color: #a52427; }
.property-detail #obj-detail { padding: 16px 12px 32px; }
.property-detail .property-page-title { margin-bottom: 20px; padding: 0 4px; font-size: clamp(24px,2.4vw,34px); font-weight: 700; line-height: 1.5; color: #263241; }
.property-detail .property-page-title :is(span,font) { color: inherit; }
.property-detail #data-obj-menu { padding: 0; margin-bottom: 20px; border: 0; background: transparent; }
.property-detail #data-obj-menu > .nav-tabs { margin-bottom: 12px; border-color: #e0e7ee; }
.property-detail #data-obj-menu .nav-link { padding: 10px 16px; border: 0; background: transparent; color: #647386; }
.property-detail #data-obj-menu .nav-link.active { color: #a52427; box-shadow: inset 0 -3px #a52427; }
.property-detail #data-obj-menu > .tab-content { align-items: flex-start; row-gap: 16px; padding: 0; border: 0; background: transparent; }
/* The inline map fills the contact row; mobile keeps its own map height. */
.property-detail #showObjDataVideo1 { align-self: stretch; min-height: 350px; }
.property-detail #showObjDataVideo1.active { display: flex; flex-direction: column; }
.property-detail #showObjDataVideo1 #show1 { flex: 1; display: flex; flex-direction: column; height: auto !important; min-height: 350px; }
.property-detail #showObjDataVideo1 .fullscreenContainer,
.property-detail #showObjDataVideo1 .sample { flex: 1; display: flex; flex-direction: column; height: auto; min-height: 0; }
.property-detail #showObjDataVideo1 .poiTab { flex: none; }
.property-detail #showObjDataVideo1 .poiTabContent { flex: 1; height: auto; min-height: 300px; }
.property-detail #showObjDataVideo1 .poiTabContent #map { flex: 1; height: auto; min-width: 0; }
.property-detail #showObjDataVideo1 .sample:fullscreen { height: 100%; width: 100%; }
.property-detail #data-obj-img { padding: 16px; border: 1px solid #e0e7ee; border-radius: 12px; background: #fff; }
.property-detail #obj-img-carusel { overflow: visible; margin-bottom: 64px !important; }
.property-detail #obj-img-carusel .carousel-inner { overflow: hidden; border-radius: 8px; background: #f1f5f9; }
.property-detail #obj-img-carusel .fit-contain { height: clamp(340px,38vw,540px); background: #f1f5f9; }
.property-detail #obj-img-carusel .fit-contain > img { width: 100%; height: 100%; object-fit: contain; }
.property-detail #obj-img-carusel .carousel-indicators { bottom: -56px; gap: 8px; }
.property-detail #obj-img-carusel .carousel-indicators > button { width: 64px; height: 46px; padding: 0; margin: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; opacity: .65; }
.property-detail #obj-img-carusel .carousel-indicators > button.active { border-color: #a52427; opacity: 1; }
.property-detail #obj-img-carusel .carousel-control-prev,.property-detail #obj-img-carusel .carousel-control-next { top: 50%; bottom: auto; width: 44px; height: 44px; transform: translateY(-50%); border: 1px solid #cbd5e1; border-radius: 50%; background: rgba(255,255,255,.70); opacity: 1; box-shadow: 0 2px 10px #0003; }
.property-detail #obj-img-carusel .carousel-control-prev { left: 10px; }
.property-detail #obj-img-carusel .carousel-control-next { right: 10px; }
.property-detail #obj-img-carusel .carousel-control-prev:hover,.property-detail #obj-img-carusel .carousel-control-next:hover { background: rgba(241,245,249,.96); border-color: #647386; }
.property-detail #obj-img-carusel .carousel-control-prev:focus-visible,.property-detail #obj-img-carusel .carousel-control-next:focus-visible { outline: 2px solid #a52427; outline-offset: 3px; }
.property-detail #obj-img-carusel .carousel-control-prev-icon,.property-detail #obj-img-carusel .carousel-control-next-icon { width: 22px; height: 22px; }
.property-detail .property-contact-column > div { padding: 20px !important; border: 1px solid #e0e7ee !important; border-radius: 12px !important; box-shadow: 0 4px 18px #26324108 !important; background: #fff; }
.property-detail .property-contact-column > div > div:first-child { padding: 0 0 12px !important; }
.property-detail .property-contact-column > div > div:first-child > div { text-align: left !important; color: #263241 !important; font-size: 19px !important; line-height: 1.5; }
.property-detail .data-set-price { padding: 0 0 14px; margin-bottom: 14px; border-color: #edf1f5; }
.property-detail .data-set-price > div:first-child :is(span,font) { color: #a52427 !important; font-weight: 700; }
.property-detail .data-set-price .bg-danger { background-color: #fff1f0 !important; border: 1px solid #f2d4d4; }
.property-detail .column-title-obj,.property-detail .column-title { color: #788698; font-size: 0.928571rem; }
.property-detail .column-data-obj { color: #263241; font-weight: 600; }
.property-detail .data-set-group,.property-detail .data-set-obj { border-color: #edf1f5; }
.property-detail .property-contact-column a[href^="tel:"] { display: block; }
.property-detail .property-contact-column a[href^="tel:"] > div { padding: 9px !important; margin-top: 12px !important; border: 1px solid #a52427; border-radius: 8px !important; background: #a52427; color: #fff; font-size: 1.142857rem !important; }
.property-detail .property-contact-column .link-btn3:not(.link-btn-s6) { padding: 9px !important; border-radius: 8px !important; background: #234e78; border: 1px solid #234e78; color: #fff; font-size: 16px !important; }
.property-detail .property-contact-column :is(a[href^="tel:"] > div,.property-booking-btn) { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; line-height: 1.5; gap: 6px; }
.property-detail .property-contact-column .property-booking-btn { font-size: 1.142857rem !important; }
.property-detail .property-contact-column .link-btn3:not(.link-btn-s6):hover { background: #193c5e; border-color: #193c5e; color: #fff; }
.property-detail .property-contact-column a[href^="tel:"] > div:hover { background: #861d20; border-color: #861d20; color: #fff; }
.property-detail .small-function { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 8px; padding: 0; margin: 0 0 20px; }
.property-detail #obj-detail .small-function > :is(li,a) { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 0 0 122px; min-width: 0; min-height: 42px; height: 42px; white-space: nowrap; line-height: 1.5; text-align: center; margin: 0; padding: 9px 10px; border: 1px solid #d9dce1; border-radius: 8px; background: #fff; color: #626971; font-size: 13px; cursor: pointer; }
.property-detail #obj-detail .small-function > a > li { display: contents; padding: 0; margin: 0; color: inherit; font: inherit; }
.property-detail #obj-detail .small-function :is(i,svg) { color: #8a9099; }
.property-detail #obj-detail .small-function #obj_heart.in :is(i,svg) { color: #a52427; }
.property-detail #obj-detail .small-function > :is(li,a):hover { border-color: #aeb4bc; background: #fff; color: #454c54; }
.property-detail #obj-detail :is(.box-4,.box-2):not(.city-realprice) { margin-bottom: 20px; padding: 24px; border: 1px solid #e0e7ee; border-radius: 12px; background: #fff; box-shadow: none; }
.property-detail #obj-detail :is(.box-4,.box-2):not(.city-realprice) > .title { padding: 0 0 16px; margin: 0; border: 0; border-bottom: 1px solid #edf1f5; background: transparent; color: #263241; font-size: 1.428571rem; font-weight: 700; }
.property-detail #obj-detail :is(.box-4,.box-2):not(.city-realprice) > .title > span { border: 0; font-size: inherit; }
.property-detail #obj-detail :is(.box-4,.box-2):not(.city-realprice) > .content { padding-top: 16px; border: 0; background: transparent; }
.property-detail .detail-box-zone { padding: 16px 0; border-color: #edf1f5; }
.property-detail .detail-box-title2 { color: #788698; font-size: 0.928571rem; }
.property-detail .detail-box-content { color: #263241; line-height: 1.9; }
.property-detail .data-set { margin-bottom: 7px; }
.property-detail #obj-detail .text-center > .row .box { border: 1px solid #e0e7ee; border-radius: 10px; overflow: hidden; box-shadow: none; background: #fff; }
.property-detail #obj-detail :is(a,button):focus-visible { outline: 3px solid #4870a6; outline-offset: 3px; }
@media (min-width: 992px) {
    .property-detail #data-obj-menu > .tab-content { gap: 24px; flex-wrap: wrap; }
    .property-detail #data-obj-menu > .tab-content > .tab-pane { width: calc(100% - 364px); }
    .property-detail .property-contact-column { width: 340px; padding: 0; }
}
@media (max-width: 991.98px) {
    .property-detail #data-obj-img { width: 100%; }
    .property-detail #dataTop-set { margin: 0 0 18px !important; padding: 16px 8px; border: 1px solid #e0e7ee; border-radius: 10px; background: #fff; }
    .property-detail #obj-img-carusel .fit-contain { height: clamp(280px,62vw,520px); }
}
@media (max-width: 767.98px) {
    .property-detail #obj-detail { padding: 12px 8px 16px; }
    .property-detail .property-page-title { margin-bottom: 14px; font-size: 25px; }
    .property-detail #data-obj-img { padding: 8px; }
    .property-detail #obj-img-carusel { margin-bottom: 0 !important; }
    .property-detail .small-function { gap: 6px; }
    .property-detail #obj-detail .small-function > :is(li,a) { flex-basis: calc((100% - 12px) / 3); padding: 8px 6px; font-size: 12px; }
    .property-detail #obj-detail :is(.box-4,.box-2):not(.city-realprice) { padding: 18px 14px; }
    .property-detail #obj-detail :is(.box-4,.box-2):not(.city-realprice) > .title { font-size: 1.285714rem; }
    .property-detail .detail-box-content { overflow-wrap: anywhere; }
    .property-detail .detail-box .data-set { width: 100%; }
}
@media print { .property-detail,.property-detail > .container { background: #fff !important; } }
.property-detail .property-page-title .h4 { font-size: inherit; font-weight: 700; line-height: inherit; }
.property-detail .property-page-title h1.h4 { padding: 0; color: inherit; font-family: inherit; vertical-align: baseline; }
.property-detail .property-page-title .text-secondary { font-size: 13px; font-weight: 400; color: #788698 !important; }
.property-detail #data-obj-menu > .nav-tabs:not(:has(li)) { display: none; }
.property-detail #SaleInfo_bottom { border: 1px solid #e0e7ee; border-radius: 0 0 10px 10px; background: #ffffffed; backdrop-filter: blur(16px); box-shadow: 0 4px 18px #26324110; color: #263241; }
.property-detail #SaleInfo_bottom .btn-success { background: #a52427; border-color: #a52427; }
.property-detail #SaleInfo_bottom .btn { border-radius: 7px; }
.property-detail #SaleInfo_bottom .property-booking-btn { background: #234e78; border-color: #234e78; color: #fff; }
.property-detail #SaleInfo_bottom .property-booking-btn:hover { background: #193c5e; border-color: #193c5e; color: #fff; }
.property-detail [SaleDate] .logo-fx-1 { max-width: 160px; min-width: 0; }
.property-detail [SaleDate] .logo-fx-1 img { box-shadow: none; }
.property-detail .property-page-title > div { font-size: inherit; }

@media (max-width: 767.98px) {
    .property-detail [SaleDate] .logo-fx-1 { max-width: 128px; }
}

/* Featured and related listings share the county card design. */
.property-detail .property-recommendations > .title > :is(i,svg) { color: #a52427; }
.property-detail .property-recommendations > .content { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-inline: 0 !important; padding-inline: 0; padding-bottom: 0; }
.property-detail .property-recommendations .property-card { display: block; width: 100%; min-width: 0; height: 270px; margin: 0; padding: 0; }
@media (max-width: 1199.98px) {
    .property-detail .property-recommendations > .content { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    .property-detail .property-recommendations > .content { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .property-detail .property-recommendations .property-card { height: 250px; }
}

@media (max-width: 991.98px) {
    .property-detail .property-utility-column { margin-bottom: 20px; }
    .property-detail .property-utility-buttons { display: flex; gap: 8px; align-items: stretch; }
    .property-detail .property-utility-buttons > .link-btn-s1 { flex: 1 1 0; min-width: 0; width: auto; margin-bottom: 0; padding: 12px 6px; font-size: .928571rem; white-space: normal; overflow-wrap: anywhere; }
    .property-detail .property-utility-buttons > .link-btn-s1 > svg { font-size: 1.285714rem; }
    .property-detail .property-utility-buttons [data-Loanshowmsg] { font-size: .857143rem; }
}
