@charset "UTF-8";
/* ==========================================================================
   EC Guide — Listing subscriptions (Featured badge + upgrade panel)
   Standalone: compiles to css/ec-listing-subscriptions.css, enqueued
   site-wide by inc/ec-listing-subscriptions-functions.php (badge can appear
   on any card). Tokens mirror css/style.scss so this stays self-contained.
   Compile: sass css/ec-listing-subscriptions.scss css/ec-listing-subscriptions.css --style=compressed
   ========================================================================== */
/* --------------------------------------------------------------------------
   Badge
   -------------------------------------------------------------------------- */
.ec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Figtree", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.ec-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.ec-badge--featured {
  background: #0E6B57;
  color: #fff;
}

/* On image cards: pinned top-left, over the photo */
.ec-badge--card {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(8, 22, 18, 0.28);
}

/* In text: sits beside a label or heading */
.ec-badge--inline {
  vertical-align: middle;
  margin-left: 6px;
}

/* Cards that host the pinned badge must be positioning contexts.
   .ec-biz-card__img-wrap and .ec-rec-posts__card already are;
   the nearby card on single.php is not. */
.ec-biz__nearby-card {
  position: relative;
}

/* Recommended Posts cards already carry a category badge top-left;
   nudge the Featured badge to the right of it. */
.ec-rec-posts__card .ec-badge--card {
  left: auto;
  right: 12px;
  top: 12px;
}

/* --------------------------------------------------------------------------
   Upgrade panel (page-edit-listing.php)
   -------------------------------------------------------------------------- */
.ec-upgrade {
  padding: 0 20px 64px;
}

.ec-upgrade__inner {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid #E9E1D2;
  padding-top: 40px;
}

.ec-upgrade__eyebrow {
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0E6B57;
  margin: 0 0 6px;
}

.ec-upgrade__heading {
  font-size: 26px;
  margin: 0 0 22px;
  color: #2C3A33;
}

.ec-upgrade__tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.ec-upgrade__tier {
  background: #ffffff;
  border: 1px solid #E3DACB;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ec-upgrade__tier.is-active {
  border-color: #0E6B57;
  box-shadow: 0 0 0 3px rgba(14, 107, 87, 0.12);
}
.ec-upgrade__tier.is-locked {
  background: #F4F1E8;
}

.ec-upgrade__tier-name {
  font-family: "Figtree", sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #2C3A33;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ec-upgrade__tier-price {
  font-family: "Figtree", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #0E3B33;
  margin: 0;
  line-height: 1.2;
}
.ec-upgrade__tier-price s {
  font-weight: 500;
  font-size: 16px;
  color: #5A6B63; /* 5.65:1 on white (WCAG AA); $ec-muted-lt was 2.95:1 */
  margin-right: 4px;
}
.ec-upgrade__tier-price small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #5A6B63;
  margin-top: 4px;
}

.ec-upgrade__tier-text {
  font-family: "Figtree", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #2C3A33;
  margin: 0;
  flex: 1;
}

.ec-upgrade__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.ec-upgrade__actions form {
  margin: 0;
}

.ec-upgrade__btn {
  align-self: flex-start;
  cursor: pointer;
}

.ec-upgrade__btn--secondary {
  background: transparent;
  color: #0E6B57;
  border: 1px solid #0E6B57;
}

.ec-upgrade__manage-form {
  margin: 18px 0 0;
}

.ec-upgrade__manage {
  font-family: "Figtree", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #0E6B57;
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.ec-upgrade__note {
  font-family: "Figtree", sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5A6B63; /* 5.65:1 on white, 5.0:1 on $ec-surface2 (AA) */
  margin: 0;
}
.ec-upgrade__note a {
  color: #0E6B57;
  font-weight: 600;
}

/* Modifiers after the base rule so they win the cascade. */
.ec-upgrade__note--status {
  background: #F4F1E8;
  border-left: 3px solid #0E6B57;
  padding: 10px 14px;
  margin-bottom: 18px;
  color: #2C3A33; /* 10.6:1 on $ec-surface2 */
  font-size: 14px;
}/*# sourceMappingURL=ec-listing-subscriptions.css.map */