/* /css/feature-checkout-gift.css — sticky "add free gift" bar on billing.php */

.feature-checkout-gift-bar {
  margin: 16px 0;
  padding: 14px;
  border: 2px dashed var(--brand-primary, #ef4444);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  animation: fcg-in 220ms ease-out;
}

.feature-checkout-gift-bar .fcg-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.feature-checkout-gift-bar .fcg-img {
  width: 56px; height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.feature-checkout-gift-bar .fcg-text {
  flex: 1 1 200px;
  font: 600 13px/1.4 system-ui, sans-serif;
  color: #111827;
}

.feature-checkout-gift-bar .fcg-line1 {
  font-size: 14px;
  font-weight: 800;
  color: #92400e;
}
.feature-checkout-gift-bar .fcg-line2 {
  margin-top: 2px;
  font-weight: 500;
  color: #4b5563;
}

.feature-checkout-gift-bar .fcg-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-checkout-gift-bar .fcg-btn {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  font: 700 13px/1 system-ui, sans-serif;
  cursor: pointer;
  transition: filter 120ms;
}
.feature-checkout-gift-bar .fcg-add {
  background: var(--brand-primary, #ef4444);
  color: #fff;
}
.feature-checkout-gift-bar .fcg-add:hover { filter: brightness(1.1); }
.feature-checkout-gift-bar .fcg-skip {
  background: transparent;
  color: #6b7280;
  text-decoration: underline;
}

.feature-checkout-gift-bar.is-added {
  border-color: #16a34a;
  background: #f0fdf4;
}
.feature-checkout-gift-bar .fcg-added {
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #15803d;
  padding: 4px 0;
}

@media (max-width: 480px) {
  .feature-checkout-gift-bar .fcg-actions { width: 100%; justify-content: stretch; }
  .feature-checkout-gift-bar .fcg-btn { flex: 1 1 auto; }
}

@keyframes fcg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
