#share-dialog{width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:26px;background:var(--card);color:var(--ink);box-shadow:0 24px 80px #0004;overflow:auto}
#share-dialog::backdrop{background:#10130fcc;backdrop-filter:blur(7px)}
#share-dialog .share-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:25px 26px 20px;border-bottom:1px solid var(--line)}
#share-dialog .share-heading p{font-size:9px;letter-spacing:.17em;color:var(--green);margin-bottom:9px}
#share-dialog h2{font:400 29px/1.15 Georgia,serif;letter-spacing:-.03em;margin:0}
#share-dialog button,#share-dialog a{font-family:inherit;font-size:12px;font-weight:650;cursor:pointer}
#share-dialog button{min-height:44px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--ink);padding:10px}
#share-dialog button:hover{background:var(--soft);border-color:var(--green)}
#share-dialog .share-close{width:44px;padding:0;border-radius:50%;font-size:25px;flex:none}
#share-dialog .share-content{padding:22px 26px 16px}
#share-dialog .share-context{display:flex;align-items:center;gap:15px;margin-bottom:20px}
#share-dialog .share-context img{width:66px;height:66px;object-fit:contain;background:#eeeae2;border-radius:12px;flex:none}
#share-dialog .share-context>div{min-width:0}
#share-dialog #share-kind{font-size:8px;letter-spacing:.12em;color:var(--muted)}
#share-dialog h3{font-size:15px;line-height:1.5;margin:6px 0;color:var(--ink);overflow-wrap:anywhere}
#share-dialog #share-description{font-size:12px;color:var(--muted);line-height:1.6}
#share-dialog .share-qr-panel{display:flex;align-items:center;gap:23px;padding:19px;background:var(--paper);border:1px solid var(--line);border-radius:18px;margin-bottom:20px}
#share-dialog canvas{width:150px;height:150px;flex:none;border-radius:10px;background:white;image-rendering:pixelated}
#share-dialog .share-qr-panel strong{font:400 21px/1.3 Georgia,serif}
#share-dialog .share-qr-panel p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:10px}
#share-dialog .share-link-label{display:block;color:var(--muted);font-size:9px;letter-spacing:.14em;margin-bottom:8px}
#share-dialog .share-link-row{display:flex;gap:8px;margin-bottom:15px}
#share-dialog input{flex:1;min-width:0;width:100%;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--muted);font:inherit;font-size:12px;line-height:1.5;padding:10px}
#share-dialog .share-link-row button{white-space:nowrap;padding-inline:14px}
#share-dialog .share-main-action{display:flex;align-items:center;justify-content:center;gap:18px;min-height:48px;border-radius:14px;background:#285347;color:#fff;text-decoration:none;margin-bottom:10px;border:1px solid #356b59}
#share-dialog .share-main-action:hover{background:#356b59}
#share-dialog .share-extra-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#share-dialog #share-feedback{font-size:11px;line-height:1.6;color:var(--green);min-height:18px;margin-top:12px}
html[data-design="noir-velvet"] #share-dialog .share-main-action{background:#c9b28a;color:#241c12;border-color:#c9b28a}
html[data-design="noir-velvet"] #share-dialog .share-main-action:hover{background:#dcc49c}
@media(max-width:480px){#share-dialog .share-heading{padding:20px}#share-dialog .share-content{padding:18px 20px 12px}#share-dialog .share-qr-panel{gap:14px;padding:14px}#share-dialog canvas{width:128px;height:128px}#share-dialog .share-qr-panel strong{font-size:18px}#share-dialog .share-extra-actions{grid-template-columns:1fr 1fr}#share-dialog #share-native{grid-column:1/-1}}
@media(max-width:359px){#share-dialog .share-qr-panel{flex-direction:column;text-align:center}}

/* Chosen product Share: midnight blue with champagne gift linework. */
html body.catalog-detail :is(.product-actions,.preview-actions) .button.share-link {
 display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:0;
 padding:8px 11px;border:1px solid #4f6b8e;border-radius:999px;background:#0d1d34;
 color:#f0d7ab;font-family:Georgia,serif;font-size:15px;font-weight:500;line-height:1;white-space:nowrap;box-shadow:none;
}
html body.catalog-detail :is(.product-actions,.preview-actions) .button.share-link:hover {
 background:#1a3050;border-color:#81a4d3;color:#f4dfba;
}
html body.catalog-detail :is(.product-actions,.preview-actions) .button.share-link svg {
 width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
}
@container(max-width:200px){html body.catalog-detail .product-actions .button.share-link{gap:5px;padding-inline:8px;font-size:13px}html body.catalog-detail .product-actions .button.share-link svg{width:18px;height:18px}}

html body .site-header #share-page.button {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 14px;border:1px solid #4f6b8e;border-radius:999px;background:#0d1d34;color:#f0d7ab;font-family:Georgia,serif;font-size:15px;font-weight:500;line-height:1;white-space:nowrap;box-shadow:none}
html body .site-header #share-page.button:hover{background:#1a3050;border-color:#81a4d3;color:#f4dfba}
html body .site-header #share-page.button svg{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:360px){html body .site-header #share-page.button{font-size:13px;padding-inline:9px;gap:5px}}

#share-dialog .share-extra-actions:has(#share-native[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}

/* Refined sharing sheet: generous QR stage and a clear action hierarchy. */
#share-dialog{width:min(520px,calc(100vw - 28px));border-radius:30px;box-shadow:0 28px 100px #0006}
#share-dialog .share-heading{padding:28px 28px 20px;border-bottom:0;align-items:flex-start}
#share-dialog .share-heading p{font-size:9px;letter-spacing:.2em;margin-bottom:12px}
#share-dialog h2{font-size:34px;line-height:1.12;max-width:330px}
#share-dialog .share-close{border-color:var(--line);background:transparent}
#share-dialog .share-content{padding:0 28px 18px}
#share-dialog .share-context{padding:14px 16px;background:var(--paper);border:1px solid var(--line);border-radius:16px;margin:0 0 20px}
#share-dialog .share-context img{width:54px;height:54px;border-radius:10px}
#share-dialog #share-kind{font-size:8px;letter-spacing:.12em}
#share-dialog h3{font-size:14px;margin:4px 0}
#share-dialog #share-description{font-size:11px;line-height:1.6}
#share-dialog .share-qr-panel{flex-direction:column;gap:13px;padding:22px;background:var(--paper);border-radius:22px;text-align:center;margin-bottom:20px}
#share-dialog canvas{width:184px;height:184px;border-radius:14px;box-shadow:0 6px 22px #0000000d}
#share-dialog .share-qr-panel strong{font:400 20px/1.3 Georgia,serif}
#share-dialog .share-qr-panel p{margin-top:5px;font-size:11px}
#share-dialog .share-main-action{min-height:50px;border-radius:999px;font-size:13px;letter-spacing:.01em}
#share-dialog .share-link-row{margin-bottom:13px}
#share-dialog .share-link-row input{border-radius:12px;font-size:11px}
#share-dialog .share-extra-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#share-dialog .share-extra-actions button{border-radius:13px;font-size:11px;min-height:44px}
#share-dialog #share-native{grid-column:1/-1}
#share-dialog #share-feedback{margin-top:10px;min-height:15px}
html body .site-header #share-page.button,
html body.catalog-detail :is(.product-actions,.preview-actions) .button.share-link{background:#0d1d34;border-color:#4f6b8e;color:#dfebff;font-family:"DM Sans",system-ui,sans-serif;font-size:13px;font-weight:650;letter-spacing:.01em}
html body .site-header #share-page.button:hover,
html body.catalog-detail :is(.product-actions,.preview-actions) .button.share-link:hover{background:#1a3050;color:#dfebff;border-color:#81a4d3}
html body .site-header #share-page.button svg,
html body.catalog-detail :is(.product-actions,.preview-actions) .button.share-link svg{color:#f0d7ab}
@container(max-width:200px){html body.catalog-detail .product-actions .button.share-link{font-size:11px}}
@media(max-width:480px){#share-dialog{max-height:calc(100dvh - 20px);border-radius:26px}#share-dialog .share-heading{padding:22px 22px 18px}#share-dialog h2{font-size:29px}#share-dialog .share-content{padding:0 22px 12px}#share-dialog .share-context{padding:12px;margin-bottom:14px}#share-dialog .share-qr-panel{padding:17px;margin-bottom:16px}#share-dialog canvas{width:164px;height:164px}#share-dialog .share-qr-panel strong{font-size:19px}}
