/* ============================================================
   Related Products Widget — Beps PuroOmega Widgets
   Lista horizontal de productos WooCommerce por post.
   Cada tarjeta: thumbnail (izq) + badge outlined + nombre + precio (der).
   ============================================================ */

.beps-rp-wrap {
    width: 100%;
}

.beps-rp-heading {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1a1a2e;
}

/* === LISTA === */
.beps-rp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beps-rp-item {
    margin: 0;
    padding: 0;
}

/* === TARJETA === */
.beps-rp-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px 14px 14px;
    background-color: #F8F8FA !important;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    overflow: hidden;
}

.beps-rp-card:hover {
    background-color: #f0f0f3;
    text-decoration: none;
}

/* === THUMBNAIL === */
.beps-rp-thumb {
    width: 80px;
    height: 90px;
    min-width: 80px;
    flex-shrink: 0;
}

.beps-rp-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* === INFO === */
.beps-rp-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

/* === BADGE DE CATEGORÍA (outlined) === */
.beps-rp-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: #130F32;
    text-transform: uppercase;
    line-height: 1;
    padding: 4px 10px;
    border: 1px solid #E5E5E5;
    border-radius: 50px;
    background: #FFFFFF;
    white-space: nowrap;
}

/* === NOMBRE DEL PRODUCTO === */
.beps-rp-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === PRECIO === */
.beps-rp-price {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a2e;
    line-height: 1;
}

/* Precio tachado (precio regular en oferta) */
.beps-rp-price del {
    font-weight: 400;
    opacity: 0.5;
    font-size: 12px;
    margin-left: 4px;
}

/* Precio de oferta (ins de WooCommerce) */
.beps-rp-price ins {
    text-decoration: none;
}
