/* Keep the gallery independent of the height of the contact column. */
.ks-owner-edit-mobile{display:none}
.ks-owner-edit-desktop{display:flex;justify-content:flex-end;margin-bottom:12px}
.ks-owner-edit-desktop:empty{display:none}
.ks-smart-detail a.ks-listing-edit{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border:1px solid #b9dcff;border-radius:11px;background:#e8f4ff;color:#087bd8!important;text-decoration:none!important;font-size:13px;font-weight:800;line-height:1.3;min-height:44px;box-sizing:border-box}
.ks-smart-detail a.ks-listing-edit:hover{background:#d8edff;border-color:#87c4ff}
.ks-smart-detail a.ks-listing-edit:focus-visible{outline:3px solid #168df4;outline-offset:3px}
@media(max-width:1199px){.ks-owner-edit-desktop{display:none!important}.ks-owner-edit-mobile{display:flex;justify-content:flex-end;margin:0 0 12px}.ks-owner-edit-mobile:empty{display:none}}
@media(min-width:992px){
 .ks-smart-detail .ks-media-column{align-self:flex-start!important;display:block!important}
 .ks-smart-detail .ks-media-column .prelative.visible-md.visible-lg{height:clamp(420px,39vw,590px)!important;min-height:0!important;flex:none!important;background:transparent!important;box-shadow:none!important;border:0!important}
 .ks-smart-detail .ks-media-column #genis_gorsel{height:100%!important;max-height:100%!important;padding:18px 18px 44px!important;cursor:zoom-in;object-fit:contain!important}
}
#genis_gorsel:focus-visible{outline:3px solid #1686f7;outline-offset:-4px}
.it-photo-hint{position:absolute;bottom:14px;left:16px;padding:8px 13px;border-radius:24px;background:#fff;color:#1266bc;box-shadow:0 3px 14px #17385f20;font-weight:700;font-size:12px;pointer-events:none}
.it-photo-viewer{border:0;border-radius:0;background:transparent!important;color:#12375e;width:min(1100px,96vw);max-width:96vw;height:90vh;max-height:94vh;padding:0;box-shadow:none!important;overflow:visible}
.it-photo-viewer::backdrop{background:rgba(15,30,50,.38);backdrop-filter:blur(1px)}
.it-photo-toolbar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border:0}
.it-photo-toolbar>span{background:#fff;padding:9px 13px;border-radius:12px;box-shadow:0 2px 12px #12375e15}
.it-photo-viewer button{border:1px solid #dce6f3!important;background:#fff!important;color:#12375e!important;border-radius:12px;padding:9px 15px;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 2px 12px #12375e15}
.it-photo-stage{height:calc(100% - 58px);display:flex;align-items:center;justify-content:center;gap:12px;padding:16px}
.it-photo-stage img{min-width:0;max-width:calc(100% - 120px);width:auto;height:auto;max-height:100%;object-fit:contain;border-radius:10px;cursor:zoom-in;background:transparent!important;box-shadow:0 14px 55px rgba(8,24,45,.3);outline:1px solid rgba(255,255,255,.7)}
.ks-smart-detail .ks-media-column #genis_gorsel{background:transparent!important}
.it-photo-lens{position:fixed;z-index:2147483000;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #1686f7,0 8px 30px #12375e40;background-color:#fff;background-repeat:no-repeat;pointer-events:none;box-sizing:border-box}
.it-photo-lens[hidden]{display:none!important}
.it-photo-stage button{font-size:30px;flex-shrink:0}.it-photo-stage button[hidden]{display:none}
/* Override the legacy bitmap phone decorations with consistent contact actions. */
.ks-seller-card .tel_link{display:block;text-decoration:none!important;margin-top:10px}
.ks-seller-card .tel_link .bilgi{position:relative;display:flex;align-items:center;gap:12px;min-height:64px;margin:0!important;padding:12px!important;border:1px solid #dce8f6!important;border-radius:14px!important;background:#f7faff!important;box-shadow:none!important;transition:background .15s,transform .15s}
.ks-seller-card .tel_link:hover .bilgi{background:#eaf3ff!important;transform:translateY(-1px)}
.ks-seller-card .tel_link .bilgi>i{position:static!important;display:flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px!important;height:38px!important;font-size:21px!important;line-height:1!important;background:#e2efff!important;border-radius:12px;color:#1277d6!important;opacity:1!important;margin:0!important}
.ks-seller-card .tel_link .prel{position:static!important;display:flex;flex:1;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;font-size:12px;font-weight:700;color:#43617e!important;padding:0!important;background:none!important}
.ks-seller-card .tel_link .prel span{position:static!important;float:none!important;font-size:14px;font-weight:800;color:#12375e!important;white-space:nowrap}
.ks-seller-card .tel_link .bilgi.whatsapp{background:#eafaf2!important;border-color:#bdebd3!important;color:#087d47!important}
.ks-seller-card .tel_link .bilgi.whatsapp>i{background:#10ad64!important;color:#fff!important}
.ks-seller-card .tel_link .bilgi.whatsapp .prel,.ks-seller-card .tel_link .bilgi.whatsapp .prel span{color:#087d47!important}
.ks-seller-card .tel_link:hover .bilgi.whatsapp{background:#d9f5e7!important}
@media(max-width:600px){.it-photo-stage{padding:8px;gap:4px}.it-photo-stage img{max-width:calc(100% - 82px)}.it-photo-stage button{padding:6px 10px}}
@media(max-width:991px){
 .container.ilan.ks-smart-detail{width:100%!important;max-width:100%!important;padding-left:12px!important;padding-right:12px!important;min-width:0!important}
 .ks-smart-detail>.row{margin-left:-6px!important;margin-right:-6px!important}
 .ks-smart-detail>.row>.col-md-31,.ks-smart-detail>.row>.col-md-42{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;padding:0 6px!important}
 .ks-smart-detail>.row>.col-md-31>.row,.ks-smart-detail>.row>.col-md-42>.row{display:flex!important;flex-direction:column!important;margin:0!important;width:100%!important;min-width:0!important}
 .ks-smart-detail .ks-media-column,.ks-smart-detail .ks-catalog-summary-col,.ks-smart-detail .ks-sales-card{float:none!important;width:100%!important;max-width:100%!important;flex:0 1 auto!important;min-width:0!important;padding:12px!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
 .ks-smart-detail .ks-catalog-summary{width:100%!important;min-width:0!important;min-height:0!important;overflow-wrap:anywhere}
 .ks-smart-detail .ks-sales-card{min-height:0!important;overflow-wrap:anywhere}
 .ks-smart-detail .ks-sales-card table{width:100%!important;table-layout:fixed}
 .ks-smart-detail .ks-sales-card th,.ks-smart-detail .ks-sales-card td{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere}
 .ks-smart-detail .ks-seller-card,.ks-smart-detail #iletisim_copy{max-width:100%!important;min-width:0!important;width:100%!important}
 .ks-smart-detail .ks-seller-card .magaza_gorsel{max-width:100%}
 .ks-smart-detail .ks-seller-card .blurry{min-width:0!important;width:100%!important}
 .ks-smart-detail .ks-seller-card .tel_link .prel span{white-space:normal!important;overflow-wrap:anywhere}
 .ks-smart-detail .detay{min-width:0!important;max-width:100%!important}
 .ks-smart-detail .detay img,.ks-smart-detail iframe{max-width:100%!important}
 .ks-smart-detail .detay table{display:block;max-width:100%;overflow-x:auto}
 .ks-smart-detail .mobil_fixed_iletisim{left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100vw!important;box-sizing:border-box!important}
 .ks-smart-detail .mobil_fixed_iletisim>div{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
