/* V169｜老胡聊房物件專區 */
:root{--prop-purple:#5a1769;--prop-purple2:#7b3389;--prop-gold:#e4b73e;--prop-ink:#29222d;--prop-muted:#746b77;--prop-line:#e7dfe9;--prop-bg:#f8f5f9}
.propertyHome{padding:58px 0 62px;background:linear-gradient(180deg,#fff,#faf7fb)}
.propertyHomeHead,.propertyPageHead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.propertyEyebrow{font-size:12px;font-weight:900;letter-spacing:.15em;color:var(--prop-purple);margin-bottom:7px}
.propertyHome h2,.propertyPageHead h2{margin:0;color:#451052;font-size:30px;line-height:1.25}
.propertyHomeHead p,.propertyPageHead p{margin:7px 0 0;color:var(--prop-muted);line-height:1.7}
.propertyMoreBtn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border-radius:999px;background:#5a1769;color:#fff;font-weight:900;font-size:14px;box-shadow:0 7px 18px rgba(90,23,105,.18)}
.propertyGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.propertyCard{background:#fff;border:1px solid var(--prop-line);border-radius:18px;overflow:hidden;box-shadow:0 8px 22px rgba(66,25,74,.08);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.propertyCard:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(66,25,74,.13)}
.propertyCardPhoto{position:relative;aspect-ratio:4/3;background:linear-gradient(145deg,#ded0e5,#9169a0 58%,#4b2e55);overflow:hidden}
.propertyCardPhoto img{width:100%;height:100%;object-fit:cover;display:block}
.propertyCardPhoto:after{content:"老胡聊房";position:absolute;right:11px;bottom:9px;color:#fff;font-size:11px;font-weight:900;text-shadow:0 1px 5px #0008}
.propertyCardTags{position:absolute;left:10px;top:10px;display:flex;gap:6px;flex-wrap:wrap;z-index:2}
.propertyTag{display:inline-flex;align-items:center;min-height:25px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.94);color:#5a1769;font-size:11px;font-weight:900;box-shadow:0 3px 10px #0002}
.propertyTag.gold{background:#f6d76e;color:#522c00}
.propertyCardBody{padding:14px 14px 15px}
.propertyCardArea{font-size:12px;color:#7b727f;margin-bottom:6px}
.propertyCardTitle{font-size:17px;font-weight:950;color:#2c2230;line-height:1.42;min-height:48px}
.propertyCardSpecs{display:flex;gap:6px;flex-wrap:wrap;margin:11px 0}
.propertyCardSpecs span{padding:5px 7px;background:#f6f0f7;border-radius:7px;color:#5f5364;font-size:11px;font-weight:800}
.propertyCardBottom{display:flex;justify-content:space-between;align-items:end;gap:8px;border-top:1px solid #eee8f0;padding-top:10px}
.propertyPrice{font-size:22px;font-weight:950;color:#621672;white-space:nowrap}
.propertyPrice small{font-size:11px;color:#837889;margin-left:2px}
.propertyViewMore{font-size:12px;font-weight:900;color:#5a1769}
.propertyEmpty{grid-column:1/-1;padding:34px 20px;border:1px dashed #d9c9dd;border-radius:16px;text-align:center;color:#766d79;background:#fff}
.propertyPageHero{padding:34px 0;background:linear-gradient(135deg,#4b0e5d,#70207f);color:#fff}
.propertyPageHero h1{margin:6px 0 7px;font-size:36px}.propertyPageHero p{margin:0;color:#eaddef}
.propertyFilters{display:grid;grid-template-columns:1.1fr repeat(4,.8fr) auto;gap:10px;background:#fff;padding:14px;border:1px solid var(--prop-line);border-radius:16px;margin-bottom:22px;box-shadow:0 7px 22px rgba(70,24,78,.06)}
.propertyFilters input,.propertyFilters select{width:100%;height:42px;border:1px solid #ddcfdf;border-radius:10px;background:#fff;padding:0 11px;color:#3f3542;font-family:inherit}
.propertyFilterBtn{border:0;border-radius:10px;background:#5a1769;color:#fff;padding:0 16px;font-weight:900;cursor:pointer}
.propertyCount{font-size:13px;color:#746b77;margin:-10px 0 16px}
.propertyDetailShell{padding:36px 0 62px;background:#f8f5f9}
.propertyDetailBack{display:inline-flex;color:#5a1769;font-weight:900;margin-bottom:15px;cursor:pointer}
.propertyGallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:8px;height:460px;margin-bottom:22px}
.propertyGalleryItem{border-radius:16px;overflow:hidden;background:linear-gradient(145deg,#d8c7df,#765082);position:relative}.propertyGalleryItem:first-child{grid-row:1/3}
.propertyGalleryItem img{width:100%;height:100%;object-fit:contain;object-position:center center;display:block;background:#f4f0f5}


.propertyGalleryItem.placeholder:after{content:"物件照片";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:20px;font-weight:900}
.propertyDetailGrid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}
.propertyPanel{background:#fff;border:1px solid var(--prop-line);border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(72,28,78,.06)}
.propertyDetailArea{font-size:13px;color:#756b78}.propertyDetailTitle{font-size:30px;color:#321c38;margin:7px 0 4px;line-height:1.3}.propertyDetailPrice{font-size:34px;font-weight:950;color:#651675;margin:12px 0}
.propertyDetailPrice small{font-size:13px;color:#83778a;margin-left:5px}
.propertyUnitPriceInline{display:inline-block;margin-left:12px;font-size:14px;line-height:1.5;font-weight:900;color:#d62828;vertical-align:middle}
.propertyFacts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.propertyFact{padding:11px;background:#f7f2f8;border-radius:10px}.propertyFact span{display:block;font-size:11px;color:#7c717f}.propertyFact b{display:block;margin-top:4px;font-size:14px;color:#3f3442}
.propertyHuTitle{font-size:28px;line-height:1.35;color:#52125f;margin:0 0 14px;font-weight:950}
.propertyHuText{font-size:18px;line-height:2;color:#4f4652;margin:0;font-weight:650}
.propertyFeatureRow{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}
.propertyFeatureRow span{padding:9px 13px;border-radius:999px;background:#f0e6f3;color:#5c1d68;font-size:15px;line-height:1.45;font-weight:900}
.propertyContactBox{margin-top:17px;border-radius:14px;background:linear-gradient(135deg,#f6eef8,#fff6d9);padding:15px}.propertyContactBox b{display:block;color:#451052;font-size:17px}.propertyContactActions{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.propertyContactActions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:10px;padding:0 13px;font-weight:900;font-size:13px}.propertyPhone{background:#5a1769;color:#fff}.propertyLine{background:#19b85a;color:#fff}
.propertySection{margin-top:18px}.propertySection h3{font-size:21px;color:#471153;margin:0 0 10px}.propertyDataGrid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--prop-line);border-radius:15px;overflow:hidden;background:#fff}.propertyDataItem{padding:13px;border-right:1px solid var(--prop-line);border-bottom:1px solid var(--prop-line)}.propertyDataItem:nth-child(4n){border-right:0}.propertyDataItem span{display:block;font-size:11px;color:#7e747f;margin-bottom:4px}.propertyDataItem b{font-size:14px;color:#3d3340;word-break:break-word}
.propertyPhotoNote{font-size:12px;color:#7b717e;margin:-2px 0 12px;line-height:1.7}
.propertyAllPhotos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.propertyAllPhoto{width:100%;height:360px;background:#fff;border:1px solid var(--prop-line);border-radius:18px;overflow:hidden;box-shadow:0 8px 22px rgba(72,28,78,.05);display:flex;align-items:center;justify-content:center;padding:10px}
.propertyAllPhoto img{display:block;width:100%;height:100%;object-fit:contain;background:#f5f2f6;border-radius:12px}
.propertyMap{border:1px solid var(--prop-line);border-radius:16px;overflow:hidden;background:#fff}.propertyMapHead{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid var(--prop-line)}.propertyMapHead b{color:#43104f}.propertyMapHead span{font-size:12px;color:#7a6f7d}.propertyMap iframe{width:100%;height:360px;border:0;display:block;background:#eee6f0}
.propertyDisclaimer{font-size:11px;color:#807683;line-height:1.7;margin-top:9px}
@media(max-width:1100px){.propertyGrid{grid-template-columns:repeat(3,1fr)}.propertyFilters{grid-template-columns:repeat(3,1fr)}.propertyFilterBtn{min-height:42px}}
@media(max-width:820px){.propertyGrid{grid-template-columns:repeat(2,1fr)}.propertyDetailGrid{grid-template-columns:1fr}.propertyDataGrid{grid-template-columns:repeat(2,1fr)}.propertyDataItem:nth-child(4n){border-right:1px solid var(--prop-line)}.propertyDataItem:nth-child(2n){border-right:0}.propertyGallery{height:360px}.propertyFilters{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.propertyHome{padding:38px 0}.propertyHomeHead,.propertyPageHead{align-items:flex-start;flex-direction:column}.propertyHome h2,.propertyPageHead h2{font-size:24px}.propertyGrid{grid-template-columns:1fr}.propertyFilters{grid-template-columns:1fr}.propertyPageHero h1{font-size:29px}.propertyGallery{grid-template-columns:1fr 1fr;grid-template-rows:205px 118px;height:331px;gap:8px}.propertyGalleryItem:first-child{grid-column:1/3;grid-row:1}.propertyGalleryItem:not(:first-child){display:block}.propertyAllPhoto{width:100%;padding:8px}.propertyAllPhoto img{max-height:520px}.propertyFacts{grid-template-columns:repeat(2,1fr)}.propertyDataGrid{grid-template-columns:1fr}.propertyDataItem,.propertyDataItem:nth-child(2n),.propertyDataItem:nth-child(4n){border-right:0}.propertyMap iframe{height:290px}.propertyDetailTitle{font-size:25px}.propertyDetailPrice{font-size:29px}}





@media(max-width:820px){
 .propertyAllPhotos{grid-template-columns:1fr;gap:16px}
 .propertyAllPhoto{height:auto;min-height:260px;padding:8px}
 .propertyAllPhoto img{width:100%;height:auto;max-height:520px;object-fit:contain}
}

/* V181｜價格下方單一物件資料區 */
.propertyDataGridMain{
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:16px;
}
.propertyDataGridMain .propertyDataItem:nth-child(4n){border-right:1px solid var(--prop-line)}
.propertyDataGridMain .propertyDataItem:nth-child(2n){border-right:0}
@media(max-width:560px){
  .propertyDataGridMain{grid-template-columns:1fr}
  .propertyDataGridMain .propertyDataItem,
  .propertyDataGridMain .propertyDataItem:nth-child(2n),
  .propertyDataGridMain .propertyDataItem:nth-child(4n){border-right:0}
}


@media(max-width:560px){
 .propertyHuTitle{font-size:24px}
 .propertyHuText{font-size:17px;line-height:1.9}
 .propertyFeatureRow span{font-size:14px;padding:8px 11px}
}


@media(max-width:560px){
 .propertyHome{padding:38px 0 44px}
 .propertyHome .wrap{overflow:visible}
 .propertyHomeHead{margin-bottom:17px}
 #homePropertyGrid.propertyGrid{
   display:flex;
   grid-template-columns:none;
   gap:14px;
   overflow-x:auto;
   overflow-y:hidden;
   scroll-snap-type:x mandatory;
   -webkit-overflow-scrolling:touch;
   padding:2px 18px 14px 0;
   scrollbar-width:none;
 }
 #homePropertyGrid.propertyGrid::-webkit-scrollbar{display:none}
 #homePropertyGrid .propertyCard{
   flex:0 0 82vw;
   max-width:340px;
   scroll-snap-align:start;
 }
 #homePropertyGrid .propertyEmpty{min-width:100%}
 .propertyHomeHead .propertyMoreBtn{white-space:nowrap}
}

@media(max-width:560px){
 .propertyUnitPriceInline{font-size:14px;margin-left:9px}
}

/* V219 exclusive listings */
.propertyTag.exclusive{background:#5a1769;color:#fff;border:1px solid #e4b73e;font-weight:900}
.exclusiveProperties{padding:24px;border:1px solid #e6cf88;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#f7f0fa);margin:24px 0 32px;scroll-margin-top:120px}
.exclusiveProperties .propertyPageHead{margin-bottom:20px}.allPropertiesHeading{color:#451052}
#propertyDetailExclusive[hidden]{display:none!important}
@media(max-width:700px){.exclusiveProperties{padding:16px 12px}.exclusiveProperties .propertyPageHead{align-items:flex-start;flex-direction:column;gap:8px}}
