/* ROXPRO — שיתוף מוצר ושיתוף האתר (inc/rox-share.php, assets/js/share.js; סשן 58, 12.11.26) */

/* the sign by the device: iPhone / Mac = a square with an arrow, everything else = three dots (html.apple is set in the head) */
.shr-ic{display:block;width:20px;height:20px;flex:none}
.shr-ios{display:none}
html.apple .shr-ios{display:block}
html.apple .shr-and{display:none}

/* 1. on the product photo (the product page on the phone, and the product window): the same round button as the zoom sign */
.shr-fab{position:absolute;right:12px;bottom:12px;z-index:2;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08),0 4px 12px rgba(0,0,0,.08);transition:transform .15s}
.shr-fab::before{content:"";position:absolute;inset:-4px}   /* a 48px touch area around the 40px circle */
.shr-fab:active{transform:scale(.92)}

/* 2. next to the product's name (the product page on the computer) */
.shr-pill{display:none}
@media (min-width:1024px){
  .pd-gal .shr-fab{display:none}
  .pd-buy .pd-id{position:relative}
  .pd-id .shr-pill{position:absolute;left:0;top:-1px;display:inline-flex;align-items:center;gap:6px;height:30px;padding-inline:10px 12px;border-radius:15px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:500;color:var(--ink);transition:border-color .2s,background-color .2s}
  .pd-id .shr-pill .shr-ic{width:16px;height:16px}
  .pd-id .shr-pill:hover{border-color:var(--ink-3)}
  .pd-id .shr-pill:active{background:var(--tile)}
  .pd-id .pd-brand{padding-left:92px}   /* a long brand line wraps before the button. Left by name: the line itself is dir="ltr", so its "inline end" is the right side */
  #pSheet .shr-fab{width:36px;height:36px}
  #pSheet .shr-fab .shr-ic{width:18px;height:18px}
}

/* 3. the site: next to the sign-in on the phone's home page; in the top strip on the computer */
/* the look of the sign-in circle next to it (.avatar), under its own name: rox.js takes the first .avatar as the sign-in */
.shr-av{width:44px;height:44px;border-radius:50%;background:var(--tile);display:grid;place-items:center;color:var(--ink);transition:transform .15s}
.shr-av:active{transform:scale(.94)}
.hd-row .shr-av{margin-inline:auto 8px}
/* the top strip (Harel 13.11.26: "טיפה בולט יותר כמו שהוא כסמל... התכוונתי לזה שבראש כל עמוד"): only the sign sits in a white
   circle, the site's own look for a sign next to its words ("שאל על המוצר הזה"); the words stay in line with "מי אנחנו" and "צור קשר" */
.dk-lk .shr-lk{display:inline-flex;align-items:center;gap:7px;min-height:36px;font-weight:500;color:var(--ink)}
.dk-lk .shr-lk .shr-ic{box-sizing:content-box;width:16px;height:16px;padding:5px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06);transition:box-shadow .2s}
@media (hover:hover){
  .dk-lk .shr-lk:hover span{text-decoration:underline;text-underline-offset:4px}
  .dk-lk .shr-lk:hover .shr-ic{box-shadow:0 0 0 1px rgba(0,0,0,.14)}
}

/* 4. after an order: a quiet line under the buttons */
.shr-row{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;margin-top:18px;padding:10px 14px;border-radius:18px;background:var(--tile);text-align:right;color:var(--ink)}
.shr-row-ic{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center}
.shr-row .shr-ic{width:22px;height:22px}
.shr-row b{display:block;font-size:15px;font-weight:700}
.shr-row small{display:block;font-size:13px;color:var(--ink-2)}
.shr-row>.ti{color:var(--ink-2)}
.shr-row:active{background:var(--line)}

/* the site's own share window (the computer, or a browser without the phone's share): the look of the guides' share window */
.rsh-h{display:block;padding-inline:var(--gut) 64px}
.rsh-k{display:block;font-size:13px;font-weight:500;color:var(--ink-2)}
.rsh-h h2{margin-top:2px;font-size:20px;font-weight:700;letter-spacing:-.015em;line-height:1.25}
.rsh-list{display:grid;gap:8px;padding:4px var(--gut) 8px}
.rsh-opt{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;min-height:64px;padding:8px 12px;border-radius:18px;background:var(--tile);text-align:right;font-size:15.5px;font-weight:600;color:var(--ink)}
.rsh-opt .rsh-ic{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:22px}
.rsh-opt .ti-brand-whatsapp{color:var(--wa)}
.rsh-opt small{display:block;font-size:13px;font-weight:400;color:var(--ink-2)}
.rsh-opt>.ti-chevron-left,.rsh-opt>.ti-copy{color:var(--ink-2)}
.rsh-url{margin:4px var(--gut) calc(16px + env(safe-area-inset-bottom));padding:10px 12px;border-radius:14px;border:1px dashed var(--line);font-size:13px;color:var(--ink-2);direction:ltr;text-align:left;overflow-wrap:anywhere}
@media (min-width:1024px){ #rshSheet .rsh-h{padding-inline:24px 72px} }

@media print{ .shr{display:none !important} }
