.category-full-view {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 20px;
  display: none; /* oculto por defecto */
}
.category-full-layout {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
/* Sidebar izquierdo moderno */
.category-sidebar-modern {
  flex: 0 0 260px;
  background: white;
  border-radius: 28px;
  padding: 20px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f6;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.category-sidebar-modern h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #022a68;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2edf2;
}
.sidebar-cat-list-modern {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-cat-item-modern {
  padding: 10px 14px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2c4b66;
  cursor: pointer;
  transition: all 0.2s;
  background: #f8fafc;
  border: 1px solid #eef2f6;
}
.sidebar-cat-item-modern.active {
  background: #022a68;
  color: white;
  border-color: #022a68;
}
.sidebar-cat-item-modern:hover:not(.active) {
  background: #eef4f9;
  transform: translateX(4px);
}
/* Contenido principal de la categoría */
.category-main-full {
  flex: 1;
  min-width: 0;
}
.category-title-center-full {
  text-align: center;
  margin-bottom: 28px;
}
.category-title-center-full h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #022a68;
  background: white;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  border: 1px solid #e2edf2;
}
.products-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.pagination-full {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.page-btn-full {
  background: white;
  border: 1px solid #e2edf2;
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
  color: #1f3b4c;
}
.page-btn-full.active-page {
  background: #022a68;
  color: white;
  border-color: #022a68;
}
.back-to-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f5f9;
  border: none;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 20px;
  color: #022a68;
  transition: 0.2s;
}
.back-to-home-btn:hover {
  background: #e2edf2;
}
/* Responsive: en móvil la sidebar se convierte en horizontal */
@media (max-width: 860px) {
  .category-full-layout {
    flex-direction: column;
  }
  .category-sidebar-modern {
    flex: 0 0 120px;
    position: static;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px;
  }
  .sidebar-cat-list-modern {
    flex-direction: row;
    gap: 8px;
  }
  .sidebar-cat-item-modern {
    display: inline-block;
    white-space: nowrap;
  }
  .category-title-center-full h1 {
    font-size: 1.2rem;
    padding: 6px 20px;
  }
  .products-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .category-full-view {
    padding: 0 5px;
  }
  .products-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .product-card {
    width: 100%;
  }
}
