/* =========================================================
   Ravenol Product UI (blue/grey) — TDS/SDB buttons + trust bar
   + attributes table shortcode [atributos_productoslugs]
   Scope: only loaded on product pages or pages with plugin shortcodes.
   ========================================================= */

/* TDS/SDB buttons */
.rvn-doc-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 8px;
}

.rvn-doc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  font-size:13px;
  line-height:1;
  text-decoration:none !important;
  border:1px solid rgba(0,61,108,.22);
  box-shadow:0 1px 2px rgba(0,0,0,.08);
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.rvn-doc-btn--tds{
  background:linear-gradient(to bottom, #05739a 0%, #005d8d 16%, #004e81 49%, #004274 86%, #003d6c 100%);
  color:#fff !important;
}

.rvn-doc-btn--sdb{
  background:#fff;
  color:#003d6c !important;
}

.rvn-doc-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}

.rvn-doc-btn--sdb:hover{
  background:#f5f8fb;
  border-color:rgba(0,61,108,.35);
}

/* Trust bar (cards) */
.rvn-trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(15,23,42,.10);
}

.rvn-trust__item{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  border-radius:12px;
  box-shadow:0 1px 0 rgba(15,23,42,.03);
  flex: 1 1 220px;
  min-width:220px;
}

.rvn-trust__icon{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:linear-gradient(180deg, #eef4fb 0%, #e8f0fa 100%);
  border:1px solid rgba(11,74,139,.12);
  flex:0 0 40px;
  font-size:20px;
  line-height:1;
}

.rvn-trust__icon svg,
.rvn-trust__icon i{
  width:20px;
  height:20px;
  display:block;
}

.rvn-trust__icon img{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
}

.rvn-trust__item strong{
  display:block;
  font-size:13px;
  line-height:1.1;
  color:#0f172a;
  font-weight:700;
  margin:0;
}

.rvn-trust__item span{
  display:block;
  margin-top:2px;
  font-size:12px;
  line-height:1.25;
  color:#475569;
}

@media (max-width: 680px){
  .rvn-trust__item{
    min-width: 100%;
    flex-basis: 100%;
  }
}

/* Attributes shortcode table */
.rvn-attrs{ margin: 10px 0 14px; }

.rvn-attrs__table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid rgba(15,23,42,.08);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}

.rvn-attr__row th,
.rvn-attr__row td{
  padding:10px 12px;
  border-top:1px solid rgba(15,23,42,.06);
  vertical-align:top;
  font-size:13px;
}

.rvn-attr__row:first-child th,
.rvn-attr__row:first-child td{
  border-top:none;
}

.rvn-attr__key{
  width:34%;
  color:#0f172a;
  font-weight:700;
  background:linear-gradient(180deg, #fafcff 0%, #f7fafd 100%);
}

.rvn-attr__val{
  color:#334155;
}

.rvn-attr__link{
  color:#0b4a8b;
  text-decoration:none;
  border-bottom:1px dotted rgba(11,74,139,.35);
}

.rvn-attr__link:hover{
  color:#083b6f;
  border-bottom-color: rgba(8,59,111,.55);
}

.rvn-attr__sep{ color:#94a3b8; margin:0 6px; }
.rvn-attr__empty{ color:#94a3b8; }


/* ================================
   Product Excerpt (beneficios/chips)
   ================================ */

.rvn-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  margin:10px 0 12px;
}

.rvn-benefit{
  background:#f3f6fa;
  border:1px solid rgba(15,23,42,.10);
  border-radius:10px;
  padding:7px 10px;
  color:#0f172a;
  font-weight:600;
  font-size:13px;
  line-height:1.25;
}

.rvn-chips{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:6px 0 14px;
}

.rvn-chip{
  background:#eef4fb;
  border:1px solid rgba(11,74,139,.18);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:700;
  color:#0b4a8b;
  white-space:nowrap;
}

.rvn-excerpt__paragraphs p{
  margin:0 0 10px;
  color:#334155;
  font-size:14px;
  line-height:1.55;
}

.rvn-excerpt__paragraphs p:last-child{ margin-bottom:0; }

/* Bloque "Características y compatibilidades" */
.rvn-compat{ margin-top:10px; }

.rvn-compat__header{
  font-weight:800;
  color:#0f172a;
  margin:14px 0 10px;
  font-size:14px;
  letter-spacing:.2px;
}
