.card { flex-shrink: 0; width: 160px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); overflow: hidden; text-align: left; transition: transform 0.2s, box-shadow 0.2s; } .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .card:active { transform: scale(0.97); } .imageWrapper { position: relative; width: 100%; height: 110px; overflow: hidden; } .image { object-fit: cover; transition: transform 0.3s; } .card:hover .image { transform: scale(1.05); } /* Save/bookmark button — top-right corner of image */ .saveBtn { position: absolute; top: 8px; right: 8px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, 0.4); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s, transform 0.15s; } .saveBtn:hover { background: rgba(0, 0, 0, 0.6); transform: scale(1.1); } .saveBtn:active { transform: scale(0.9); } .saveBtn.saved { background: var(--primary); color: white; } .info { padding: 10px 12px; } .title { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .reviews { font-size: 11px; color: var(--text-secondary); margin-top: 4px; display: block; }