/* Small additions on top of the Tailwind CDN utility classes used inline in the JS templates. */

body {
  background: #f7f8fa;
}

/* Corner "ribbon" flag on the #1 card (desktop) — folded-corner triangle like the original site. */
.ribbon-badge {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  z-index: 10;
  background: #2d6a5d;
  color: #fff;
  padding: 0.375rem 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
.ribbon-badge::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  transform: rotate(90deg) translateY(100%);
  transform-origin: bottom left;
  border-top: 6px solid #1d4a42;
  border-right: 6px solid transparent;
}

.star-icon {
  width: 0.75rem;
  height: 0.75rem;
  color: #facc15;
}
.star-icon.lg {
  width: 1rem;
  height: 1rem;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  color: #4a9b8e;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.check-icon.lg {
  width: 1.25rem;
  height: 1.25rem;
}

.offer-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.skeleton {
  animation: skeleton-pulse 1.2s ease-in-out infinite;
  background: #e5e7eb;
  border-radius: 0.75rem;
}
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
