/* SORPA - Paylas dugmesi ve paylasim penceresi (assets/js/share.js). Klasik: turkuaz; Kurumsal: lacivert, uzerine gelince kirmizi. */
.sorpa-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;padding:10px 18px;border:1px solid #cfd9e3;border-radius:8px;background:#fff;color:#17334e;font-weight:700;font-size:14px;line-height:1.2;font-family:inherit;cursor:pointer;text-decoration:none;transition:border-color .15s,color .15s,background .15s,box-shadow .15s;-webkit-tap-highlight-color:transparent}
.sorpa-share-btn svg{width:18px;height:18px;flex:none;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.sorpa-share-btn svg circle{stroke:none}
.sorpa-share-btn:hover,.sorpa-share-btn:focus-visible{border-color:#00a9a3;color:#00807b;background:#f2fbfb;box-shadow:0 4px 12px rgba(0,128,123,.12)}
.sorpa-share-btn:focus-visible{outline:3px solid rgba(0,169,163,.35);outline-offset:2px}
.sorpa-share-btn.is-icon{width:40px;height:40px;min-height:0;padding:0;border-radius:50%}
.sorpa-share-btn.is-icon svg{width:17px;height:17px}
.sorpa-share-btn.is-light{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.4);color:#fff}
.sorpa-share-btn.is-light:hover,.sorpa-share-btn.is-light:focus-visible{background:rgba(255,255,255,.22);border-color:#fff;color:#fff;box-shadow:none}
html[data-sorpa-theme="kurumsal"] .sorpa-share-btn:not(.is-light):hover,html[data-sorpa-theme="kurumsal"] .sorpa-share-btn:not(.is-light):focus-visible{border-color:var(--k-red,#c8102e);color:var(--k-red,#c8102e);background:#fff5f5;box-shadow:0 4px 12px rgba(200,16,46,.1)}
html[data-sorpa-theme="kurumsal"] .sorpa-share-btn:focus-visible{outline-color:rgba(200,16,46,.3)}

/* Paylasim penceresi */
html.sorpa-sh-lock,html.sorpa-sh-lock body{overflow:hidden}
.sorpa-sh{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:20px;font-family:inherit}
.sorpa-sh[hidden]{display:none!important}
.sorpa-sh-backdrop{position:absolute;inset:0;background:rgba(6,16,28,.55);opacity:0;transition:opacity .2s}
.sorpa-sh-panel{position:relative;box-sizing:border-box;width:min(440px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:20px 22px 18px;border-radius:16px;background:#fff;color:#17334e;box-shadow:0 24px 60px rgba(6,16,28,.32);transform:translateY(14px) scale(.98);opacity:0;transition:transform .22s ease,opacity .22s ease;outline:0}
.sorpa-sh.is-open .sorpa-sh-backdrop{opacity:1}
.sorpa-sh.is-open .sorpa-sh-panel{transform:none;opacity:1}
.sorpa-sh-grip{display:none}
.sorpa-sh-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.sorpa-sh-top h2{margin:0;font-size:19px;line-height:1.2;color:#10263d;font-weight:800}
.sorpa-sh-x{width:36px;height:36px;border:0;border-radius:50%;background:#eef2f6;color:#30475e;font-size:24px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.sorpa-sh-x:hover{background:#e1e8ef}
.sorpa-sh-preview{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #e3e9ef;border-radius:12px;background:#f7f9fb;margin-bottom:18px}
.sorpa-sh-preview img{width:56px;height:56px;flex:none;object-fit:cover;border-radius:8px;background:#e8eef3}
.sorpa-sh-preview div{min-width:0}
.sorpa-sh-preview strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35;color:#17334e}
.sorpa-sh-preview small{display:block;margin-top:3px;color:#6a7b8c;font-size:12px}
.sorpa-sh-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 6px;margin-bottom:18px}
.sorpa-sh-app{display:flex;flex-direction:column;align-items:center;gap:7px;padding:4px 2px;border:0;background:none;color:#26394d!important;text-decoration:none!important;font-weight:600;font-size:12.5px;line-height:1.2;font-family:inherit;cursor:pointer;border-radius:10px;-webkit-tap-highlight-color:transparent}
.sorpa-sh-app i{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;color:#fff;transition:transform .15s,box-shadow .15s}
.sorpa-sh-app i svg{width:27px;height:27px}
.sorpa-sh-app:hover i,.sorpa-sh-app:focus-visible i{transform:translateY(-2px);box-shadow:0 6px 14px rgba(6,16,28,.18)}
.sorpa-sh-app:focus-visible{outline:2px solid #3d8ed0;outline-offset:2px}
.sorpa-sh-app.is-wa i{background:#25d366}
.sorpa-sh-app.is-fb i{background:#1877f2}
.sorpa-sh-app.is-ig i{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.sorpa-sh-app.is-x i{background:#111}
.sorpa-sh-app.is-mail i{background:#5b6b7c}
.sorpa-sh-app.is-more i{background:#e8edf2;color:#30475e}
.sorpa-sh-copy{display:flex;gap:8px;align-items:stretch}
.sorpa-sh-copy input{flex:1 1 auto;min-width:0;box-sizing:border-box;height:46px;margin:0;padding:0 12px;border:1px solid #d3dce5;border-radius:9px;background:#f7f9fb;color:#33475b;font-size:14px;line-height:1;font-family:inherit}
.sorpa-sh-copy button{flex:none;height:46px;padding:0 18px;border:0;border-radius:9px;background:#00a9a3;color:#fff;font-weight:700;font-size:14px;line-height:1;font-family:inherit;cursor:pointer;transition:background .15s}
.sorpa-sh-copy button:hover{background:#00908b}
.sorpa-sh-copy button.is-done{background:#16834f}
html[data-sorpa-theme="kurumsal"] .sorpa-sh-copy button{background:var(--k-navy,#0a1a2e)}
html[data-sorpa-theme="kurumsal"] .sorpa-sh-copy button:hover{background:var(--k-red,#c8102e)}
html[data-sorpa-theme="kurumsal"] .sorpa-sh-copy button.is-done{background:#16834f}
.sorpa-sh-note{min-height:0;margin:10px 0 0;color:#1d6a45;font-size:13px;line-height:1.5}
.sorpa-sh-note:empty{display:none}

/* Telefon: alttan acilan pencere */
@media(max-width:720px){
 .sorpa-sh{align-items:flex-end;padding:0}
 .sorpa-sh-panel{width:100%;max-height:88vh;max-height:88dvh;border-radius:20px 20px 0 0;padding:10px 18px calc(18px + env(safe-area-inset-bottom));transform:translateY(100%);opacity:1;transition:transform .26s cubic-bezier(.2,.8,.2,1)}
 .sorpa-sh-grip{display:block;width:42px;height:5px;margin:0 auto 10px;border-radius:5px;background:#d3dbe3}
 .sorpa-sh-top{margin-bottom:12px}
 .sorpa-sh-top h2{font-size:18px}
 .sorpa-sh-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 6px}
 .sorpa-sh-app{font-size:12px}
 .sorpa-sh-app i{width:56px;height:56px}
 .sorpa-sh-copy input{font-size:16px}
}
@media(max-width:340px){.sorpa-sh-app i{width:48px;height:48px}.sorpa-sh-app i svg{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){.sorpa-sh-panel,.sorpa-sh-backdrop,.sorpa-sh-app i{transition:none}}

/* Yerlesim: urun detay */
.sorpa-detail-info .sorpa-detail-share{margin:22px 0 0;padding:13px 20px;font-size:15px;vertical-align:top}
@media(max-width:720px){
 html body .has-mobile-detail .sorpa-detail-info .sorpa-detail-share{order:3;display:flex;width:100%;min-height:48px;margin:0;border-radius:10px;font-size:15px}
}

/* Yerlesim: haber ve referans detayinda "paylasin" satiri */
.sorpa-share-row{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;margin-top:26px;padding:16px 18px;border:1px solid #e3e9ef;border-radius:12px;background:#f7f9fb}
.sorpa-share-row>span{font-weight:800;font-size:15px;color:#17334e}
.sorpa-share-row .sorpa-share-btn{background:#fff}
/* Buyutulmus fotograf pencerelerinde "Fotografi Paylas" */
.sorpa-lb-share.sorpa-share-btn{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:3;white-space:nowrap;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
@media(max-width:720px){
 .sorpa-share-row{padding:14px}
 .sorpa-share-row .sorpa-share-btn{flex:1 1 100%;min-height:48px}
 .sorpa-lb-share.sorpa-share-btn{bottom:calc(14px + env(safe-area-inset-bottom));min-height:46px;padding:10px 22px}
}
.ref-lightbox .ref-lightbox-count{bottom:78px}
.ref-lightbox{padding-bottom:120px!important}
.ref-lightbox .ref-lightbox-image{max-height:calc(100vh - 190px);max-height:calc(100dvh - 190px)}

/* Yerlesim: Projelerden Kareler (galeri) */
.spg-info{position:relative}
.spg-info .spg-share{position:absolute;top:12px;right:12px}
.spg-info .spg-share~h2{padding-right:44px}
.spg-info .spg-share~.spg-cat,.spg-info .spg-cat{display:inline-block;padding-right:44px}
.spg-card.spg-target{box-shadow:0 0 0 3px #00a9a3,0 10px 30px rgba(0,128,123,.2);transition:box-shadow .4s}
html[data-sorpa-theme="kurumsal"] .spg-card.spg-target{box-shadow:0 0 0 3px var(--k-red,#c8102e),0 10px 30px rgba(200,16,46,.15)}
.spg-modal .spg-modal-share{bottom:18px}
.spg-modal#spg-modal{padding-bottom:84px}
.spg-modal#spg-modal img{max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px)}
