/* ============================================================
   Estilos globales para tablas informativas.
   Aplican únicamente a tablas dentro de páginas con clase
   de body '.single-post' (entradas de blog) y '.tax-categoria-productos'
   (páginas de archivo de la taxonomía de productos).
   ============================================================ */
.single-post table,
.tax-categoria-productos table {
  max-width: 100%;
  width: 100%;
  display: table;
  border-collapse: separate;
  border-spacing: 0;
  margin: 30px 0;
  font-family: var(--theme-font, "Poppins", sans-serif);
  font-size: 15px;
  line-height: 1.55;
  color: var(--theme-black, #141518);
  background: var(--theme-white, #ffffff);
  border: 1px solid #E6E6E6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 21, 24, 0.06);
}
.single-post table thead,
.tax-categoria-productos table thead {
  background: var(--theme-black, #141518);
}
.single-post table thead th,
.single-post table thead td,
.tax-categoria-productos table thead th,
.tax-categoria-productos table thead td {
  font-family: var(--theme-font, "Poppins", sans-serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: left;
  color: var(--theme-white, #ffffff);
  background: transparent;
  padding: 16px 18px;
  border: none;
  border-bottom: 3px solid var(--theme-base, #FB1010);
  vertical-align: middle;
}
.single-post table tbody tr,
.tax-categoria-productos table tbody tr {
  transition: background-color 0.2s ease;
}
.single-post table tbody tr:nth-child(odd),
.tax-categoria-productos table tbody tr:nth-child(odd) {
  background: #FAFAFA;
}
.single-post table tbody tr:hover,
.tax-categoria-productos table tbody tr:hover {
  background: rgba(251, 16, 16, 0.06);
}
.single-post table tbody td,
.single-post table tbody th,
.tax-categoria-productos table tbody td,
.tax-categoria-productos table tbody th {
  font-family: var(--theme-font, "Poppins", sans-serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--theme-black, #141518);
  padding: 14px 18px;
  border: none;
  border-top: 1px solid #ECECEC;
  vertical-align: middle;
  background: transparent;
}
.single-post table tbody tr td:first-child,
.tax-categoria-productos table tbody tr td:first-child {
  font-weight: 600;
  color: var(--theme-black, #141518);
}
.single-post table tbody td b,
.single-post table tbody td strong,
.single-post table tbody th b,
.single-post table tbody th strong,
.tax-categoria-productos table tbody td b,
.tax-categoria-productos table tbody td strong,
.tax-categoria-productos table tbody th b,
.tax-categoria-productos table tbody th strong {
  color: var(--theme-base, #FB1010);
  font-weight: 700;
}
.single-post table:not(:has(thead)) tr:first-child td,
.tax-categoria-productos table:not(:has(thead)) tr:first-child td {
  font-weight: 700;
  background: var(--theme-black, #141518);
  color: var(--theme-white, #ffffff);
  border-bottom: 3px solid var(--theme-base, #FB1010);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.3px;
}
@media screen and (max-width: 991px) {
  .single-post table,
  .tax-categoria-productos table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    border-radius: 10px;
  }
  .single-post table > thead,
  .single-post table > tbody,
  .tax-categoria-productos table > thead,
  .tax-categoria-productos table > tbody {
    display: table;
    width: 100%;
    min-width: 600px;
  }
}
@media screen and (max-width: 767px) {
  .single-post table,
  .tax-categoria-productos table {
    font-size: 13px;
    line-height: 1.5;
  }
  .single-post table thead th,
  .single-post table thead td,
  .tax-categoria-productos table thead th,
  .tax-categoria-productos table thead td {
    font-size: 12px;
    padding: 12px 12px;
  }
  .single-post table tbody td,
  .single-post table tbody th,
  .tax-categoria-productos table tbody td,
  .tax-categoria-productos table tbody th {
    padding: 10px 12px;
  }
}
@media print {
  .single-post table,
  .tax-categoria-productos table {
    box-shadow: none;
    border: 1px solid #141518;
  }
  .single-post table thead th,
  .single-post table thead td,
  .tax-categoria-productos table thead th,
  .tax-categoria-productos table thead td {
    background: #141518 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
