/* =============================================================
   Catálogo de productos — Kohen Industrial
   ============================================================= */

.kohen-catalog-main {
  background: #f5f3ec;
  min-height: 60vh;
  padding-bottom: 80px;
}

/* Hero + buscador ----------------------------------------------- */
.kohen-catalog-hero {
  background: linear-gradient(135deg, #0e3d24 0%, #3f724e 100%);
  color: #fff;
  padding: 64px 24px 48px;
  text-align: center;
}
.kohen-catalog-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}
.kohen-catalog-hero h1 {
  font-family: "Outfit", "DM Sans", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.15;
}
.kohen-catalog-hero p {
  font-size: 16px;
  margin: 0 0 28px;
  opacity: 0.92;
  color: #fff;
}
/* Variante del buscador del home dentro del hero del catálogo */
.kohen-search--catalog {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}
.kohen-search--catalog .kohen-search__input {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.kohen-search--catalog .kohen-search__results {
  margin-top: 8px;
}

/* Body con filtros + grid --------------------------------------- */
.kohen-catalog-body {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.kohen-catalog-filters {
  position: sticky;
  top: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.kohen-catalog-filters h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6a7567;
  margin: 0 0 14px;
  font-family: "Outfit", sans-serif;
}
.kohen-catalog-filters ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kohen-catalog-filters li {
  margin: 0;
}
.kohen-catalog-filters button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 10px 12px;
  font: inherit;
  font-size: 14.5px;
  color: #1a1a1a;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.kohen-catalog-filters button:hover {
  background: #f5f3ec;
}
.kohen-catalog-filters button[aria-pressed="true"] {
  background: #e7f1e3;
  color: #3f724e;
  font-weight: 600;
}
.kohen-catalog-filters .count {
  font-size: 12px;
  color: #6a7567;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 8px;
  border-radius: 999px;
}
.kohen-catalog-filters button[aria-pressed="true"] .count {
  background: rgba(63, 114, 78, 0.15);
  color: #3f724e;
}

.kohen-catalog-filters-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #d8d4c4;
  padding: 12px 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
}
.kohen-catalog-filters-toggle svg {
  width: 18px;
  height: 18px;
}

/* Content área ---------------------------------------------------- */
.kohen-catalog-content {
  min-width: 0;
}
.kohen-catalog-meta {
  font-size: 13px;
  color: #6a7567;
  margin-bottom: 14px;
  padding: 0 4px;
}
.kohen-catalog-meta strong {
  color: #1a1a1a;
}

/* Cards grid ----------------------------------------------------- */
.kohen-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.kohen-catalog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kohen-catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.kohen-catalog-card__image {
  aspect-ratio: 1;
  background: #f5f3ec;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.kohen-catalog-card__image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.kohen-catalog-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.kohen-catalog-card__cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5ca648;
  font-weight: 700;
}
.kohen-catalog-card__title {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.25;
}
.kohen-catalog-card__title a {
  color: inherit;
  text-decoration: none;
}
.kohen-catalog-card__title a:hover {
  color: #3f724e;
}
.kohen-catalog-card__desc {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kohen-catalog-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}
.kohen-catalog-card__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  min-height: 40px;
  transition: background 0.15s ease, color 0.15s ease;
}
.kohen-catalog-card__btn--primary {
  background: #3f724e;
  color: #fff;
}
.kohen-catalog-card__btn--primary:hover {
  background: #2f5a3c;
}
.kohen-catalog-card__btn--wa {
  background: #25d366;
  color: #fff;
}
.kohen-catalog-card__btn--wa:hover {
  background: #1eb558;
}
.kohen-catalog-card__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.kohen-catalog-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6a7567;
  font-size: 15px;
}

/* Newsletter ------------------------------------------------------ */
.kohen-catalog-newsletter {
  margin-top: 80px;
  padding: 0 24px;
}
.kohen-catalog-newsletter__inner {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.kohen-catalog-newsletter h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 10px;
}
.kohen-catalog-newsletter p {
  color: #555;
  margin: 0 0 22px;
  font-size: 15px;
}
.kohen-catalog-newsletter__form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.kohen-catalog-newsletter__form input {
  flex: 1;
  min-width: 200px;
  border: 1px solid #d8d4c4;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #fff;
  color: #1a1a1a;
}
.kohen-catalog-newsletter__form input:focus {
  border-color: #3f724e;
}
.kohen-catalog-newsletter__form button {
  background: #3f724e;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
  min-height: 44px;
}
.kohen-catalog-newsletter__form button:hover {
  background: #2f5a3c;
}
.kohen-catalog-newsletter__form button[disabled] {
  background: #888;
  cursor: not-allowed;
}
.kohen-catalog-newsletter__note {
  font-size: 12px !important;
  color: #888 !important;
  margin: 12px 0 0 !important;
}
.kohen-catalog-newsletter__status {
  margin: 14px 0 0;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e7f1e3;
  color: #3f724e;
}
.kohen-catalog-newsletter__status.error {
  background: #fde7e7;
  color: #b32424;
}

/* Mobile ---------------------------------------------------------- */
@media (max-width: 900px) {
  .kohen-catalog-hero {
    padding: 48px 20px 36px;
  }
  .kohen-catalog-body {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
    padding: 0 16px;
  }
  .kohen-catalog-filters-toggle {
    display: inline-flex;
  }
  .kohen-catalog-filters {
    position: static;
    display: none;
    padding: 16px;
  }
  .kohen-catalog-filters.is-open {
    display: block;
  }
  .kohen-catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .kohen-catalog-card__body {
    padding: 12px 14px 14px;
  }
  .kohen-catalog-card__title {
    font-size: 14.5px;
  }
  .kohen-catalog-card__desc {
    font-size: 12.5px;
    -webkit-line-clamp: 2;
  }
  .kohen-catalog-card__actions {
    flex-direction: column;
    gap: 6px;
  }
  .kohen-catalog-newsletter {
    margin-top: 48px;
    padding: 0 16px;
  }
  .kohen-catalog-newsletter__inner {
    padding: 28px 20px;
  }
  .kohen-catalog-newsletter__form {
    flex-direction: column;
  }
  .kohen-catalog-newsletter__form input,
  .kohen-catalog-newsletter__form button {
    width: 100%;
  }
}

/* Mobile small (cards en 2 col compactas) ------------------------- */
@media (max-width: 480px) {
  .kohen-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Oculta cualquier línea verde decorativa heredada del footer en
   esta página específica (evita superposición con el hero). */
.kohen-catalog-page footer.elementor-element-a4a3532::before {
  display: none;
}
