/**
 * Overrides producción — catálogo sandbox (/tienda/)
 * Alta especificidad vs Blocksy + styles.css del tema hijo.
 */

body.todoexiste-catalog-page {
  background: var(--te-bg, #f5f5f7) !important;
  overflow-x: hidden;
}

body.todoexiste-catalog-page #header,
body.todoexiste-catalog-page .ct-header,
body.todoexiste-catalog-page #offcanvas,
body.todoexiste-catalog-page .ct-breadcrumbs,
body.todoexiste-catalog-page .hero-section {
  display: none !important;
}

body.todoexiste-catalog-page .te-header {
  background: rgba(22, 22, 24, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.todoexiste-catalog-page .pa-shop-wrap {
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  width: min(1120px, 92vw) !important;
  margin-inline: auto !important;
  gap: 2rem !important;
  padding: 2rem 0 3rem !important;
  align-items: start !important;
}

body.todoexiste-catalog-page .pa-filters {
  display: block !important;
}

body.todoexiste-catalog-page .pa-grid.pa-grid--elite {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 1.15rem !important;
}

body.todoexiste-catalog-page .pa-card--elite .price,
body.todoexiste-catalog-page .pa-card--elite .woocommerce-Price-amount {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--te-text, #1d1d1f);
}

body.todoexiste-catalog-page .pa-card-add.add_to_cart_button.added {
  opacity: 0.85;
}

@media (max-width: 900px) {
  body.todoexiste-catalog-page .pa-shop-wrap {
    grid-template-columns: 1fr !important;
  }

  body.todoexiste-catalog-page .pa-filters {
    display: none !important;
  }

  body.todoexiste-catalog-page .pa-filters.is-open {
    display: block !important;
  }

  body.todoexiste-catalog-page .pa-filter-toggle {
    display: flex !important;
  }
}

@media (min-width: 901px) {
  body.todoexiste-catalog-page .pa-filter-toggle {
    display: none !important;
  }
}
