/* ==========================================================================
   PET SHOP — filtros + tarjetas de producto
   ========================================================================== */

.petshop__head { display: grid; gap: 4px; margin-bottom: 26px; }
.petshop__head .section__head { margin-bottom: 0; }
.petshop__filtros { margin-top: 12px; }

/* En celular: carrusel horizontal para no hacer la página eterna. */
.productos {
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
  scroll-padding-inline: var(--gutter); scrollbar-width: thin;
}
.producto { display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; }
.producto[hidden] { display: none; }

.producto__foto { position: relative; aspect-ratio: 4 / 3; background: var(--warm-soft); }
.producto__foto img { width: 100%; height: 100%; object-fit: cover; }
.producto__icono { display: grid; place-items: center; height: 100%; color: var(--warm); }
.producto__icono svg { width: 48px; height: 48px; }
.producto__cat { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); }

.producto__body { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.producto__nombre { font-size: 1.05rem; }
.producto__detalle { color: var(--ink-soft); font-size: .9rem; flex: 1; }
.producto__pie { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.producto__precio { font-weight: 900; }

.petshop__mas { margin-top: 18px; color: var(--ink-soft); text-align: center; }
.petshop__mas a { font-weight: 800; }

@media (min-width: 640px) {
  .productos {
    grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); grid-auto-columns: auto;
    overflow: visible; margin: 0; padding: 0; gap: 18px;
  }
}

@media (min-width: 960px) {
  .petshop__head { grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
  .productos { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
