/* Compartir (16 octubre 2026): botón de la página del diseño, botón redondo en el catálogo y ventana para computadora. */
.share-button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 15px;border:1.5px solid #e2c3b4;border-radius:999px;background:var(--paper);color:#965141;font-size:.86rem;font-weight:600;line-height:1.2;white-space:nowrap;transition:background .2s ease,border-color .2s ease}
.share-button:hover{background:#fff3ec;border-color:#d79b88}
.share-button svg,.card-share svg{flex:none}
.customer-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.customer-nav .product-back{margin:0}
@media(min-width:701px){.customer-editor .customer-nav{grid-column:1;grid-row:1;align-self:center}}
@media(max-width:700px){
 .customer-editor .customer-nav{flex:none;margin:0 0 6px}
 .customer-editor .customer-nav .product-back{margin:0}
 .customer-editor .share-button{min-height:34px;padding:0 12px;font-size:.8rem}
}
@media(max-width:700px) and (orientation:landscape){.customer-editor .customer-nav{margin:0}}

/* Catalog: the button sits over the image, beside the card link (a button cannot go inside a link). */
.product-card-wrap{position:relative;min-width:0}
.card-share{position:absolute;top:20px;right:20px;z-index:2;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fffdf9eb;color:#965141;box-shadow:0 2px 8px #49372c2e;transition:transform .22s cubic-bezier(.22,1,.36,1),background .2s ease}
.card-share:hover{background:#fff}
@media(hover:hover) and (pointer:fine){
 .product-card-wrap:hover .product-card{transform:translateY(-4px);box-shadow:var(--shadow)}
 .product-card-wrap:hover .product-card .thumb img{transform:scale(1.025)}
 .product-card-wrap:hover .product-card .card-action svg{transform:translateX(3px)}
 .product-card-wrap:hover .card-share{transform:translateY(-4px)}
}
@media(max-width:600px){.card-share{top:13px;right:13px;width:36px;height:36px}.card-share svg{width:16px;height:16px}}

/* Window shown on computers (and when a phone cannot open its own share menu). */
.share-dialog h2{font-size:1.6rem;line-height:1.2;margin:10px 0 6px;overflow-wrap:anywhere}
.share-close{width:40px;height:40px;flex:none;border-radius:50%;background:var(--soft);font-size:1.7rem;line-height:1}
.share-help{color:var(--muted);font-size:.9rem;line-height:1.5;margin:0 0 18px}
.share-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.share-option{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px;border:1.5px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font-size:.92rem;font-weight:600;text-decoration:none;transition:filter .2s ease}
.share-option:hover{filter:brightness(.97)}
.share-option[hidden]{display:none}
.share-whatsapp{background:#e9f8ee;border-color:#bfe6cc;color:#1c6a3a}
.share-facebook{background:#ebf1fd;border-color:#c9d8f6;color:#2b4f98}
.share-link-label{display:block;margin:20px 0 6px;font-size:.78rem;font-weight:600;color:var(--muted)}
.share-copy{display:flex;gap:8px}
.share-copy input{flex:1;min-width:0;min-height:48px;padding:0 12px;border:1.5px solid #dfcabb;border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:.85rem}
.share-copy .btn{flex:none;justify-content:center;min-height:48px;padding:0 18px}
.share-status{min-height:1.5em;margin:10px 0 0;font-size:.85rem;color:#2f6b45}
@media(max-width:420px){.share-copy{flex-direction:column}}
