/*
 * Base común de las plantillas de la tienda online (BePOS). Solo lo que no es diseño: reset,
 * accesibilidad y las piezas compartidas (carrito, "¿Cómo lo querés?", pedido recibido), que toman
 * la personalidad de cada plantilla con estas variables. Cada plantilla las define en su CSS:
 *   --fondo, --papel (fondo de las hojas), --tinta, --suave (texto secundario), --linea,
 *   --letra-titulo, --letra-texto, --letra-precio, --radio, --boton-radio, --acento (color fuerte)
 * El color de la tienda llega en --t-50 ... --t-900 como "R G B" (Tienda::estiloPaleta()).
 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--letra-texto); line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[x-cloak] { display: none !important; }
:focus-visible { outline: 3px solid rgb(var(--t-500) / .55); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.t-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.t-numeros { font-variant-numeric: tabular-nums; }
/* Filas que se deslizan de costado (categorías, góndolas) sin barra visible */
.t-deslizar { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.t-deslizar::-webkit-scrollbar { display: none; }

/* ---------- Franja de vista previa (panel) ---------- */
.t-previa { position: sticky; top: 0; z-index: 60; background: #facc15; color: #422006; font: 600 13px/1.3 system-ui, sans-serif; text-align: center; padding: 8px 16px; }

/* ---------- Aviso "Sumaste..." ---------- */
.t-aviso { position: fixed; z-index: 70; left: 50%; top: 14px; transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--tinta); color: var(--papel); font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: var(--boton-radio); width: max-content; text-align: center; line-height: 1.35; }

/* ---------- Hojas (carrito y "¿Cómo lo querés?") ---------- */
.t-fondo { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgb(15 12 10 / .55); }
.t-hoja { width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; background: var(--papel); color: var(--tinta); border-radius: var(--radio) var(--radio) 0 0; overscroll-behavior: contain; }
@media (min-width: 640px) { .t-fondo { align-items: center; padding: 24px; } .t-hoja { border-radius: var(--radio); } }
.t-hoja-cab { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--papel); border-bottom: 1px solid var(--linea); }
.t-hoja-titulo { font-family: var(--letra-titulo); font-size: 20px; line-height: 1.15; }
.t-cerrar { width: 40px; height: 40px; margin-right: -8px; font-size: 26px; line-height: 1; color: var(--suave); }
.t-hoja-cuerpo { padding: 18px 20px 24px; display: grid; gap: 18px; }
.t-etiqueta { display: block; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--suave); margin-bottom: 6px; }
.t-ayuda { font-size: 13px; color: var(--suave); margin-top: 6px; }

