/* Lovendo · «Más anuncios de este vendedor» (seller-more.js). Colores y tipografía del tema (var(--…)); nada nuevo.
   Va dentro de la ficha (en el flujo, bajo la descripción): no flota ni tapa nada. */
.sm-sec { margin: 0 0 20px; padding: 0; }   /* las páginas dan relleno a todo <section> */
.sm-sec[hidden], .sm-loading[hidden] { display: none; }
.sm-h { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.sm-loading { margin: 0; font-size: 13px; color: var(--ink-soft); }

/* móvil: dos columnas; escritorio: hasta cuatro, según el ancho de la ficha (minmax(0,…): ningún título largo ensancha la columna) */
.sm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .sm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.sm-sec .sm-card { position: relative; min-width: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  box-shadow: none; animation: none; transition: border-color .15s, box-shadow .15s; }
.sm-sec .sm-card:hover { transform: none; border-color: var(--coral-mid); box-shadow: var(--sh-sm); }
.sm-sec .sm-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f5f0eb; }
.sm-sec .sm-img .listing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-sec .sm-ph { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f5f0eb; }
.sm-sec .sm-ph .material-symbols-outlined { font-size: 34px; color: var(--ink-soft); }
.sm-sec .listing-body { padding: 9px 10px 11px; }
.sm-sec .sm-price { margin: 0 0 3px; font-size: 15px; font-weight: 800; color: var(--coral); line-height: 1.2; }
.sm-sec .sm-title { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; min-height: 0; white-space: normal; overflow: hidden; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sm-sec .sm-title:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }
.sm-sec .sm-card:has(.sm-title:focus-visible) { border-color: var(--coral); }
