/* Ajustes de la tienda real sobre tienda.css (fotos reales, carga, paginación, ficha) */
/* La foto siempre completa dentro de su recuadro (nunca recortada): posición absoluta + contain */
.ph, .gal .main, .thumbs button, .line .th, .sumline .th { position: relative }
.ph img, .gal .main img, .thumbs img, .line .th img, .sumline .th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block }
.ph img { padding: 8%; transition: transform .35s var(--ease) }
.gal .main img { padding: 6% }
.thumbs img, .line .th img, .sumline .th img { padding: 10% }
@media (hover:hover) and (pointer:fine) { .prod:hover .ph img { transform: scale(1.04) } }
.ph .sinfoto { font-size: 12px; color: #6B778A }
.carga { padding-block: 64px; text-align: center; color: var(--mut) }
.esq { background: linear-gradient(90deg, var(--sf) 0%, var(--sf2) 50%, var(--sf) 100%); background-size: 200% 100%; animation: esq 1.2s ease-in-out infinite; border-radius: 14px }
@keyframes esq { to { background-position: -200% 0 } }
@media (prefers-reduced-motion:reduce) { .esq { animation: none } }
.mas { display: flex; justify-content: center; margin-top: 32px }
.desc { max-width: 760px; color: var(--ink); line-height: 1.65 }
.desc h3, .desc h4 { font: 600 17px/1.3 var(--f-body); color: var(--title); margin: 24px 0 8px }
.desc p { margin: 0 0 12px }
.desc ul { padding-left: 20px; margin: 0 0 12px }
.desc li { margin-bottom: 4px }
.desc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; display: block; overflow-x: auto }
.desc td, .desc th { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; vertical-align: top }
.carac { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px }
.carac li { display: flex; gap: 10px; align-items: flex-start }
.carac svg { flex: none; color: var(--ok); margin-top: 3px }
.subs { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 0 28px }
.subs button { border: 0; background: none; text-align: left; padding: 5px 0; color: var(--mut); font-size: 14px; cursor: pointer }
.subs button[aria-pressed="true"] { color: var(--acc); font-weight: 600 }
/* Filtros: barra fija con su propio desplazamiento en escritorio; secciones plegables */
@media (min-width:861px) { .filters { max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-width: thin } }
.fsec { border-bottom: 1px solid var(--line); padding-bottom: 14px }
.fsec summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--title); font-size: 14px; padding: 4px 0 10px }
.fsec summary::-webkit-details-marker { display: none }
.fsec summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: rotate(45deg); transition: transform .2s var(--ease); margin-right: 4px }
.fsec[open] summary::after { transform: rotate(-135deg) }
.fsec fieldset { gap: 4px }
.vermas { font-size: 13px; margin-top: 6px; align-self: flex-start }