.t-opciones { display: grid; gap: 8px; }
.t-opcion { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; border: 1.5px solid var(--linea); border-radius: var(--boton-radio); background: transparent; }
.t-opcion.is-elegida { border-color: rgb(var(--t-600)); background: rgb(var(--t-50)); }
.t-opcion:disabled { opacity: .45; }
.t-opcion-nombre { font-weight: 700; }
.t-opcion-nota { display: block; font-size: 12px; font-weight: 400; color: var(--suave); }
.t-opcion-precio { font-family: var(--letra-precio); font-size: 18px; white-space: nowrap; }
/* Galería de la página del producto y la foto del color elegido */
.t-ficha-galeria { display: grid; gap: 8px; min-width: 0; }
.t-ficha-fotos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.t-ficha-fotos::-webkit-scrollbar { display: none; }
.t-ficha-fotos > .t-ficha-foto { flex: 0 0 100%; scroll-snap-align: start; }
.t-ficha-miniaturas { display: flex; gap: 6px; overflow-x: auto; }
.t-ficha-miniaturas button { flex: 0 0 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: var(--boton-radio); overflow: hidden; background: none; opacity: .6; }
.t-ficha-miniaturas button.is-actual { border-color: rgb(var(--t-600)); opacity: 1; }
.t-ficha-miniaturas img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-elegir-foto { width: 100%; max-height: 220px; object-fit: contain; border-radius: var(--radio); }
.is-agotado .t-ficha-fotos img { opacity: .5; }
/* Fotos en la tarjeta: la foto lleva a la página del producto; con varias, se pasan con el dedo */
:is(.ro-foto, .al-foto, .bo-foto, .pa-foto, .me-tarjeta-foto, .me-mini) { position: relative; text-decoration: none; }
.t-carrete { position: absolute; inset: 0; display: block; }
.t-carrete-tira { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.t-carrete-tira::-webkit-scrollbar { display: none; }
.t-carrete-tira img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; -webkit-user-drag: none; user-select: none; }
.t-carrete-puntos { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.t-carrete-puntos i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .6); box-shadow: 0 0 0 1px rgb(0 0 0 / .12); transition: width .2s ease; }
.t-carrete-puntos i.is-actual { width: 16px; border-radius: 3px; background: #fff; }
.t-carrete-flecha { display: none; }
@media (hover: hover) {
    .t-carrete-flecha { position: absolute; top: 50%; z-index: 2; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .92); color: #111; box-shadow: 0 2px 8px rgb(0 0 0 / .18); opacity: 0; transition: opacity .15s ease; }
    .t-carrete-flecha.is-anterior { left: 8px; }
    .t-carrete-flecha.is-siguiente { right: 8px; }
    .t-carrete:hover .t-carrete-flecha { opacity: 1; }
}
/* En las fotos chiquitas de las listas no van puntos ni flechas */
:is(.al-foto, .me-mini) :is(.t-carrete-puntos, .t-carrete-flecha) { display: none !important; }

/* Cupón en el carrito */
.t-cupon { display: grid; gap: 6px; }
.t-cupon-fila { display: flex; gap: 8px; }
.t-cupon-fila .t-input { flex: 1; min-width: 0; text-transform: uppercase; }
.t-cupon-usado { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1.5px dashed rgb(var(--t-600)); border-radius: var(--boton-radio); background: rgb(var(--t-50)); }
.t-cupon-sacar { border: 0; background: transparent; text-decoration: underline; cursor: pointer; color: inherit; }
/* Talles y colores: un botón por valor; tachado si en esa combinación no queda */
.t-variantes { display: grid; gap: 14px; }
.t-talles { display: flex; flex-wrap: wrap; gap: 8px; }
.t-talle { min-width: 48px; min-height: 44px; padding: 8px 14px; font-weight: 700; border: 1.5px solid var(--linea); border-radius: var(--boton-radio); background: transparent; }
.t-talle.is-elegida { border-color: rgb(var(--t-600)); background: rgb(var(--t-50)); box-shadow: inset 0 0 0 1px rgb(var(--t-600)); }
.t-talle.is-otro { color: var(--suave); text-decoration: line-through; }
.t-talle:disabled { opacity: .35; text-decoration: line-through; }
.t-ficha-variantes { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; }
.t-ficha-variantes b { font-weight: 700; }

.t-cantidad { display: flex; align-items: center; gap: 14px; }
.t-paso { width: 48px; height: 48px; font-size: 24px; line-height: 1; border: 1.5px solid var(--linea); border-radius: var(--boton-radio); }
.t-cantidad-valor { min-width: 5.5rem; text-align: center; font-family: var(--letra-precio); font-size: 26px; font-variant-numeric: tabular-nums; }

.t-boton { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; padding: 12px 18px; border-radius: var(--boton-radio); background: var(--acento); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; }
.t-boton:disabled { opacity: .55; }
.t-boton-sec { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 1.5px solid var(--tinta); border-radius: var(--boton-radio); font-weight: 700; text-decoration: none; }

.t-lineas { margin-top: -8px; }
.t-linea { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.t-linea-nombre { font-weight: 600; }
.t-linea-precio { font-size: 13px; color: var(--suave); }
.t-linea-cantidad { display: flex; align-items: center; gap: 2px; }
.t-linea-cantidad button { width: 38px; height: 38px; font-size: 20px; line-height: 1; border-radius: var(--boton-radio); }
.t-linea-cantidad button:hover { background: rgb(var(--t-50)); }
.t-linea-cantidad output { min-width: 3.4rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.t-linea-total { font-family: var(--letra-precio); font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }

.t-entregas { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.t-entrega { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: var(--boton-radio); cursor: pointer; }
.t-entrega.is-elegida { border-color: rgb(var(--t-600)); background: rgb(var(--t-50)); }
.t-entrega input { accent-color: rgb(var(--t-600)); width: 18px; height: 18px; margin: 0; }
.t-entrega b { display: block; }
.t-entrega small { display: block; color: var(--suave); font-size: 13px; }

.t-campos { display: grid; gap: 14px; }
.t-input { display: block; width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid var(--linea); border-radius: var(--boton-radio); background: var(--fondo); font-size: 16px; }
.t-input:focus { outline: none; border-color: rgb(var(--t-600)); box-shadow: 0 0 0 3px rgb(var(--t-500) / .2); }

.t-totales { display: grid; gap: 4px; padding: 14px 16px; border: 1px dashed var(--linea); border-radius: var(--boton-radio); font-size: 15px; }
.t-totales div { display: flex; justify-content: space-between; gap: 12px; }
.t-total { font-family: var(--letra-precio); font-size: 22px; padding-top: 4px; }
.t-error { padding: 12px 14px; border-radius: var(--boton-radio); background: #fdecec; color: #9b1c1c; font-weight: 600; font-size: 14px; }
.t-chico { font-size: 13px; color: var(--suave); text-align: center; }

/* ---------- Pedido recibido ---------- */
.t-recibido { max-width: 560px; margin: 0 auto; padding: 40px 20px 32px; }
.t-recibido-titulo { font-family: var(--letra-titulo); font-size: 30px; line-height: 1.1; }
.t-recibido-bajada { margin-top: 8px; color: var(--suave); }
.t-recibido-caja { margin-top: 24px; padding: 18px; border: 1.5px solid rgb(var(--t-600)); border-radius: var(--radio); background: rgb(var(--t-50)); }
.t-recibido-caja p { margin-bottom: 14px; }
.t-recibido-nota { margin-top: 24px; padding: 14px 16px; border-left: 3px solid rgb(var(--t-600)); background: var(--papel); font-size: 15px; }
.t-recibido-lista { margin-top: 24px; border-top: 1px solid var(--linea); }
.t-recibido-lista li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }
.t-recibido-lista span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-recibido-datos { margin-top: 18px; display: grid; gap: 6px; font-size: 15px; color: var(--suave); }
.t-recibido-volver { margin-top: 28px; text-align: center; }

/* ---------- Pie ---------- */
.t-pie { padding: 40px 20px 120px; text-align: center; font-size: 12px; color: var(--suave); }
.t-pie a { font-weight: 700; text-decoration: none; }
/* "Esta tienda se creó con BePOS" (tienda/_hecho_con): al pie y en la página del pedido */
.t-hecho { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin-top: 14px; padding: 10px 16px; border: 1px solid var(--linea, rgba(0,0,0,.12)); border-radius: 999px; background: var(--papel, #fff); color: var(--tinta, #1f2937); font-size: 13px; font-weight: 500 !important; line-height: 1.3; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: transform .15s, box-shadow .15s; }
.t-hecho:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.t-hecho img { flex: none; }
.t-hecho b { font-weight: 800; }
.t-hecho-cta { font-weight: 700; color: #4f46e5; white-space: nowrap; }
.t-hecho-caja { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 16px; border: 1px solid var(--linea, rgba(0,0,0,.12)); border-radius: var(--radio, 12px); background: var(--papel, #fff); color: var(--tinta, #1f2937); font-size: 14px; line-height: 1.45; text-align: left; }
.t-hecho-caja img { flex: none; margin-top: 2px; }
.t-hecho-caja a { display: inline-block; margin-top: 8px; font-weight: 700; color: #4f46e5; text-decoration: none; }

/* ---------- Abierto / cerrado ---------- */
.t-estado { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.t-estado::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.t-estado.is-abierto { color: #15803d; }
.t-estado.is-cerrado { color: #b91c1c; }

/* ---------- Seguimiento del pedido ---------- */
.t-pasos { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 0; counter-reset: paso; }
.t-pasos li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 0 18px 30px; color: var(--suave); }
.t-pasos li::before { content: ''; position: absolute; left: 4px; top: 5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--linea); background: var(--fondo); }
.t-pasos li:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 19px; bottom: 0; width: 2px; background: var(--linea); }
.t-pasos li.is-hecho { color: var(--tinta); font-weight: 600; }
.t-pasos li.is-hecho::before { border-color: rgb(var(--t-600)); background: rgb(var(--t-600)); }
.t-pasos li.is-hecho:not(:last-child)::after { background: rgb(var(--t-600)); }
.t-pasos small { font-weight: 400; color: var(--suave); font-variant-numeric: tabular-nums; }

/* ---------- Página de un producto (para compartir) ----------
   Toma las letras, colores y bordes de la plantilla; cada plantilla ajusta lo suyo con .t-{plantilla} .t-ficha... */
.t-ficha-pagina { max-width: 980px; margin: 0 auto; }
.t-ficha-barra { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--fondo); border-bottom: 1px solid var(--linea); }
.t-previa ~ div .t-ficha-barra { top: 34px; }
.t-ficha-volver { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--letra-titulo); font-size: 17px; text-decoration: none; }
.t-ficha-carrito { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--linea); border-radius: var(--boton-radio); font-weight: 700; }
.t-ficha { display: grid; gap: 22px; padding: 18px 16px 8px; }
@media (min-width: 760px) { .t-ficha { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 30px; align-items: start; } }
.t-ficha-foto { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--radio); background: rgb(var(--t-50)); }
.t-ficha-foto img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.04) contrast(1.03); }
.t-ficha-foto span { font-family: var(--letra-titulo); font-size: 96px; color: rgb(var(--t-600) / .45); }
.t-ficha-foto.is-agotado img { filter: grayscale(.85); opacity: .7; }
.t-ficha-datos { display: grid; gap: 14px; align-content: start; }
.t-ficha-categoria { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--suave); }
.t-ficha-nombre { font-family: var(--letra-titulo); font-size: clamp(26px, 6vw, 38px); line-height: 1.08; }
.t-ficha-precio { font-family: var(--letra-precio); font-size: 30px; font-weight: 700; }
.t-ficha-formas { border-top: 1px solid var(--linea); }
.t-ficha-formas li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: 15px; }
.t-ficha-agotado { padding: 14px; text-align: center; border: 1.5px dashed var(--linea); border-radius: var(--boton-radio); font-weight: 700; color: var(--suave); }
.t-ficha-datos .t-estado { font-size: 14px; }
.t-ficha-compartir { display: flex; flex-wrap: wrap; gap: 8px; }
.t-ficha-compartir .t-boton-sec { flex: 1 1 160px; }
.t-ficha-mas { padding: 28px 16px 8px; }
.t-ficha-mas h2 { font-family: var(--letra-titulo); font-size: 22px; margin-bottom: 14px; }
.t-ficha-grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
@media (min-width: 760px) { .t-ficha-grilla { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.t-mini { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t-mini-foto { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--radio); background: rgb(var(--t-50)); text-decoration: none; }
.t-mini-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-mini-foto span { font-family: var(--letra-titulo); font-size: 40px; color: rgb(var(--t-600) / .45); }
.t-mini-nombre { font-size: 14px; line-height: 1.25; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-mini-abajo { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; font-weight: 700; }
.t-mini-abajo button { width: 36px; height: 36px; border: 1.5px solid var(--tinta); border-radius: var(--boton-radio); font-size: 20px; line-height: 1; }
.t-mini.is-agotado .t-mini-foto { opacity: .55; }
.t-ficha-todo { padding: 22px 0 0; text-align: center; }
.t-ficha-pedido { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--fondo); border-top: 1px solid var(--linea); }
.t-ficha-pedido .t-boton { max-width: 640px; margin: 0 auto; }

/* ---------- "Mi foto de portada ya tiene texto" (tiendas.portada_con_texto): entera y sin escribirle encima ---------- */
body[data-portada-texto] :is(.ro-portada, .bo-portada, .pa-portada) img,
body[data-portada-texto] .al-portada { position: static; width: 100%; height: auto; max-height: 82vh; object-fit: contain; filter: none; }
body[data-portada-texto] .ro-portada { height: auto; background: transparent; }
body[data-portada-texto] .ro-portada-texto,
body[data-portada-texto] .pa-portada-titulo,
body[data-portada-texto] .bo-titular, body[data-portada-texto] .bo-volanta { display: none; }
body[data-portada-texto] .pa-portada { display: block; }
body[data-portada-texto] .pa-portada-texto:not(:has(p:not(.pa-portada-titulo))) { display: none; }
body[data-portada-texto] .bo-portada { min-height: 0; padding: 0; }
body[data-portada-texto] .bo-portada::before { display: none; }
body[data-portada-texto] .bo-arriba { order: -1; padding: 18px 24px; background: var(--acento); }
body[data-portada-texto] .bo-abajo { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 16px 24px 20px; background: var(--acento); }
body[data-portada-texto] .bo-abajo .bo-ver { padding-top: 0; }
@media (min-width: 960px) {
    body[data-portada-texto] .bo-portada { padding: 0; }
    body[data-portada-texto] .bo-arriba, body[data-portada-texto] .bo-abajo { padding-left: max(48px, calc((100vw - 1240px) / 2)); padding-right: max(48px, calc((100vw - 1240px) / 2)); max-width: none; }
    body[data-portada-texto] :is(.ro-portada, .bo-portada, .pa-portada) img { background: var(--acento, transparent); }
}

/* ---------- Fotos de productos con fondo blanco (las detecta tienda.js: t-fondo-blanco / t-blanco) ----------
   Se ven enteras y el blanco se funde con el fondo de la tarjeta (multiply), en vez de un recuadro recortado. */
.t-fondo-blanco { background: transparent !important; }
.t-fondo-blanco img.t-blanco, img.t-blanco { object-fit: contain !important; mix-blend-mode: multiply; filter: none !important; padding: 4%; }

/* ---------- Compartir (la tienda o un producto): WhatsApp, Instagram, copiar el link ---------- */
.t-compartir-tienda { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1.5px solid currentColor; border-radius: var(--boton-radio); background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.t-compartir-tienda svg { flex: none; }
.t-compartir-tienda.es-icono { width: 40px; padding: 0; }
:has(> .t-compartir-foto) { position: relative; }
.t-compartir-foto { position: absolute; z-index: 3; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); color: #1b1b1b; box-shadow: 0 2px 8px rgb(0 0 0 / .18); cursor: pointer; }
.t-compartir-foto:hover { background: #fff; }
.t-compartir-foto:focus-visible, .t-compartir-tienda:focus-visible, .t-compartir-op:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
.t-compartir-ops { display: grid; gap: 10px; }
.t-compartir-op { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--linea); border-radius: var(--boton-radio); background: transparent; color: var(--tinta); font: inherit; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; }
.t-compartir-op:hover { border-color: var(--tinta); }
.t-compartir-op small { display: block; font-weight: 500; font-size: 13px; color: var(--suave); }
.t-compartir-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; }
.t-compartir-ico.es-wa { background: #25d366; }
.t-compartir-ico.es-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.t-compartir-ico.es-link, .t-compartir-ico.es-mas { background: var(--tinta); color: var(--papel); }
.t-compartir-link { font-size: 13px; color: var(--suave); word-break: break-all; }
/* En las listas con foto chiquita (Almacén, lista de Mercado) va como texto debajo del nombre, no sobre la foto */
.al-foto .t-compartir-foto, .me-mini .t-compartir-foto { display: none !important; }
.t-compartir-fila { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; padding: 4px 0; border: 0; background: none; color: var(--suave); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.t-compartir-fila:hover { color: var(--tinta); text-decoration: underline; }
/* Mercado tiene el número de lo que llevás arriba a la derecha: compartir va a la izquierda */
.me-tarjeta-foto .t-compartir-foto { right: auto; left: 6px; top: 6px; }
/* El botón de compartir la tienda en el encabezado de cada plantilla */
.ro-acciones, .al-acciones, .me-acciones, .bo-acciones { display: flex; align-items: center; gap: 8px; flex: none; }
.ro-acciones .ro-icono { width: 40px; }
.ro-acciones { gap: 0; }
.bo-acciones { gap: 18px; }
.pa-compartir { margin-top: 6px; min-height: 36px; padding: 6px 14px; border-width: 1px; border-radius: 999px; font-size: 13px; }

