
/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #222;
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
  position: relative;
  overflow: hidden;
}

.banner-track {
  display: flex;
  transition: transform .5s ease;
}

.banner {
  min-width: 100%;
  position: relative;
}

.banner img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  color: #fff;
  max-width: 420px;
}

.banner-content h2 {
  font-size: 34px;
  margin: 0 0 10px;
}

.banner-content p {
  font-size: 16px;
  margin: 0 0 16px;
}

.banner-content a {
  display: inline-block;
  background: #ff7a00;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* Flechas */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  font-size: 32px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 10;
}

.banner-arrow.prev { left: 10px; }
.banner-arrow.next { right: 10px; }

/* ===== GRID CARDS ===== */
main {
  padding: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-content {
  padding: 14px;
  text-align: center;
}

.card-content h3 {
  font-size: 14px;
  margin: 0 0 6px;
}

.card-content p {
  font-size: 15px;
  font-weight: 700;
  color: #ff7a00;
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #bbb;
  padding: 40px;
}


/* ===== HEADER NORMALIZADO ===== */
header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.search {
  flex: 1;
}

.search input {
  width: 100%;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.actions a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.actions a.primary {
  background: #ff7a00;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
}

/* ===== CATEGORÍAS ===== */
.categories-wrap {
  background: #fafafa;
  border-bottom: 1px solid #eaeaea;
}

.categories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 16px;
}

.cat {
  font-size: 13px;
  color: #444;
  cursor: pointer;
  white-space: nowrap;
}


/* ===== AJUSTES FINOS HEADER ===== */

/* Logo más grande SIN agrandar header */
.logo img {
  height: 62px;   /* antes 42px */
}

/* Mantener header compacto */
.header-row {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* ===== CATEGORÍAS COMO BOTONES ===== */
.categories-wrap {
  background: #f8f8f8;
}

.categories {
  justify-content: center;   /* centradas */
  flex-wrap: wrap;
}

.cat {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 13px;
  color: #333;
  transition: all .2s ease;
}

.cat:hover {
  background: #ff7a00;
  border-color: #ff7a00;
  color: #fff;
}


/* ===== LOGO GRANDE DEFINITIVO ===== */
.logo img {
  height: 88px;
  width: auto;
}


/* ===== GRID 5 COLUMNAS (DESKTOP) ===== */
.grid {
  grid-template-columns: repeat(5, 1fr);
}


/* ===== GRID 5x5 DEFINITIVO ===== */
.grid {
  grid-template-columns: repeat(5, 1fr);
}


/* ===== GRID 5x5 DEFINITIVO ===== */
.grid {
  grid-template-columns: repeat(5, 1fr);
}


/* ===== BOTÓN VER MÁS AVISOS ===== */
.ver-mas-wrap {
  display: flex;
  justify-content: center;
  margin: 40px 0 10px;
}

.btn-ver-mas {
  display: inline-block;
  background: #ff7a00;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-ver-mas:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.3);
}


/* ===== FIX DEFINITIVO GRID + CARDS ===== */
.grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch;
}

.card {
  width: 100% !important;
  max-width: none !important;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 12px;
  text-align: center;
}

.card-content h3 {
  font-size: 13px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.card-content p {
  font-size: 14px;
  font-weight: 700;
  color: #ff7a00;
  margin: 0;
}


/* ===== FIX DEFINITIVO GRID + CARDS ===== */
.grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch;
}

.card {
  width: 100% !important;
  max-width: none !important;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 12px;
  text-align: center;
}

.card-content h3 {
  font-size: 13px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.card-content p {
  font-size: 14px;
  font-weight: 700;
  color: #ff7a00;
  margin: 0;
}


/* ================================
   CARD – UBICACION + CONSULTAR
   ================================ */

.location {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.location::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ff7a00;
  border-radius: 50%;
  display: inline-block;
}

.price {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-top: 6px;
}


/* ================================
   CARD – UBICACION + CONSULTAR
   ================================ */

.location {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.location::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #ff7a00;
  border-radius: 50%;
  display: inline-block;
}

.price {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-top: 6px;
}


/* ================================
   GRID HOME – FIX DEFINITIVO
   ================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 12px;
  text-align: center;
}


/* ================================
   REVERT CARD / GRID FIX
   ================================ */

.grid {
  max-width: unset !important;
  grid-template-columns: unset !important;
}

.card {
  width: unset !important;
}

.card img {
  height: auto !important;
}


/* ================================
   ================================ */

.card {
  position: relative;
}

  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  background: #25D366;
  border-radius: 50%;
  display: block;
}

  content: "🟢";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}


/* ================================
   ================================ */

.card {
  position: relative;
}

  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

  content: "🟢";
  font-size: 18px;
}


/* ================================
   ================================ */

.card {
  position: relative;
}

  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

  content: "🟢";
  font-size: 18px;
}


/* ================================
   HOME – 5 CARDS POR FILA (FINAL)
   ================================ */

