/* Local hooks keep real-transaction, auction and global map controls unchanged. */
#item_detail .bugisa-property-detail .property-facility-tabs > button.title{appearance:none;font-family:inherit;background:transparent;border:0;text-align:center;cursor:pointer}
#item_detail .bugisa-property-detail .property-facility-tabs > button.title:focus-visible{outline:2px solid #7398dd;outline-offset:2px}

@media screen and (max-width:900px){
 #item_detail .bugisa-property-detail #loca_tabs.property-surroundings-section{width:100%;min-width:0;padding:16px 18px!important;box-sizing:border-box}
 #item_detail .bugisa-property-detail #loca_tabs.property-surroundings-section .location_info_box>.title,
 #item_detail .bugisa-property-detail #loca_tabs.property-surroundings-section .loca_map>.title{margin:0!important;padding:0 0 12px!important;border:0!important;background:transparent;color:#2a384c;font-size:16px;font-weight:700;line-height:24px}
 #item_detail .bugisa-property-detail #loca_tabs.property-surroundings-section>.title_tab_wrap,
 #item_detail .bugisa-property-detail #loca_tabs.property-surroundings-section>.near_tab{width:100%;min-width:0;padding:0!important;box-sizing:border-box}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_info_box{padding:0!important;border:0!important;border-radius:0!important}
 #item_detail .bugisa-property-detail .property-surroundings-section .property-facility-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;width:100%;padding:4px;margin:14px 0 12px;border:1px solid #e5e8ee;border-radius:9px;background:#f3f5f8;box-sizing:border-box}
 #item_detail .bugisa-property-detail .property-surroundings-section .property-facility-tabs > button.title{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:40px;padding:8px 2px;margin:0!important;border:0!important;border-radius:6px;color:#657080!important;background:transparent;font-size:14px;font-weight:400;line-height:22px;box-sizing:border-box}
 #item_detail .bugisa-property-detail .property-surroundings-section .property-facility-tabs > button.title.on{color:#285fb8!important;background:#fff;box-shadow:0 1px 4px #20365312;font-weight:700}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_content{display:none!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_content.on{display:block!important}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 6px;width:100%;margin:0;padding:0;box-sizing:border-box}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box{display:flex!important;flex-direction:column;align-items:center;justify-content:flex-start;float:none!important;min-width:0;width:100%!important;margin:0!important;padding:0;border:0;background:transparent;box-sizing:border-box}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box .icon{display:flex!important;position:relative;align-items:center;justify-content:center;width:100%!important;max-width:56px;height:44px!important;min-height:0;margin:0 auto!important;padding:0!important;border:1px solid #e9edf2;border-radius:8px;background:#f7f9fc!important;box-sizing:border-box;line-height:1}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box .icon i,
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box .icon span{position:static!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;margin:0;padding:0;color:#6c7e96!important;font-size:21px!important;line-height:1!important}
 #item_detail .bugisa-property-detail #loca_tabs.property-surroundings-section .location_option .option_box .tt{display:block;position:static!important;inset:auto!important;transform:none!important;width:100%;min-width:0;margin:5px 0 0!important;padding:0;color:#4d596a!important;font-family:inherit;font-size:var(--property-fit-size,12px)!important;font-weight:400;line-height:18px;text-align:center;letter-spacing:-.25px;white-space:var(--property-fit-white-space,nowrap);overflow-wrap:anywhere;box-sizing:border-box}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box.active .icon{background:#edf3ff!important;border-color:#c4d5f1}
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box.active .icon i,
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box.active .icon span,
 #item_detail .bugisa-property-detail .property-surroundings-section .location_option .option_box.active .tt{color:#285fb8!important;font-weight:700}

}

 /* Shared traffic layout: the new route wrapper must also stay aligned on PC. */
 #item_detail .bugisa-property-detail .property-transit-section,
 #item_detail .bugisa-property-detail #loca_tabs>.property-transit-section,
 #item_detail.item_target_detail .bugisa-property-detail .transit_location_box.property-transit-section{width:100%!important;min-width:0;margin:0 0 18px!important;padding:17px 18px 18px!important;border:1px solid #e7ecf3;border-radius:10px;background:#fff;box-sizing:border-box}
 #item_detail .bugisa-property-detail .property-transit-section .content_box,
 #item_detail .bugisa-property-detail #subway_tab .table_info_box,
 #item_detail .bugisa-property-detail #subway_tab .content{width:100%!important;min-width:0;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box}
 #item_detail .bugisa-property-detail #subway_tab .property-transit-heading{display:flex!important;align-items:center!important;justify-content:space-between;gap:8px;width:100%!important;min-height:25px;margin:0 0 13px!important;padding:0!important;border:0!important;background:transparent!important;color:#263445!important;font-family:BugisaPropertySans,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;font-size:16px!important;font-weight:700!important;line-height:25px!important;box-sizing:border-box}
 #item_detail .bugisa-property-detail #subway_tab .property-transit-heading > span:first-child{flex:0 0 auto;width:auto!important;height:auto!important;margin:0!important;padding:0!important;color:#263445!important;font-family:BugisaPropertySans,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;font-size:16px!important;font-weight:700!important;line-height:25px!important;white-space:nowrap}
 #item_detail .bugisa-property-detail #subway_tab .property-transit-heading .smalls{display:block!important;position:static!important;inset:auto!important;flex:1;min-width:0;width:auto!important;height:auto!important;margin:0!important;padding:0!important;color:#8791a0!important;font-family:inherit!important;font-size:var(--property-fit-size,11px)!important;font-weight:400!important;line-height:18px!important;text-align:right!important;letter-spacing:-.3px;white-space:var(--property-fit-white-space,nowrap);overflow-wrap:anywhere}
 #item_detail .bugisa-property-detail #subway_tab .subway_info_box_cnt{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch;gap:8px!important;width:100%!important;margin:0!important;padding:0!important;text-align:left;box-sizing:border-box}
 #item_detail .bugisa-property-detail #subway_tab .subway_info_box_cnt > span{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;align-items:center;justify-content:stretch!important;gap:8px 6px!important;float:none!important;position:static!important;width:100%!important;min-width:0!important;min-height:74px!important;height:auto!important;margin:0!important;padding:11px 10px!important;border:1px solid #e5eaf0!important;border-radius:8px!important;background:#fafbfd!important;box-shadow:none!important;box-sizing:border-box;text-align:left!important}
 #item_detail .bugisa-property-detail #subway_tab .subway_info_box_cnt > span > span{position:static!important;inset:auto!important;transform:none!important;float:none!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;box-sizing:border-box;font-family:inherit!important;letter-spacing:-.25px}
 #item_detail .bugisa-property-detail #subway_tab .subway_info_box_cnt .subway_name{display:block!important;grid-column:1!important;grid-row:1!important;padding:0!important;color:#25354a!important;font-size:var(--property-fit-size,14px)!important;font-weight:700!important;line-height:21px!important;text-align:left!important;white-space:var(--property-fit-white-space,nowrap);overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
 #item_detail .bugisa-property-detail #subway_tab .subway_info_box_cnt .property-transit-lines{display:flex!important;grid-column:1/-1!important;grid-row:2!important;flex-flow:row wrap;align-items:center;justify-content:flex-start;gap:4px!important;width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
 #item_detail .bugisa-property-detail #subway_tab .subway_info_box_cnt .subway_type{display:block!important;flex:0 1 auto;position:static!important;inset:auto!important;float:none!important;min-width:0!important;max-width:100%!important;width:fit-content!important;height:auto!important;margin:0!important;padding:2px 7px!important;border:0!important;border-radius:5px!important;background:var(--property-transit-line-color,#69788b)!important;color:var(--property-transit-line-text,#fff)!important;font-family:BugisaPropertySans,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif!important;font-size:var(--property-fit-size,11px)!important;font-weight:700!important;line-height:18px!important;text-align:center!important;white-space:var(--property-fit-white-space,nowrap);overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
 #item_detail .bugisa-property-detail #subway_tab .subway_info_box_cnt .subway_dist{display:block!important;grid-column:2!important;grid-row:1!important;padding:0!important;color:#788697!important;font-size:11px!important;font-weight:400!important;line-height:21px!important;text-align:right!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}
 /* Route colors mirror the existing shared subway palette in include/style.php. */
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_1{--property-transit-line-color:#08308F}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_2{--property-transit-line-color:#0EA349}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_3{--property-transit-line-color:#F08302}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_4{--property-transit-line-color:#00A5DF}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_5{--property-transit-line-color:#A14A9B}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_6{--property-transit-line-color:#D09012}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_7{--property-transit-line-color:#627535}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_8{--property-transit-line-color:#E84E72}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_9{--property-transit-line-color:#BE941C}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_10{--property-transit-line-color:#004EA7}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_11{--property-transit-line-color:#79C0A0;--property-transit-line-text:#173a30}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_12{--property-transit-line-color:#33C7A7;--property-transit-line-text:#173a30}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_13{--property-transit-line-color:#FCD204;--property-transit-line-text:#453b0a}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_14{--property-transit-line-color:#038FA0}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_15{--property-transit-line-color:#8BE800;--property-transit-line-text:#29420a}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_16{--property-transit-line-color:#CD2234}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_17{--property-transit-line-color:#56AB32}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_18{--property-transit-line-color:#B7B7B7;--property-transit-line-text:#303947}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_19{--property-transit-line-color:#3399FF}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_20{--property-transit-line-color:#F6BA02;--property-transit-line-text:#453b0a}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_21{--property-transit-line-color:#6496DF}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_22{--property-transit-line-color:#FD9800;--property-transit-line-text:#482d04}
 #item_detail .bugisa-property-detail #subway_tab .seoul_subway_23{--property-transit-line-color:#DBC57D;--property-transit-line-text:#453b0a}
 #item_detail .bugisa-property-detail #subway_tab .busan_subway_1{--property-transit-line-color:#EE5A00}
 #item_detail .bugisa-property-detail #subway_tab .busan_subway_2{--property-transit-line-color:#4DAE2D}
 #item_detail .bugisa-property-detail #subway_tab .busan_subway_3{--property-transit-line-color:#D38D14}
 #item_detail .bugisa-property-detail #subway_tab .busan_subway_4{--property-transit-line-color:#4061AE}
 #item_detail .bugisa-property-detail #subway_tab .busan_subway_5{--property-transit-line-color:#884A97}
 #item_detail .bugisa-property-detail #subway_tab .busan_subway_6{--property-transit-line-color:#0086CF}
 #item_detail .bugisa-property-detail #subway_tab .daegu_subway_1{--property-transit-line-color:#F25E3A}
 #item_detail .bugisa-property-detail #subway_tab .daegu_subway_2{--property-transit-line-color:#44B251}
 #item_detail .bugisa-property-detail #subway_tab .daegu_subway_3{--property-transit-line-color:#FBBE53;--property-transit-line-text:#482d04}
 #item_detail .bugisa-property-detail #subway_tab .daejeon_subway_1{--property-transit-line-color:#8D90A1}
 #item_detail .bugisa-property-detail #subway_tab .gwangju_subway_1{--property-transit-line-color:#39B64A}
