/* ============================================================
   RDG – Checkout Bump  v1.4.0
   ============================================================ */

.rdg-bump {
  margin: 16px 0 0;
  border: 2px dashed #e2e8f0;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rdg-bump--added {
  border-color: #3b82f6;
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

/* ── Header: titlu+preț stânga, buton dreapta ── */
.rdg-bump__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 12px;
}
.rdg-bump__title-wrap {
  flex: 1;
  min-width: 0;
}
.rdg-bump__title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 4px;
}
.rdg-bump__price {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

/* ── Body ── */
.rdg-bump__body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 18px 16px;
}
.rdg-bump__img {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.rdg-bump__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rdg-bump__desc {
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* ── Buton ── */
.rdg-bump__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
  transition: filter .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
  line-height: 1;
}
.rdg-bump__btn:active { transform: scale(.97); }

/* Verde — starea inițială */
.rdg-bump__btn--add {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22,163,74,.28);
}
.rdg-bump__btn--add:hover { filter: brightness(1.06); }

/* Albastru cu ✓ — după adăugare */
.rdg-bump__btn--done {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29,78,216,.24);
  cursor: default;
  pointer-events: none;
}

/* Loading */
.rdg-bump__btn.is-loading {
  opacity: .65;
  cursor: wait;
  pointer-events: none;
}

/* Mobile */
@media (max-width: 560px) {
  .rdg-bump__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 14px 10px;
  }
  .rdg-bump__btn { width: 100%; }
  .rdg-bump__body { padding: 0 14px 14px; gap: 10px; }
  .rdg-bump__img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .rdg-bump, .rdg-bump__btn { transition: none !important; }
}
