/* Marketing → Download Amazon. Rândurile de progres refolosesc .cvc-up / .cvc-progress din
   continut.css. Vezi js/continut/download-amazon.js. Doar var(--...) din base.css. */

.amz-search { display: flex; gap: 8px; max-width: 760px; margin-bottom: 16px; }
.amz-search input { flex: 1; min-width: 0; }
.amz-error { margin-bottom: 16px; color: var(--red); }
.amz-downloads { max-width: 760px; margin-bottom: 16px; }
.amz-downloads:empty { display: none; }

/* bara „se pregătește” — fără procent cunoscut, doar pulsează */
.cvc-progress-bar.amz-indeterminate { animation: amz-pulse 1.2s ease-in-out infinite; }
@keyframes amz-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.amz-product {
  display: flex; align-items: center; gap: 14px; max-width: 760px;
  padding: 12px; margin-bottom: 14px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-bg);
}
.amz-product img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--radius-sm); background: #fff; flex: 0 0 auto; }
.amz-product-title { font-weight: 600; line-height: 1.35; margin-bottom: 2px; }
.amz-product a { color: var(--accent); }

.amz-actions { position: sticky; top: 0; z-index: 2; padding: 8px 0; margin-bottom: 8px; background: var(--bg); }

.amz-group { margin-bottom: 24px; }
.amz-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.amz-group-head h3 { margin: 0; font-size: 15px; }
.amz-select-all { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); cursor: pointer; }

.amz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.amz-card {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card-bg);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s;
}
.amz-card.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.amz-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: #000; cursor: pointer; }
.amz-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.amz-check { position: absolute; left: 8px; top: 8px; width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.amz-duration {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 999px;
  background: rgba(0,0,0,.7); color: #fff; font-size: 11px; font-weight: 600;
}
.amz-card-meta { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.amz-card-title {
  font-size: 13px; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.amz-card-meta .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 600px) {
  .amz-search { flex-direction: column; }
  .amz-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
