/* Sharing controls are separate from checkout and use the existing brand. */

.hero-header .shop-share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:10px 17px;border:1px solid #d1b36a99;border-radius:30px;background:#102e25c7;color:#f7f5ed;font-family:inherit;font-size:15px;font-weight:500;line-height:1.3;white-space:nowrap;box-shadow:0 3px 16px #0001}
.hero-header .shop-share-button:hover{background:#102e25;border-color:#e6c97d}
.shop-share-button svg,.shop-share-footer svg{width:18px;height:18px;flex-shrink:0}
.shop-share-footer{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 18px;border:1px solid currentColor;border-radius:24px;background:transparent;color:inherit;font:inherit}
.shop-share-footer-wrap{margin:0 0 24px}
.shop-share-button:focus-visible,.shop-share-footer:focus-visible,#shop-share-dialog a:focus-visible,#shop-share-dialog button:focus-visible,#shop-share-dialog input:focus-visible{outline:3px solid #b68d3e;outline-offset:3px}
#shop-share-dialog{position:fixed;inset:0;margin:auto;width:min(490px,calc(100vw - 28px));height:fit-content;max-height:calc(100dvh - 32px);padding:0;overflow:auto;overscroll-behavior:contain;border:1px solid #dcd9ca;border-radius:20px;background:#f8f5ed;color:#102e25;box-shadow:0 20px 80px #001b1555}
#shop-share-dialog:not([open]){display:none}
#shop-share-dialog[open]{display:block}
#shop-share-dialog::backdrop{background:#08291dcc}
.shop-share-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 12px}
.shop-share-head h2{font:normal 29px/1.15 Georgia,serif;margin:0;color:#102e25}
.shop-share-close{flex-shrink:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d6d8cb;border-radius:50%;background:#e9ebdf;color:#102e25;font-size:25px;line-height:1}
.shop-share-intro{padding:0 22px;margin:0 0 18px;font-size:14px;line-height:1.5;color:#586657}
.shop-share-preview{margin:0 22px 20px;border:1px solid #d4d8c9;border-radius:12px;overflow:hidden;background:#fffdf7}
.shop-share-preview img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;background:#102e25}
.shop-share-preview figcaption{padding:12px 15px;text-align:left}
.shop-share-preview strong{font-size:17px;font-weight:650}.shop-share-preview p{font-size:13px;line-height:1.45;margin:3px 0 7px;color:#425642}.shop-share-preview span{font-size:11px;color:#6c7765}
.shop-share-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 22px}
#shop-share-dialog .shop-share-option{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:12px 10px;border:1px solid #cbd3c3;border-radius:9px;background:#e9eddf;color:#102e25;text-align:center;text-decoration:none;font-size:14px;font-weight:650;line-height:1.35}
#shop-share-dialog .shop-share-whatsapp{background:#176b45;border-color:#176b45;color:#fff}
.shop-share-option svg{width:22px;height:22px;flex-shrink:0}
.shop-share-sms-hint{margin:10px 22px 0;font-size:12px;line-height:1.5;color:#586657}
.shop-share-copy{display:flex;align-items:center;gap:8px;margin:18px 22px 0;padding:5px 5px 5px 11px;border:1px solid #d4d8c9;border-radius:9px;background:#fffdf7}
#shop-share-dialog .shop-share-copy input{flex:1;min-width:0;width:auto;height:auto;border:0;background:transparent;color:#425642;font-size:13px;line-height:1.4;padding:8px 0;margin:0}
.shop-share-copy button{flex-shrink:0;min-width:68px;min-height:44px;padding:9px 12px;border-radius:6px;background:#102e25;color:#f8f5ed;font-size:13px;font-weight:650}
.shop-share-status{margin:8px 22px 0;min-height:20px;font-size:12px;line-height:1.5;color:#245d40}
.shop-share-note{margin:12px 22px 22px;font-size:11px;line-height:1.5;color:#68735f}
@media(max-width:759px){
 
 .hero-header .hero-actions .cart-button{margin-top:0}
 .hero-header .shop-share-button{min-height:44px;padding:9px 12px;font-size:12px;gap:7px;background:#102e25e6}
 #shop-share-dialog .shop-share-copy input{font-size:16px}
}
@media(max-width:350px){.hero-header .shop-share-button{padding:9px 10px}.shop-share-head{padding:16px 16px 10px}.shop-share-head h2{font-size:25px}.shop-share-intro{padding:0 16px}.shop-share-preview{margin-left:16px;margin-right:16px}.shop-share-options{padding:0 16px;gap:8px}#shop-share-dialog .shop-share-option{font-size:12px;gap:6px}.shop-share-copy{margin-left:16px;margin-right:16px}.shop-share-sms-hint,.shop-share-status,.shop-share-note{margin-left:16px;margin-right:16px}}

/* Nesti: pulsante in testata e footer, colori coordinati. */
.nesti-header-actions{display:flex;align-items:center;gap:18px}.nesti-share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid #253a2c;border-radius:24px;background:transparent;color:#253a2c;font:12px Arial,sans-serif}.nesti-share-button svg{width:17px;height:17px;flex:none}.nesti-share-button:hover{background:#e9e2d3}.footer-top .nesti-share-button{color:#f6f1e6;border-color:#c4a477}.footer-top .nesti-share-button:hover{background:#ffffff15}#shop-share-dialog .shop-share-head{min-height:0;background:transparent}#shop-share-dialog .shop-share-head h2{letter-spacing:0}#shop-share-dialog .shop-share-note{color:#68735f}@media(max-width:600px){.nesti-header-actions{gap:10px}.nesti-share-button{font-size:10px;padding:9px 11px;gap:6px}.nesti-header-actions .search-link{font-size:0}.nesti-header-actions .search-link span{font-size:24px;margin:0}.footer-top .nesti-share-button{font-size:12px}}
