/* =============================================
   NRR — Tabs / Products Section
   Estilo coherente con hero: Poppins, #ff3317
============================================= */

.nrr-tabs-section *,
.nrr-tabs-section *::before,
.nrr-tabs-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Section wrapper --- */
.nrr-tabs-section {
  background: #ffffff;
  padding: 96px 24px;
  font-family: "Poppins", sans-serif;
}

.nrr-tabs-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Header --- */
.nrr-tabs-section__header {
  margin-bottom: 52px;
  text-align: center;
}

.nrr-tabs-section__eyebrow {
  display: inline-block;
  background: rgba(255, 51, 23, 0.08);
  border: 1px solid rgba(255, 51, 23, 0.25);
  color: #ff3317;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.nrr-tabs-section__title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #0f1721;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.nrr-tabs-section__subtitle {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Tab buttons — mismos estilos que hero --- */
.nrr-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  justify-content: center;
}

.nrr-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 26px;
  border-radius: 6px;
  border: 2px solid #e5e7eb;
  background: transparent;
  color: #374151;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nrr-tab:hover {
  border-color: #ff3317;
  color: #ff3317;
}

.nrr-tab.is-active {
  background: #ff3317;
  border-color: #ff3317;
  color: #ffffff;
}

.nrr-tab__icon {
  font-size: 16px;
  line-height: 1;
}

/* --- Condition description --- */
.nrr-tabs-section__condition-desc {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 40px;
  min-height: 20px;
  padding-left: 2px;
  text-align: center;
}

/* --- Product grid --- */
.nrr-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nrr-product-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Product card (horizontal) --- */
.nrr-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nrr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.09);
}

/* Imagen del producto */
.nrr-card__img {
  width: 200px;
  flex-shrink: 0;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 12px;
  font-weight: 500;
}


.nrr-card__body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Badge igual que hero badge */
.nrr-card__tag {
  display: inline-block;
  background: #68a9ff4d;
  color: #2176e8;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.nrr-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #0f1721;
  margin-bottom: 10px;
  line-height: 1.3;
}

.nrr-card__desc {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botón igual que .nrr-btn--primary del hero */
.nrr-card__btn {
  display: inline-block;
  align-self: flex-start;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 11px 24px;
  background: #ff3317;
  color: #ffffff;
  border: 2px solid #ff3317;
  transition: all 0.18s ease;
}

.nrr-card__btn:hover {
  background: #e02a10;
  border-color: #e02a10;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 51, 23, 0.35);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nrr-tabs-section {
    padding: 64px 16px;
  }

  .nrr-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: unset;
  }

  .nrr-tab {
    justify-content: center;
    font-size: 13px;
    padding: 11px 16px;
  }

  .nrr-product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nrr-card {
    flex-direction: row;
    align-items: stretch;
  }

  .nrr-card__img {
    width: 130px;
    min-height: 170px;
    flex-shrink: 0;
  }

  .nrr-card__body {
    padding: 16px 18px;
  }

  .nrr-card__name {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .nrr-card__desc {
    font-size: 12.5px;
    margin-bottom: 14px;
    -webkit-line-clamp: 3;
  }

  .nrr-card__btn {
    font-size: 13px;
    padding: 9px 18px;
  }
}

@media (max-width: 420px) {
  .nrr-tabs-section__header {
    margin-bottom: 36px;
  }

  .nrr-tabs {
    grid-template-columns: 1fr;
  }

  .nrr-tab {
    font-size: 13px;
    padding: 12px 20px;
  }
}
