/* ---------------------------------------------------------
   Catálogo general (/catalogo/)
   --------------------------------------------------------- */
.lcm-catalog {
  min-height: 70vh;
  padding: 20px 0 0;
  background: var(--lcm-black);
  color: var(--lcm-white);
}

.lcm-catalog__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--lcm-gutter) 72px;
}

/* Migas de pan */
.lcm-breadcrumb {
  padding: 4px 0 18px;
}

.lcm-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.lcm-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lcm-breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.3);
}

.lcm-breadcrumb a {
  color: inherit;
  transition: color 0.15s ease;
}

.lcm-breadcrumb a:hover,
.lcm-breadcrumb a:focus {
  color: var(--lcm-white);
}

.lcm-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.85);
}

/* Cabecera */
.lcm-catalog__head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lcm-catalog__title {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .lcm-catalog__title {
    font-size: 40px;
    font-weight: 800;
  }
}

@media (min-width: 1280px) {
  .lcm-catalog__title {
    font-size: 48px;
  }
}

.lcm-catalog__count {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.lcm-catalog__intro {
  max-width: 640px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .lcm-catalog__intro {
    font-size: 14px;
  }
}

/* Filtros */
.lcm-catalog__filters {
  position: sticky;
  top: var(--lcm-header);
  z-index: 10;
  margin: 0 calc(var(--lcm-gutter) * -1);
  padding: 12px var(--lcm-gutter);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lcm-catalog__chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.lcm-catalog__chips::-webkit-scrollbar {
  display: none;
}

.lcm-catalog__chips + .lcm-catalog__chips {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lcm-chip {
  display: inline-flex;
  height: 34px;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lcm-chip span {
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10px;
  line-height: 1;
}

.lcm-chip:hover,
.lcm-chip:focus {
  border-color: var(--lcm-white);
  color: var(--lcm-white);
}

.lcm-chip.is-active {
  border-color: var(--lcm-white);
  background: var(--lcm-white);
  color: var(--lcm-black);
}

.lcm-chip.is-active span {
  background: rgba(0, 0, 0, 0.12);
}

.lcm-chip--sale {
  border-color: rgba(252, 0, 0, 0.5);
  color: #ff6b6b;
}

.lcm-chip--sale span {
  background: rgba(252, 0, 0, 0.18);
}

.lcm-chip--sale.is-active {
  border-color: var(--lcm-sale);
  background: var(--lcm-sale);
  color: var(--lcm-white);
}

.lcm-chip--ghost {
  height: 28px;
  border-color: rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* Rejilla de productos */
.lcm-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 10px;
  padding-top: 22px;
}

@media (min-width: 768px) {
  .lcm-catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 16px;
  }
}

@media (min-width: 1280px) {
  .lcm-catalog__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 20px;
  }
}

.lcm-product {
  min-width: 0;
}

.lcm-product__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

.lcm-product__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #111;
}

.lcm-product__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease-out;
}

.lcm-product__link:hover .lcm-product__img,
.lcm-product__link:focus-visible .lcm-product__img {
  transform: scale(1.04);
}

.lcm-product__offer {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--lcm-sale);
  color: var(--lcm-white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lcm-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding-top: 10px;
}

.lcm-product__cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.lcm-product__title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--lcm-white);
}

@media (min-width: 768px) {
  .lcm-product__title {
    font-size: 14px;
  }
}

.lcm-product__sku {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.lcm-product__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--lcm-accent);
}

.lcm-product__cta svg {
  flex-shrink: 0;
}

/* Paginación */
.lcm-catalog__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding-top: 36px;
}

.lcm-catalog__pagination .page-numbers {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lcm-catalog__pagination a.page-numbers:hover,
.lcm-catalog__pagination a.page-numbers:focus {
  border-color: var(--lcm-white);
  color: var(--lcm-white);
}

.lcm-catalog__pagination .page-numbers.current {
  border-color: var(--lcm-white);
  background: var(--lcm-white);
  color: var(--lcm-black);
}

.lcm-catalog__pagination .page-numbers.dots {
  border-color: transparent;
}

/* Estado vacío */
.lcm-catalog__empty {
  margin-top: 28px;
  padding: 44px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.lcm-catalog__empty-title {
  max-width: 460px;
  margin: 10px auto 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.lcm-catalog__empty-text {
  max-width: 480px;
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.lcm-catalog__empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.lcm-catalog__empty-actions .lcm-pill {
  margin-top: 0;
}

.lcm-catalog__all {
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.lcm-catalog__all:hover,
.lcm-catalog__all:focus {
  color: var(--lcm-white);
}

/* Banda de contacto dentro del catálogo */
.lcm-catalog .lcm-contact {
  margin: 48px 0 0;
}
