/* --------------------------------------------------------------------------
   DELJENJE (share sheet) — Viber, WhatsApp, Facebook, Telegram, X, imejl, kopiranje.
   Jedan sheet za sve strane. Dugmad: `.pp-tool` (proizvod), `.share-btn` (liste),
   `.hero-share` (početna), `.foot-share` (podnožje), `.btn btn-secondary` (poređenje).
   -------------------------------------------------------------------------- */
.share{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-end;justify-content:center;padding:0;background:transparent}
.share[hidden]{display:none!important}
.share-bg{position:absolute;inset:0;background:rgba(11,19,32,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.share-panel{position:relative;width:100%;max-width:460px;max-height:92vh;overflow-y:auto;background:#FFFFFF;color:#0B1320;border-radius:20px 20px 0 0;padding:18px 16px calc(16px + env(safe-area-inset-bottom, 0px));box-shadow:0 -20px 60px -24px rgba(11,19,32,.5);transform:translateY(18px);opacity:.6;transition:transform .2s ease,opacity .2s ease}
.share.is-open .share-panel{transform:none;opacity:1}
.share-panel:focus{outline:none}
.share-head{display:flex;align-items:flex-start;gap:12px;margin:0 0 14px}
.share-title{margin:0;font-size:17px;line-height:22px;font-weight:800;letter-spacing:-.01em}
.share-sub{margin:3px 0 0;font-size:12.5px;line-height:17px;color:#5A6472;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.share-x{flex:none;width:36px;height:36px;margin:-4px -4px 0 auto;display:grid;place-items:center;border:0;border-radius:999px;background:#F0F3F1;color:#0B1320;cursor:pointer}
.share-x:hover{background:#E2E7E4}
.share-x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.share-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.share-item{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;min-height:86px;padding:10px 2px;border:1px solid transparent;border-radius:14px;background:none;color:#0B1320;font:inherit;font-size:11.5px;line-height:15px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.share-item:hover,.share-item:focus-visible{background:#F4F6F5;border-color:#E2E7E4}
.share-label{display:block;font-size:11.5px;line-height:15px;font-weight:700;color:#0B1320;text-align:center}
.share-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:#0B1320;color:#FFFFFF;flex:none}
.share-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.share-item[data-share-net="viber"] .share-ic{background:#7360F2}
.share-item[data-share-net="whatsapp"] .share-ic{background:#25D366}
.share-item[data-share-net="facebook"] .share-ic{background:#1877F2}
.share-item[data-share-net="telegram"] .share-ic{background:#229ED9}
.share-item[data-share-net="x"] .share-ic{background:#0B1320}
.share-item[data-share-net="email"] .share-ic{background:#5A6472}
.share-item[data-share-copy] .share-ic{background:#A6FF00;color:#0B1320}
.share-status{min-height:18px;margin:10px 0 0;font-size:12.5px;line-height:17px;font-weight:700;color:#0B7A45;text-align:center}
.share-native{margin-top:10px;border-radius:12px}
.share-native[hidden]{display:none}
body.share-open{overflow:hidden}

/* Nema lepljive trake sa ponudom na telefonu (vlasnik 25.11.2026: „makni oba“). */
@media (max-width:1023.98px){
    .pp > .mbar{display:none!important}
    /* 82px je bilo rezervisano za JS traku koje više nema. */
    .pp{padding-bottom:8px}
}

@media (min-width:640px){
    .share{align-items:center;padding:24px}
    .share-panel{border-radius:20px;padding:22px}
}

/* Lista kategorija / brendova / prodavnica — pilula pored naslova. */
.share-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:40px;padding:0 14px;border:1px solid #DDE3E0;border-radius:999px;background:#FFFFFF;color:#0B1320;font:inherit;font-size:13px;line-height:18px;font-weight:700;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.share-btn:hover{background:#F0F3F1;border-color:#C9D2CD}
.share-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Podnožje — tih link koji ne pravi novi red na desktopu. */
.foot-share{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;border:0;background:none;color:inherit;font:inherit;font-size:13px;line-height:20px;font-weight:600;cursor:pointer;white-space:nowrap}
.foot-share:hover{color:#A6FF00}
.foot-share svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}

@media (max-width:479.98px){
    .share-btn{padding:0 11px;min-height:38px}
    .share-btn > span{display:none}
}

@media (max-width:767.98px){
    /* Telefon: © + privatnost (red 1), birač tržišta (red 2), deljenje (red 3). */
    .foot-bottom .foot-share{grid-column:1 / -1;grid-row:3;justify-self:start}
}

@media (prefers-reduced-motion:reduce){
    .share-panel{transition:none}
    .share-btn,.share-item{transition:none}
}
