.page-header {
  padding: 60px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}
.page-header-content h1 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 12px;
}
.page-header .breadcrumb {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.page-header .breadcrumb li:not(.current)::after {
  content: "/";
  margin-left: 8px;
  color: #ccc;
}
.page-header .breadcrumb a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.page-header .breadcrumb .current {
  color: #eee;
  font-weight: 400;
}
.filter-section {
  padding: 30px 0;
  background: var(--light-gray);
}
.filter-container {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.filter-group {
  display: flex;
  flex-direction: column;
}
.filter-group label {
  font-weight: 600;
  margin-bottom: 8px;
}
.filter-group select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 15px;
}
.filter-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.filter-btn {
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: var(--white);
  transition: var(--transition);
}
.filter-btn:hover {
  background: var(--primary-dark);
}
.filter-btn.reset {
  background: var(--gray);
}
.filter-btn.reset:hover {
  background: var(--dark-gray);
}
.products {
  padding: 50px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 32px;
  color: var(--black);
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 700;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}
.product-content {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #eee;
  overflow: hidden;
}
.product-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.product-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  position: relative;
}
.product-image img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}
.product-info {
  padding: 20px;
  text-align: center;
}
.product-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--gray);
}
.brand {
  color: var(--primary);
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}
.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
}
.old-price {
  font-size: 16px;
  color: var(--gray);
  text-decoration: line-through;
  display: block;
  margin-bottom: 15px;
}
.btn-ver-mas {
  display: inline-block;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  border: 2px solid var(--black);
  text-decoration: none;
}
.btn-ver-mas:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 8px;
}
.pagination-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray);
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--light-gray);
  text-decoration: none;
}
.pagination-item.active, .pagination-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
/* --- CORRECCIÓN DE DISEÑO DE BOTONES --- */

/* Contenedor de los botones */
.product-actions {
    display: flex;
    align-items: center;
    gap: 8px; /* Espacio entre el botón y el corazón */
    margin-top: 15px;
    padding: 0 10px; /* Margen interno para que no peguen al borde */
}

/* Estilo del botón "Añadir al carrito" (Negro y elegante) */
.btn-add-cart {
    flex: 1; /* Hace que el botón crezca y ocupe el espacio */
    height: 40px; /* Altura fija para que coincida con el corazón */
    background-color: var(--black, #000000);
    color: var(--white, #ffffff);
    border: 2px solid var(--black, #000000);
    border-radius: var(--radius, 8px);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition, all 0.3s ease);
    text-transform: none; /* Para que se vea igual que en tu imagen */
}

.btn-add-cart:hover {
    background-color: var(--primary, #FF7700);
    border-color: var(--primary, #FF7700);
}

/* Estilo del botón de Favoritos (Corazón) */
.btn-wishlist {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5; /* Gris muy clarito como en tu imagen */
    border-radius: var(--radius, 8px);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--black, #000000);
    transition: var(--transition, all 0.3s ease);
}

.btn-wishlist:hover {
    background-color: #ffe6e6;
    color: #ff6b6b;
}

.btn-wishlist i {
    font-size: 18px;
}