/* PlanetaEPP — Fixes de optimización mobile
   Este archivo se carga DESPUES de css/style.css para sobrescribir
   solo las reglas necesarias, sin tocar el CSS original. */

/* Fix: productos aparecen antes que los filtros de Marca/Genero en mobile/tablet */
@media (max-width:1200px) {
  .catalogo-row {
    display: flex;
    flex-direction: column;
  }
  .catalogo-productos {
    order: 1;
  }
  .catalogo-sidebar {
    order: 2;
    margin-top: 30px;
  }
}

/* Fix: separacion del boton "+ Cotizacion" respecto a la imagen en celulares */
@media (max-width:767px) {
  .ts-service-info {
    margin-left: 10px !important;
  }
}
/* ==========================================================
   NUEVO — Bloque de búsqueda + categorías (home mobile-first)
   Agregar al FINAL de mobile-fixes.css existente
   ========================================================== */

.pepp-quickfind {
  padding: 24px 0 20px;
  background: #fff;
}

.pepp-quickfind-title {
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 16px;
  color: #212121;
}

.pepp-search-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 20px;
  border: 1px solid #dadada;
  border-radius: 6px;
  overflow: hidden;
}

.pepp-search-input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}

.pepp-search-btn {
  border: 0;
  background: #ffb600;
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
}

.pepp-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.pepp-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #303030;
  text-decoration: none;
  padding: 14px 6px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: 200ms;
}

.pepp-cat-item:hover {
  border-color: #ffb600;
  color: #303030;
}

.pepp-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff6df;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 18px;
  color: #ffb600;
}

.pepp-cat-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 576px) {
  .pepp-cat-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
/* ==========================================================
   NUEVO — Evita que el botón flotante de WhatsApp tape
   la primera columna de tarjetas en el catálogo (mobile)
   ========================================================== */
@media (max-width:767px) {
  .catalogo-productos .row > div:nth-child(odd) {
    padding-left: 26px;
  }
}
