/* Estilos compartidos de la galería de plantillas: los usan el HOME (3 destacadas)
   y /t/plantillas-tienda-en-linea/ (galería completa). */
:root{--gal:1}
/* ── Filtros ── */
.filtro { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 2px solid var(--soft-border); background: #fff; color: var(--navy-800); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: all .2s ease; cursor: pointer; }
.filtro:hover { border-color: var(--orange-500); color: var(--orange-500); }
.filtro.on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filtro .n { font-size: .72rem; background: rgba(15,36,64,.08); border-radius: 999px; padding: 1px 8px; }
.filtro.on .n { background: rgba(255,255,255,.18); }
.filtros-scroll { scrollbar-width: none; }
.filtros-scroll::-webkit-scrollbar { display: none; }

/* ── Tarjeta de modelo ── */
.mod-card { background: #fff; border: 2px solid var(--soft-border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: all .3s ease; }
.mod-card:hover { border-color: var(--orange-500); transform: translateY(-6px); box-shadow: 0 25px 50px rgba(15,36,64,.14); }
.mod-card .nav-dots { height: 26px; background: #f4f6fa; border-bottom: 1px solid var(--soft-border); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mod-card .nav-dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.mod-card .nav-dots span { margin-left: 8px; flex: 1; background: #fff; border: 1px solid var(--soft-border); border-radius: 6px; font-size: .68rem; color: #8a94a6; padding: 1px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-card .shot { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #eef2f7; }
.mod-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 3.5s ease; }
.mod-card:hover .shot img { object-position: bottom; }
.mod-card .shot .ver { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15,36,64,.55); opacity: 0; transition: opacity .25s ease; }
.mod-card:hover .shot .ver { opacity: 1; }
.mod-card .dots span { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--soft-border); margin-left: -5px; }
.mod-card .chip { display: inline-block; font-size: .72rem; font-weight: 600; background: var(--soft-gray); color: var(--navy-800); border-radius: 999px; padding: 3px 10px; margin: 0 4px 6px 0; }
.mod-num { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--navy-800); font-weight: 800; font-size: .72rem; border-radius: 999px; padding: 3px 10px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.mod-card[hidden] { display: none !important; }
