.wlsp-wrap{
  max-width: var(--wlsp-results-max, 1200px);
  margin: 0 auto;
}
.wlsp-search{
  padding: 0 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.wlsp-results{
  margin-top: 14px;
  display: grid;
  gap: var(--wlsp-gap, 14px);
  grid-template-columns: repeat(var(--wlsp-cols, 3), minmax(0, 1fr));
}
.wlsp-wrap[data-layout="list"] .wlsp-results{ grid-template-columns: 1fr; }

.wlsp-card{
  display: flex;
  flex-direction: column;
  max-width: var(--wlsp-card-max, 340px);
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wlsp-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,.10);
}

.wlsp-thumb{ display:block; text-decoration:none; }
.wlsp-thumb img{
  width: 100%;
  height: var(--wlsp-thumb-h, 260px);
  object-fit: cover;
  display: block;
}

.wlsp-body{
  padding: 12px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wlsp-title{
  text-decoration: none;
  color: #111;
  font-weight: 700;
  line-height: 1.2;
}
.wlsp-price{ color: #111; opacity: .85; }

.wlsp-btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;

  /* Medium button (not full width) + pinned to bottom */
  align-self: center;
  margin-top: auto;
  width: var(--wlsp-btn-w, auto);
  min-width: 160px;
  max-width: 92%;

  height: var(--wlsp-btn-h, auto);
  border-radius: var(--wlsp-btn-radius, 14px);
  padding: var(--wlsp-btn-py, 12px) var(--wlsp-btn-px, 18px);
  font-size: var(--wlsp-btn-font, 15px);
  text-decoration: none;
  font-weight: 700;
  background: var(--wlsp-btn-bg, #0ea5e9);
  color: var(--wlsp-btn-text, #fff);
  transition: transform .12s ease, opacity .12s ease;
}
.wlsp-btn:hover{ transform: scale(1.01); opacity: .98; background: var(--wlsp-btn-bg-hover, var(--wlsp-btn-bg, #0ea5e9)); }

.wlsp-actions{ margin-top: 14px; display:flex; justify-content:center; }
.wlsp-load-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,.12);
  background:#fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  cursor:pointer;
}
.wlsp-load-more:hover{ box-shadow: 0 10px 22px rgba(0,0,0,.06); }

.wlsp-status{ margin-top: 10px; font-size: 12px; opacity:.75; }

.wlsp-loading .wlsp-results{ opacity: .7; }

@media (max-width: 640px){
  .wlsp-wrap{ padding: 0 10px; }
  .wlsp-card{ max-width: 100%; }
}
