.wl-card {
    width: 16rem;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
  }

  .wl-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #C52110 0%, #333 50%, #5810c5 100%);
    border-radius: 4px 0 0 4px;
    z-index: 1;
  }

  .wl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(88,16,197,0.18) !important;
  }

  /* Imagen */
  .wl-img-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .wl-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }

  .wl-card:hover .wl-img {
    transform: scale(1.05);
  }

  /* Overlay degradado sobre imagen */
  .wl-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
  }

  /* Título sobre imagen */
  .wl-title-overlay {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
  }

  .wl-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Footer */
  .wl-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  /* Botón ver -->*/
  .wl-view-btn {
    display: inline-flex;
    align-items: center;
    height: 32px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #C52110 0%, #333 50%, #5810c5 100%);
    padding: 0 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(88,16,197,0.2);
    transition: opacity 0.2s ease;
    white-space: nowrap;
  }

  .wl-view-btn:hover {
    opacity: 0.88;
    color: #fff;
  }

  /* Botón 3 puntos */
  .wl-dots-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    background: none;
    border: none;
    color: #555;
    font-size: 1.1rem;
    padding: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
  }

  .wl-dots-btn:hover {
    background: rgba(88,16,197,0.08);
    color: #5810c5;
  }
/* ── Locate / seller CSS (from wishlistOptimizedSellers.html) ── */
.locate-wrap { padding: 0 0 3rem; }
.loc-section-title {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14rem; color: #6c757d;
  display: flex; align-items: center; gap: 0.5rem;
  margin: 2rem 0.5rem 1rem;
}
@media (min-width: 768px) { .loc-section-title { margin-left: 1.5rem; margin-right: 1.5rem; } }
.loc-section-title::after { content: ""; flex: 1; height: 1px; background: #e9ecef; }

.seller-card {
  background: #fff; border-radius: 14px;
  box-shadow: 0 2px 16px rgba(33,40,50,.10);
  border: 1px solid rgba(0,0,0,.06); overflow: hidden;
  margin: 0 0.5rem 1.25rem; transition: box-shadow .2s;
}
@media (min-width: 768px) { .seller-card { margin-left: 1.5rem; margin-right: 1.5rem; } }
.seller-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.14); }
.seller-card.optimal {
  border-left: 5px solid transparent;
  border-image: linear-gradient(180deg,#C52110,#5810c5) 1;
}
.seller-card-header { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; background: #f8f9fa; border-bottom: 1px solid rgba(0,0,0,.05); }
.seller-avatar { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(0,0,0,.08); background: #e9ecef; }
.seller-name { font-weight: 700; font-size: .9rem; color: #1a1a2e; text-decoration: none; }
.seller-name:hover { color: #5810c5; }
.seller-meta { font-size: .72rem; color: #6c757d; }
.seller-badge {
  margin-left: auto; display: inline-flex; align-items: center; gap: .3rem;
  background: linear-gradient(135deg,#C52110,#5810c5);
  color: #fff; font-size: .68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}

.stock-list { padding: .5rem 1.1rem 1rem; display: flex; flex-direction: column; gap: .6rem; }
.stock-row {
  display: flex; align-items: center; gap: .75rem; padding: .55rem .75rem;
  background: #f8f9ff; border-radius: 10px;
  border: 1px solid rgba(88,16,197,.08); font-size: .8rem;
}
.stock-img { width: 38px; height: 52px; object-fit: contain; border-radius: 4px; flex-shrink: 0; background: #e9ecef; }
.stock-info { flex: 1; min-width: 0; }
.stock-name { font-weight: 700; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock-detail { color: #6c757d; font-size: .7rem; margin-top: 2px; }
.stock-price { font-weight: 800; font-size: .95rem; color: #5810c5; flex-shrink: 0; white-space: nowrap; }
.btn-add-cart {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem;
  background: linear-gradient(135deg,#5810c5,#C52110);
  color: #fff; border: none; border-radius: 8px;
  padding: 5px 12px; font-size: .72rem; font-weight: 700;
  cursor: pointer; transition: opacity .15s, transform .15s; white-space: nowrap;
}
.btn-add-cart:hover { opacity: .88; transform: translateY(-1px); }
.btn-add-cart:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.uncovered-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.uncovered-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(197,33,16,.08); border: 1px solid rgba(197,33,16,.2);
  border-radius: 20px; padding: 4px 10px;
  font-size: .75rem; color: #C52110; font-weight: 600;
}

.loc-empty { text-align: center; padding: 3rem 1rem; color: #6c757d; font-size: .85rem; }
.loc-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; opacity: .35; }

@media (max-width: 576px) {
  .stock-row { flex-wrap: wrap; }
  .btn-add-cart { width: 100%; justify-content: center; }
}