main {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}


/* ================================
   HOME – ESPACIADO ENTRE CARDS
   ================================ */

main {
  gap: 20px;
}


/* ================================
   BOTON VER MAS – DERECHA
   ================================ */

.ver-mas-wrap {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 16px;
  text-align: right;
}

.btn-ver-mas {
  display: inline-block;
}


/* ================================
   FIX DEFINITIVO BOTON VER MAS
   ================================ */

.ver-mas-wrap {
  display: flex;
  justify-content: flex-end;
}

.btn-ver-mas {
  margin-left: auto;
}


/* ================================
   ================================ */

  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  border: none;
  outline: none;
}

  content: none !important;
}

  width: 22px;
  height: 22px;
  fill: #fff;
}


/* ================================
   VER MAS AVISOS – FIX REAL
   ================================ */

.ver-mas-wrap {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}


/* ================================
   ================================ */

.card {
  position: relative;
}

  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  border-radius: 50%;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

  content: "";
  position: absolute;
  inset: 9px;
  background: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg") no-repeat center;
  background-size: contain;
}


/* ================================
   ================================ */

.card {
  position: relative;
}

  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  border-radius: 50%;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

  content: "";
  position: absolute;
  inset: 9px;
  background: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg") no-repeat center;
  background-size: contain;
}


/* ================================
   ================================ */

.card {
  position: relative;
}

  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  background-color: #25D366;
  border-radius: 50%;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

  content: "";
  position: absolute;
  inset: 9px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='white' d='M19.11 17.53c-.27-.14-1.58-.78-1.82-.87-.24-.09-.42-.14-.6.14-.18.27-.69.87-.84 1.05-.15.18-.31.2-.58.07-.27-.14-1.14-.42-2.17-1.33-.8-.71-1.34-1.59-1.5-1.86-.16-.27-.02-.41.12-.55.12-.12.27-.31.41-.46.14-.15.18-.27.27-.45.09-.18.04-.34-.02-.48-.07-.14-.6-1.45-.82-1.98-.22-.53-.44-.46-.6-.47h-.51c-.18 0-.48.07-.73.34-.25.27-.96.94-.96 2.3 0 1.36.99 2.67 1.13 2.85.14.18 1.95 2.98 4.73 4.18.66.29 1.18.46 1.58.59.66.21 1.26.18 1.73.11.53-.08 1.58-.64 1.8-1.26.22-.62.22-1.15.15-1.26-.06-.11-.24-.18-.51-.32M16.04 3C9.39 3 4 8.39 4 15.04c0 2.65.87 5.1 2.35 7.08L4 29l7.1-2.28c1.92 1.05 4.13 1.66 6.94 1.66 6.65 0 12.04-5.39 12.04-12.04C28.08 8.39 22.69 3 16.04 3z'/%3E%3C/svg%3E");
}


/* ================================
   ================================ */

.card {
  position: relative;
}

  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #25D366;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABmElEQVRYR+2Wv0tCQRDHf7M4JrYQ4iAiWNhYWNjY2FgY2NjY2FgYWFjY2FhY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBhY2NjY2FhYWNjY2NjY2FgYGBlz8A3gZ1lJkKXb8AAAAASUVORK5CYII=");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  z-index: 10;
}


/* ================================
   GRID PRINCIPAL – FIX FINAL
   ================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}


/* ================================
   GRID HOME – 5 COLUMNAS
   ================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}


/* ================================
   OVERRIDE FINAL CARDS (ANTI-GIGANTE)
   ================================ */

.grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
}

.grid > .card {
  width: auto !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  grid-column: auto !important;
}


/* ================================
   OVERRIDE FINAL CARDS (ANTI-GIGANTE)
   ================================ */

.grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
}

.grid > .card {
  width: auto !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  grid-column: auto !important;
}


/* ================================
   CARD - UBICACION
   ================================ */

.card .location {
  font-size: 13px;
  color: #666;
  margin: 4px 0 6px;
}


/* ================================
   WHATSAPP ICON - SIMPLE Y VISIBLE
   ================================ */

.card {
  position: relative;
}

.card .wa {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #25D366;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  display: block;
  text-indent: -9999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}


/* ================================
   CARD - UBICACION MODERNA
   ================================ */

.card .location {
  font-size: 13px;
  color: #666;
  margin: 4px 0 6px;
  padding-left: 18px;
  position: relative;
}

.card .location::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5S13.4 11.5 12 11.5z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}


/* ================================
   CARD - ESPACIO PARA WHATSAPP
   ================================ */

.card .card-content {
  padding-bottom: 56px;
}


/* ================================
   CARD - ESPACIO PARA WHATSAPP
   ================================ */

.card .card-content {
  padding-bottom: 56px;
}


/* ================================
   LISTADO DE AVISOS
   ================================ */

.listado-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  margin-top: 20px;
}

