/* ============================================================
   CA Offering Shortcodes – Frontend default styles
   These are intentionally minimal so your theme can easily
   override them. Target the BEM class names listed in the
   CSS class reference in Settings > CA Offering Shortcodes.
   ============================================================ */

/* ── Card format ───────────────────────────────────────────── */
.caos-card {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px 22px;
  background: #fff;
  max-width: 320px;
}

.caos-card__name {
  font-size: 1.1em;
  font-weight: 700;
  margin: 0;
}

.caos-card__price {
  font-size: 1.5em;
  font-weight: 800;
  color: inherit;
  margin: 0;
}

.caos-card__blurb {
  font-size: 0.9em;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.caos-card__cta {
  display: inline-block;
  margin-top: 4px;
  padding: 7px 16px;
  background: currentColor;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875em;
  font-weight: 600;
  align-self: flex-start;
}

/* ── Detail format ─────────────────────────────────────────── */
.caos-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.caos-detail__name {
  font-size: 1.25em;
  font-weight: 700;
  margin: 0;
}

.caos-detail__price {
  font-size: 1.6em;
  font-weight: 800;
  margin: 0;
}

.caos-detail__description {
  font-size: 1em;
  line-height: 1.7;
  color: inherit;
}

.caos-detail__description p:first-child { margin-top: 0; }
.caos-detail__description p:last-child  { margin-bottom: 0; }

.caos-detail__cta {
  display: inline-block;
  padding: 9px 20px;
  background: currentColor;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  align-self: flex-start;
}
