/* ============================================
   Productos (catálogo) — productos.css
   ============================================ */

/* ---- Header estático (reutilizado de producto.css) ---- */
.prod-header {
  position: relative;
  background: #0b0c10;
}
.topbar--static {
  position: relative;
  padding: 16px 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.85)
  );
}

/* ---- Nav active ---- */
.nav--active {
  color: #FF6A00 !important;
}

/* ---- Hero Productos ---- */
.productos-hero {
  position: relative;
  overflow: hidden;
  background: #0b0c10;
  padding: 120px 0 60px;
  text-align: center;
}
.productos-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 500px at 50% 60%, rgba(180, 90, 20, .35), transparent 65%),
    radial-gradient(400px 400px at 50% 50%, rgba(255, 106, 0, .18), transparent 60%),
    linear-gradient(135deg, #0b0c10, #12141a);
  z-index: 0;
}
.productos-hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.productos-hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}
.productos-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, calc(.72 * var(--echos-overlay-intensity, 1))),
      rgba(0, 0, 0, calc(.30 * var(--echos-overlay-intensity, 1))) 45%,
      rgba(0, 0, 0, calc(.48 * var(--echos-overlay-intensity, 1)))
    );
  pointer-events: none;
  z-index: 2;
}
.productos-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0 auto;
}
.productos-hero__title {
  margin: 0 0 18px 0;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
}
.productos-hero__desc {
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  line-height: 1.7;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Grid de Productos ---- */
.productos-grid-section {
  background: #F5F1E8;
  padding: 70px 0 80px;
}
.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Card de Producto ---- */
.producto-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.producto-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.producto-card:hover .producto-card__img {
  transform: scale(1.05);
}
.producto-card__info {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 16px;
  gap: 12px;
}
.producto-card__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.producto-card__text p {
  margin: 0;
  font-size: 12px;
  color: #777;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}
.producto-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #e8e3da;
  color: #1a1a1a;
  font-size: 22px;
  font-weight: 400;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.producto-card:hover .producto-card__btn {
  background: #FF6A00;
  color: #ffffff;
  transform: scale(1.08);
}

/* ---- CTA Final ---- */
.productos-cta {
  background: #F5F1E8;
  padding: 0 0 80px;
  text-align: center;
}
.productos-cta__card {
  background: #EDE8DD;
  border-radius: 28px;
  padding: 70px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.productos-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: #1a1000;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-style: italic;
}
.productos-cta__text {
  margin: 0;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  max-width: 460px;
}
.productos-cta__buttons {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Botones oscuros CTA (reutilizados) */
.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
  border-radius: 999px;
  background: #2E1A0E;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
  border: none;
}
.btn-cta-dark:hover {
  background: #1a0e05;
  transform: translateY(-2px);
}
.btn-cta-dark__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .productos-hero {
    padding: 100px 0 40px;
  }
  .productos-hero__title {
    font-size: 34px;
  }
  .productos-hero__desc {
    font-size: 14px;
  }
  .productos-grid-section {
    padding: 50px 0 60px;
  }
  .productos-grid {
    gap: 20px;
  }
  .producto-card__text p {
    max-width: 240px;
  }
  .productos-cta__title {
    font-size: 28px;
  }
  .productos-cta__card {
    padding: 50px 30px 60px;
  }
}

@media (max-width: 520px) {
  .productos-hero {
    padding: 100px 0 30px;
  }
  .productos-hero__title {
    font-size: 28px;
    letter-spacing: 1px;
  }
  .productos-grid-section {
    padding: 40px 0 50px;
  }
  .productos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .producto-card__text p {
    max-width: 220px;
  }
  .productos-cta {
    padding: 0 0 50px;
  }
  .productos-cta__card {
    padding: 40px 20px 50px;
    border-radius: 20px;
  }
  .productos-cta__title {
    font-size: 24px;
  }
  .productos-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ---- Filtros y paginacion ---- */
.productos-filters {
  margin: 0 auto 34px;
  max-width: 1100px;
  background: #ede8dd;
  border-radius: 18px;
  padding: 20px;
}
.productos-filters__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.productos-filters__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.productos-filters__field label {
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #5b5146;
  font-weight: 700;
}
.productos-filters__field input,
.productos-filters__field select {
  border: 1px solid #d7d0c4;
  border-radius: 10px;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
  color: #1d1d1d;
}
.productos-filters__actions {
  display: flex;
  gap: 10px;
}
.productos-filters__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  min-height: 42px;
  padding: 0 16px;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
}
.productos-filters__btn--submit {
  background: #2e1a0e;
  color: #fff;
}
.productos-filters__btn--reset {
  background: transparent;
  border: 1px solid #7f7468;
  color: #3a3128;
}

.productos-empty {
  max-width: 780px;
  margin: 20px auto 0;
  text-align: center;
  background: #ede8dd;
  border-radius: 18px;
  padding: 34px 24px;
}
.productos-empty__title {
  margin: 0 0 10px;
  font-size: 28px;
  font-family: var(--font-display);
}
.productos-empty__text {
  margin: 0;
  color: #5f5a52;
  font-size: 15px;
  line-height: 1.6;
}

.productos-pagination {
  margin: 30px auto 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.productos-pagination__item .page-numbers {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #2e1a0e;
  border: 1px solid #d7d0c4;
  background: #fff;
  font-size: 13px;
}
.productos-pagination__item .page-numbers.current {
  background: #2e1a0e;
  color: #fff;
  border-color: #2e1a0e;
}

@media (max-width: 980px) {
  .productos-filters__row {
    grid-template-columns: 1fr 1fr;
  }
  .productos-filters__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .productos-filters {
    padding: 16px;
  }
  .productos-filters__row {
    grid-template-columns: 1fr;
  }
  .productos-filters__actions {
    justify-content: stretch;
  }
  .productos-filters__btn {
    width: 100%;
  }
}