.filtros {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.filtros h3 {
  margin-bottom: 12px;
}

.filtros label {
  font-size: 13px;
  margin-top: 10px;
  display: block;
}

.filtros select,
.filtros input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.resultados h2 {
  margin-bottom: 14px;
}

.paginacion {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.paginacion a {
  padding: 6px 10px;
  border-radius: 6px;
  background: #eee;
  font-size: 13px;
}

.paginacion a.active {
  background: #ff6a00;
  color: #fff;
}


/* ================================
   FIX SLIDER BANNERS
   ================================ */

.banner-slider {
  position: relative;
  overflow: hidden;
}

.banner-track {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.banner-track::-webkit-scrollbar {
  display: none;
}

.banner {
  min-width: 100%;
  position: relative;
  flex-shrink: 0;
}

.banner img {
  width: 100%;
  display: block;
}

.banner-content {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 420px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.banner-arrow.prev { left: 12px; }
.banner-arrow.next { right: 12px; }


/* ================================
   FIX DEFINITIVO SLIDER (OVERRIDE)
   ================================ */

.banner-slider {
  position: relative;
  overflow: hidden;
}

.banner-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform 0.6s ease;
}

.banner {
  min-width: 100% !important;
  flex-shrink: 0 !important;
  position: relative;
}


/* ================================
   FIX FINAL ANCHO SLIDER
   ================================ */

.banner-track {
}


/* ================================
   FIX FINAL ANCHO SLIDER
   ================================ */

.banner-track {
}


.banner-slider {
  overflow: hidden;
}

.banner-track {
  will-change: transform;
}


.banner-slider {
  overflow: hidden;
}

.banner-track {
  will-change: transform;
}


/* ================================
   RESPONSIVE MOBILE
   ================================ */

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {

  main {
    padding: 20px;
  }

  .header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .actions {
    justify-content: center;
  }

  .categories {
    overflow-x: auto;
    white-space: nowrap;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .card img {
    height: 180px;
  }

}


/* ================================
   FIX SLIDER RESPONSIVE
   ================================ */

.banner-track {
  width: 100% !important;
}

@media (min-width: 1025px) {
  .banner-track {
    width: 300% !important;
  }
}


/* ================================
   FIX IMAGEN SLIDER MOBILE
   ================================ */

@media (max-width: 768px) {

  .banner {
    height: 180px;
    overflow: hidden;
  }

  .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

}


/* ================================
   FIX DEFINITIVO SLIDER MOBILE
   ================================ */

@media (max-width: 768px) {

  .banner-slider {
    width: 100%;
    overflow: hidden !important;
  }

  .banner-track {
    width: 100% !important;
    overflow: hidden !important;
  }

  .banner {
    width: 100% !important;
    min-width: 100% !important;
  }

  .banner img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

}


/* =========================================
   SLIDER MOBILE PROFESIONAL
   ========================================= */

@media (max-width: 768px) {

  .banner-slider {
    height: 240px;
    overflow: hidden;
  }

  .banner {
    position: relative;
    height: 240px;
  }

  .banner img {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }

  .banner-content {
    left: 16px;
    right: 16px;
    max-width: 100%;
  }

  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

}


/* =========================================
   AJUSTE ALTURA SLIDER MOBILE
   ========================================= */

@media (max-width: 768px) {

  .banner-slider {
    height: 320px !important;
  }

  .banner {
    height: 320px !important;
  }

  .banner img {
    height: 320px !important;
    object-fit: cover;
  }

  .banner-content {
    top: 50%;
    transform: translateY(-50%);
  }

}


/* =========================================
   BLOQUEO TOTAL SCROLL HORIZONTAL SLIDER
   ========================================= */

@media (max-width: 768px) {

  .banner-slider {
    overflow-x: hidden !important;
    touch-action: pan-y !important;
  }

  .banner-track {
    overflow-x: hidden !important;
  }

}


/* =========================================
   FLECHAS INTELIGENTES SLIDER
   ========================================= */

/* Ocultas por defecto */
.banner-arrow {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Aparecen en hover (desktop) */
.banner-slider:hover .banner-arrow {
  opacity: 1;
}

/* En mobile siempre visibles */
@media (max-width: 768px) {
  .banner-arrow {
    opacity: 1 !important;
  }
}


/* =========================================
   FORCE 2 PRODUCTS MOBILE FINAL
   ========================================= */

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* =========================================
   MOBILE FILTER DRAWER
   ========================================= */

.mobile-filter-btn {
  display: none;
  background: #ff6a00;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
  cursor: pointer;
}

.filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: none;
  z-index: 999;
}

@media (max-width: 768px) {

  .mobile-filter-btn {
    display: block;
  }

  .listado-wrap {
    grid-template-columns: 1fr !important;
  }

  .filtros {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100%;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    transition: right .3s ease;
    padding: 20px;
  }

  .filtros.open {
    right: 0;
  }

  .filter-overlay.open {
    display: block;
  }

}

