/* ================================
   VENDITA — lista (vendita.php)
   Scope: dentro .vendita-vespe
   ================================ */

.vendita-vespe {
  --gap: 10px;
  --border: #000;
  --muted: #000000;
}

.vendita-vespe .lista-vespe {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap);
}

.vendita-vespe .lista-vespe a{
  text-decoration: none;
}


.vendita-vespe .scheda-vespa {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  overflow: hidden;
}

.vendita-vespe .scheda-vespa .copertina {
  display: block;
  line-height: 0;
  background: #0a0a0a;
}

.vendita-vespe .scheda-vespa img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.vendita-vespe .scheda-vespa .info {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.vendita-vespe .scheda-vespa h3 {
  margin: 0;
  font-size: 1.05rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.vendita-vespe .scheda-vespa .anno {
  font-weight: 500;
}

.vendita-vespe .scheda-vespa ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.85rem;
}

.vendita-vespe .scheda-vespa ul li strong {
  color: inherit;
}

.vendita-vespe .scheda-vespa .note {
  color: #e3e3e3;
  font-size: 0.95rem;
  line-height: 1.45;
}

.vendita-vespe .scheda-vespa .azioni {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.vendita-vespe .scheda-vespa .btn {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 4px 6px;
    border: 1px solid var(--border);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: box-shadow .15s ease, transform .05s ease;
    font-size: 0.85em;
}
.vendita-vespe .scheda-vespa .btn:hover { box-shadow: 0 0 0 4px rgba(255,255,255,0.12) inset; }
.vendita-vespe .scheda-vespa .btn:active { transform: translateY(1px); }

@media (max-width: 560px) {
  .vendita-vespe .scheda-vespa ul {
    grid-template-columns: 1fr;
  }
}