/* Digisire share module (ds-share.css) - 2026-11-04 */
:root{--dss-ink:#0b192c;--dss-ink-soft:#1e3e62;--dss-muted:#64748b;--dss-line:#e2e8f0;--dss-bg:#ffffff;--dss-bg-soft:#f8fafc;--dss-accent:#0ea5e9;--dss-accent-dark:#0284c7;--dss-radius:14px;--dss-shadow:0 10px 30px rgba(11,25,44,.12)}

/* Hide the theme's long percent-encoded share links (replaced by the Digisire share sheet) */
html body .besa-social-links,html body .single-social-share{display:none!important}

/* ---------- generic pill button ---------- */
html body .ds-share-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:42px!important;padding:0 18px!important;margin:0!important;border:1px solid var(--dss-ink)!important;border-radius:999px!important;background:var(--dss-ink)!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:1!important;letter-spacing:0!important;cursor:pointer!important;text-decoration:none!important;box-shadow:0 1px 2px rgba(11,25,44,.08)!important;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;white-space:nowrap!important;-webkit-appearance:none!important;appearance:none!important}
html body .ds-share-btn:hover{background:var(--dss-ink-soft)!important;border-color:var(--dss-ink-soft)!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px rgba(11,25,44,.16)!important;color:#fff!important}
html body .ds-share-btn:focus-visible{outline:2px solid var(--dss-accent)!important;outline-offset:3px!important}
html body .ds-share-btn .ds-share-ico{width:18px!important;height:18px!important;flex:0 0 18px!important;stroke-width:2!important;color:#fff!important}
html body .ds-share-btn__label{font-size:14px!important;font-weight:600!important;color:#fff!important}

/* ---------- share bar (under product gallery / under post header) ---------- */
html body .ds-share-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:14px 0 6px 0!important;padding:14px 16px!important;background:var(--dss-bg)!important;border:1px solid var(--dss-line)!important;border-radius:var(--dss-radius)!important;box-shadow:0 1px 3px rgba(11,25,44,.05)!important;text-align:right!important;direction:rtl!important;position:relative!important;z-index:3!important;clear:both!important}
html body .ds-share-bar__text{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;flex:1 1 auto!important}
html body .ds-share-bar__title{font-size:15px!important;font-weight:700!important;color:var(--dss-ink)!important;line-height:1.3!important;margin:0!important}
html body .ds-share-bar__sub{font-size:12.5px!important;font-weight:400!important;color:var(--dss-muted)!important;line-height:1.4!important;margin:0!important}
html body .single-post .ds-share-bar{margin:16px 0 18px 0!important}
@media (max-width:575px){html body .ds-share-bar{padding:12px 14px!important;gap:10px!important}html body .ds-share-bar__sub{display:none!important}html body .ds-share-btn{height:40px!important;padding:0 16px!important}}

/* ---------- archive header ---------- */
html body header.woocommerce-products-header.ds-share-archive-head{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:12px!important}
html body header.woocommerce-products-header.ds-share-archive-head .page-title{margin:0!important;flex:1 1 auto!important;min-width:0!important}
html body .ds-share-btn--archive{height:38px!important;padding:0 16px!important;background:#fff!important;color:var(--dss-ink)!important;border-color:var(--dss-line)!important;flex:0 0 auto!important}
html body .ds-share-btn--archive .ds-share-ico,html body .ds-share-btn--archive .ds-share-btn__label{color:var(--dss-ink)!important}
html body .ds-share-btn--archive:hover{background:var(--dss-bg-soft)!important;border-color:#cbd5e1!important;color:var(--dss-ink)!important}

/* ---------- product card button (below the wishlist heart, top-left) ---------- */
html body .ds-share-host{position:relative!important}
html body .ds-share-card-btn{position:absolute!important;top:44px!important;left:6px!important;right:auto!important;z-index:35!important;width:32px!important;height:32px!important;padding:0!important;margin:0!important;border-radius:50%!important;background:rgba(255,255,255,.96)!important;border:1px solid #cbd5e1!important;box-shadow:0 2px 6px rgba(11,25,44,.14)!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;pointer-events:auto!important;line-height:1!important;color:var(--dss-ink)!important;opacity:1!important;transform:none!important;transition:transform .15s ease,border-color .15s ease,opacity .18s ease,background .15s ease!important;-webkit-appearance:none!important;appearance:none!important}
html body .ds-share-card-btn .ds-share-ico{width:16px!important;height:16px!important;stroke-width:2!important;color:var(--dss-ink)!important;pointer-events:none!important}
html body .ds-share-card-btn:hover{transform:scale(1.08)!important;border-color:var(--dss-accent)!important;background:#fff!important}
html body .ds-share-card-btn:hover .ds-share-ico{color:var(--dss-accent-dark)!important}
html body .ds-share-card-btn:focus-visible{outline:2px solid var(--dss-accent)!important;outline-offset:2px!important}
@media (min-width:992px){html body .ds-share-card-btn{width:38px!important;height:38px!important;top:54px!important;left:8px!important}html body .ds-share-card-btn .ds-share-ico{width:18px!important;height:18px!important}}
@media (hover:hover) and (pointer:fine){html body .ds-share-card-btn{opacity:0!important;transform:translateY(-4px)!important}html body .product-block:hover .ds-share-card-btn,html body li.product:hover .ds-share-card-btn,html body .ds-share-card-btn:focus-visible{opacity:1!important;transform:none!important}html body .ds-share-card-btn:hover{transform:scale(1.08)!important}}

/* ---------- share sheet (modal) ---------- */
html.ds-share-lock{overflow:hidden!important}
html body #ds-share-sheet{position:fixed!important;inset:0!important;z-index:2147483000!important;display:none!important;direction:rtl!important;font-family:inherit!important}
html body #ds-share-sheet.is-open{display:block!important}
html body #ds-share-sheet .ds-share-sheet__backdrop{position:absolute!important;inset:0!important;background:rgba(11,25,44,.48)!important;-webkit-backdrop-filter:blur(4px)!important;backdrop-filter:blur(4px)!important;animation:dsShareFade .18s ease-out!important}
html body #ds-share-sheet .ds-share-sheet__panel{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(440px,calc(100vw - 32px))!important;max-height:calc(100vh - 48px)!important;overflow:auto!important;background:#fff!important;border:1px solid rgba(226,232,240,.9)!important;border-radius:22px!important;box-shadow:0 24px 60px rgba(11,25,44,.28)!important;padding:18px 20px 20px 20px!important;box-sizing:border-box!important;outline:none!important;animation:dsShareIn .22s cubic-bezier(.2,.8,.2,1)!important;text-align:right!important}
html body #ds-share-sheet .ds-share-sheet__head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 10px 0!important}
html body #ds-share-sheet .ds-share-sheet__title{margin:0!important;padding:0!important;font-size:18px!important;font-weight:700!important;color:var(--dss-ink)!important;line-height:1.2!important}
html body #ds-share-sheet .ds-share-sheet__close{width:36px!important;height:36px!important;padding:0!important;margin:0!important;border:1px solid var(--dss-line)!important;border-radius:50%!important;background:var(--dss-bg-soft)!important;color:var(--dss-ink)!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;-webkit-appearance:none!important;appearance:none!important;transition:background .15s ease,border-color .15s ease!important}
html body #ds-share-sheet .ds-share-sheet__close:hover{background:#fff!important;border-color:#cbd5e1!important}
html body #ds-share-sheet .ds-share-sheet__close .ds-share-ico{width:18px!important;height:18px!important;color:var(--dss-ink)!important}
html body #ds-share-sheet .ds-share-sheet__item{margin:0 0 16px 0!important;padding:0!important;font-size:13.5px!important;line-height:1.5!important;color:var(--dss-muted)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
html body #ds-share-sheet .ds-share-sheet__grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:0 0 16px 0!important}
html body #ds-share-sheet .ds-share-tile{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:12px 6px 10px 6px!important;margin:0!important;border:1px solid var(--dss-line)!important;border-radius:16px!important;background:var(--dss-bg-soft)!important;color:var(--dss-ink)!important;text-decoration:none!important;cursor:pointer!important;font-family:inherit!important;min-width:0!important;-webkit-appearance:none!important;appearance:none!important;transition:border-color .15s ease,background .15s ease,transform .15s ease,box-shadow .15s ease!important}
html body #ds-share-sheet .ds-share-tile:hover{background:#fff!important;border-color:#cbd5e1!important;transform:translateY(-2px)!important;box-shadow:0 8px 20px rgba(11,25,44,.1)!important;color:var(--dss-ink)!important}
html body #ds-share-sheet .ds-share-tile:focus-visible{outline:2px solid var(--dss-accent)!important;outline-offset:2px!important}
html body #ds-share-sheet .ds-share-tile__icon{width:46px!important;height:46px!important;border-radius:50%!important;background:#fff!important;border:1px solid var(--dss-line)!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 46px!important}
html body #ds-share-sheet .ds-share-tile__icon .ds-share-ico{width:22px!important;height:22px!important}
html body #ds-share-sheet .ds-share-tile__label{font-size:12px!important;font-weight:600!important;color:var(--dss-ink)!important;line-height:1.2!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
html body #ds-share-sheet .ds-share-tile--whatsapp .ds-share-tile__icon{color:#25d366!important}
html body #ds-share-sheet .ds-share-tile--telegram .ds-share-tile__icon{color:#229ed9!important}
html body #ds-share-sheet .ds-share-tile--facebook .ds-share-tile__icon{color:#1877f2!important}
html body #ds-share-sheet .ds-share-tile--x .ds-share-tile__icon{color:#0b192c!important}
html body #ds-share-sheet .ds-share-tile--mail .ds-share-tile__icon{color:#1e3e62!important}
html body #ds-share-sheet .ds-share-tile--copy .ds-share-tile__icon,html body #ds-share-sheet .ds-share-tile--more .ds-share-tile__icon{color:var(--dss-accent-dark)!important}
html body #ds-share-sheet .ds-share-tile.is-copied .ds-share-tile__icon{background:#ecfdf5!important;border-color:#a7f3d0!important;color:#059669!important}
html body #ds-share-sheet .ds-share-tile.is-copied .ds-share-tile__label{color:#059669!important}
html body #ds-share-sheet .ds-share-tile.is-failed .ds-share-tile__label{color:#dc2626!important}
html body #ds-share-sheet .ds-share-sheet__url{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:8px 8px 8px 12px!important;border:1px solid var(--dss-line)!important;border-radius:12px!important;background:var(--dss-bg-soft)!important;margin:0 0 10px 0!important}
html body #ds-share-sheet .ds-share-sheet__url-text{flex:1 1 auto!important;min-width:0!important;font-size:13.5px!important;font-weight:500!important;color:var(--dss-ink)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;text-align:left!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important}
html body #ds-share-sheet .ds-share-sheet__url-copy{display:inline-flex!important;align-items:center!important;gap:6px!important;height:34px!important;padding:0 12px!important;margin:0!important;border:1px solid var(--dss-ink)!important;border-radius:999px!important;background:var(--dss-ink)!important;color:#fff!important;font-size:12.5px!important;font-weight:600!important;cursor:pointer!important;flex:0 0 auto!important;-webkit-appearance:none!important;appearance:none!important;transition:background .15s ease!important}
html body #ds-share-sheet .ds-share-sheet__url-copy:hover{background:var(--dss-ink-soft)!important;color:#fff!important}
html body #ds-share-sheet .ds-share-sheet__url-copy .ds-share-ico{width:15px!important;height:15px!important;color:#fff!important}
html body #ds-share-sheet .ds-share-sheet__url-copy.is-copied{background:#059669!important;border-color:#059669!important}
html body #ds-share-sheet .ds-share-sheet__note{margin:0!important;padding:0!important;font-size:12px!important;line-height:1.5!important;color:var(--dss-muted)!important}
@media (max-width:575px){html body #ds-share-sheet .ds-share-sheet__panel{left:0!important;right:0!important;top:auto!important;bottom:0!important;transform:none!important;width:100%!important;max-width:100%!important;max-height:calc(100vh - 40px)!important;border-radius:22px 22px 0 0!important;padding:16px 16px calc(18px + env(safe-area-inset-bottom,0px)) 16px!important;animation:dsShareUp .24s cubic-bezier(.2,.8,.2,1)!important}html body #ds-share-sheet .ds-share-sheet__grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}html body #ds-share-sheet .ds-share-tile{padding:10px 4px 8px 4px!important;border-radius:14px!important}html body #ds-share-sheet .ds-share-tile__icon{width:42px!important;height:42px!important;flex-basis:42px!important}html body #ds-share-sheet .ds-share-tile__label{font-size:11px!important}}
@keyframes dsShareFade{from{opacity:0}to{opacity:1}}
@keyframes dsShareIn{from{opacity:0;transform:translate(-50%,-46%) scale(.97)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes dsShareUp{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}
@media (prefers-reduced-motion:reduce){html body #ds-share-sheet .ds-share-sheet__panel,html body #ds-share-sheet .ds-share-sheet__backdrop{animation:none!important}}

/* ---------- copy-link button (2026-11-09): next to the share button on product pages and cards ---------- */
html body .ds-share-bar__actions{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
html body .ds-share-btn--copy{background:#fff!important;color:var(--dss-ink)!important;border-color:var(--dss-line)!important}
html body .ds-share-btn--copy .ds-share-ico,html body .ds-share-btn--copy .ds-share-btn__label{color:var(--dss-ink)!important}
html body .ds-share-btn--copy:hover{background:var(--dss-bg-soft)!important;border-color:#cbd5e1!important;color:var(--dss-ink)!important}
html body .ds-share-btn--copy .ds-share-ico--done,html body .ds-share-card-btn--copy .ds-share-ico--done{display:none!important}
html body .ds-share-btn--copy.is-copied,html body .ds-share-btn--copy.is-copied:hover{background:#ecfdf5!important;border-color:#a7f3d0!important}
html body .ds-share-btn--copy.is-copied .ds-share-ico,html body .ds-share-btn--copy.is-copied .ds-share-btn__label{color:#059669!important}
html body .ds-share-btn--copy.is-copied .ds-share-ico--copy,html body .ds-share-card-btn--copy.is-copied .ds-share-ico--copy{display:none!important}
html body .ds-share-btn--copy.is-copied .ds-share-ico--done,html body .ds-share-card-btn--copy.is-copied .ds-share-ico--done{display:block!important}
html body .ds-share-btn--copy.is-failed .ds-share-btn__label,html body .ds-share-btn--copy.is-failed .ds-share-ico{color:#dc2626!important}
html body .ds-share-card-btn--copy{left:44px!important}
html body .ds-share-card-btn--copy.is-copied{border-color:#a7f3d0!important;background:#ecfdf5!important;opacity:1!important}
html body .ds-share-card-btn--copy.is-copied .ds-share-ico{color:#059669!important}
html body .ds-share-card-btn--copy.is-failed{border-color:#fecaca!important}
@media (min-width:992px){html body .ds-share-card-btn--copy{left:54px!important}}
@media (max-width:575px){html body .ds-share-bar__actions{gap:6px!important}html body .ds-share-bar .ds-share-btn--copy .ds-share-btn__label{display:none!important}html body .ds-share-bar .ds-share-btn--copy{width:40px!important;padding:0!important}html body .ds-share-bar .ds-share-btn--copy.is-copied .ds-share-btn__label,html body .ds-share-bar .ds-share-btn--copy.is-failed .ds-share-btn__label{display:inline!important}html body .ds-share-bar .ds-share-btn--copy.is-copied,html body .ds-share-bar .ds-share-btn--copy.is-failed{width:auto!important;padding:0 14px!important}}
/* Phones: no share or copy buttons on product cards (they cover the picture); both stay on the product page. */
@media (max-width:767px){html body .ds-share-card-btn,html body .ds-share-card-btn--copy{display:none!important}}
