:root {
  --bizy-navy: #061d35;
  --bizy-teal: #00cfcf;
  --bizy-teal-dark: #087a78;
  --bizy-ink: #12243a;
  --bizy-muted: #617184;
  --bizy-line: #d9e4e7;
  --bizy-soft: #edf7f7;
  --bizy-surface: #ffffff;
  --bizy-sale: #087a78;
  --bizy-sale-soft: #d7f3e5;
}

.bizy-marketplace-wrap,
.bizy-marketplace-wrap *,
.bizy-offer-single,
.bizy-offer-single * {
  box-sizing: border-box;
}

.bizy-marketplace-wrap {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 0 auto;
  padding: 34px 20px;
  color: var(--bizy-ink);
}

.bizy-marketplace-wrap h2,
.bizy-offer-single h1,
.bizy-offer-single h2 {
  color: var(--bizy-navy);
}

.bizy-eyebrow {
  margin: 0 0 10px;
  color: var(--bizy-teal-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .17em;
}

.bizy-form-heading,
.bizy-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.bizy-form-heading h2,
.bizy-header-row h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1;
}

.bizy-form-heading > div > p:last-child {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--bizy-muted);
  line-height: 1.55;
}

.bizy-offer-form {
  display: grid !important;
  width: 100% !important;
  gap: 18px;
}

.bizy-form-section {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 26px !important;
  border: 1px solid var(--bizy-line);
  border-radius: 0 !important;
  background: var(--bizy-surface);
}

.bizy-form-section h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.bbm-field-help,
.bizy-field-note {
  display: block;
  width: 100%;
  margin: 0 0 18px !important;
  color: var(--bizy-muted);
  font-size: .95rem;
  line-height: 1.55;
}

.bizy-field-note {
  margin: 2px 0 0 !important;
  font-size: .87rem;
}

.bizy-field-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

.bizy-offer-form label,
.bizy-label {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px;
  width: 100% !important;
  min-width: 0;
  color: var(--bizy-navy);
  font-weight: 760;
}

.bizy-offer-form > .bizy-form-section > label,
.bizy-offer-form > .bizy-form-section > .bizy-field-grid + label {
  margin-top: 16px;
}

.bizy-offer-form input,
.bizy-offer-form textarea,
.bizy-offer-form select {
  display: block !important;
  width: 100% !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 13px;
  border: 1px solid #bdcdd2;
  border-radius: 0 !important;
  background: #fff;
  color: var(--bizy-navy);
  font: inherit;
  font-weight: 400;
  line-height: 1.4;
}

.bizy-offer-form textarea {
  min-height: 124px;
  resize: vertical;
}

.bizy-offer-form input:focus,
.bizy-offer-form textarea:focus,
.bizy-offer-form select:focus {
  border-color: var(--bizy-teal-dark);
  box-shadow: 0 0 0 2px rgba(0, 207, 207, .18);
  outline: none;
}

.bizy-optional {
  color: var(--bizy-muted);
  font-size: .83em;
  font-weight: 500;
}

.bizy-media-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 10px;
  margin-top: 22px;
}

.bizy-media-preview {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-height: 0 !important;
  gap: 10px;
}

.bizy-main-preview:empty {
  display: none !important;
}

.bizy-media-thumb {
  position: relative;
  width: 102px;
  height: 102px;
  overflow: hidden;
  border: 1px solid var(--bizy-line);
  border-radius: 0 !important;
  background: #f4f8f9;
}

.bizy-media-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bizy-gallery-thumb { cursor: grab; }
.bizy-gallery-thumb.is-dragging { opacity: .42; }

.bizy-remove-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: var(--bizy-navy);
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
}

.bizy-gallery-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
}

.bizy-gallery-count {
  color: var(--bizy-muted);
  font-size: .85rem;
  font-weight: 650;
}

.bizy-gallery-count.is-full { color: var(--bizy-teal-dark); }

.bizy-media-button,
.bizy-btn,
.bizy-btn-secondary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0 !important;
  padding: 11px 20px;
  border-radius: 0 !important;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.bizy-media-button {
  width: auto !important;
  min-width: 220px;
  border: 1px solid #c8e7e7;
  background: var(--bizy-soft);
  color: var(--bizy-navy);
}

.bizy-media-button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.bizy-btn {
  border: 1px solid var(--bizy-navy);
  background: var(--bizy-navy);
  color: #fff;
}

.bizy-btn:hover { background: #0a2b4c; color: #fff; }

.bizy-btn-secondary {
  border: 1px solid var(--bizy-navy);
  background: #fff;
  color: var(--bizy-navy);
}

.bizy-btn-secondary:hover { background: #f4f8f9; color: var(--bizy-navy); }

.bizy-url-fallback {
  display: block;
  width: 100%;
  margin-top: 20px;
  color: var(--bizy-muted);
}

.bizy-url-fallback summary {
  width: max-content;
  cursor: pointer;
  color: var(--bizy-teal-dark);
  font-weight: 750;
}

.bizy-url-fallback label {
  margin-top: 14px;
}

/* Direct image URL guidance */
.bizy-url-fallback .bbm-field-help {
  margin: 14px 0 12px !important;
}

.bizy-url-fallback code,
.bizy-marketplace-wrap .bizy-offer-form .bbm-field-help code {
  padding: 1px 4px;
  border: 1px solid var(--bizy-line);
  background: #f4f8f9;
  color: var(--bizy-navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
}

.bizy-submit-section {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bizy-submit-copy { flex: 1; }

.bizy-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
}

.bizy-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  accent-color: var(--bizy-teal-dark);
}

.bizy-check span {
  display: grid;
  gap: 4px;
}

.bizy-check small {
  display: block;
  color: var(--bizy-muted);
  font-weight: 400;
  line-height: 1.45;
}

.bizy-submit-section > .bizy-btn { min-width: 150px; }

.bizy-notice,
.bizy-success,
.bizy-empty-state {
  padding: 16px 18px;
  border: 1px solid var(--bizy-line);
  border-radius: 0 !important;
  background: #fff;
  color: var(--bizy-navy);
}

.bizy-success { border-color: #a4dcca; background: #f0fff8; }

.bizy-offer-list { display: grid; gap: 12px; }

.bizy-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--bizy-line);
  border-radius: 0 !important;
  background: #fff;
}

.bizy-muted,
.bizy-card-meta {
  color: var(--bizy-muted);
  font-size: .92rem;
}

.bizy-status {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 0 !important;
  background: #edf3f4;
  font-size: .8rem;
  font-weight: 800;
}
.bizy-status-approved { background: #e4f8ef; }
.bizy-status-submitted { background: #fff4d8; }
.bizy-status-rejected { background: #ffe8e8; }

.bizy-actions,
.bizy-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.bizy-actions a,
.bizy-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bizy-teal-dark);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.bizy-marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.bizy-card {
  overflow: hidden;
  border: 1px solid var(--bizy-line);
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none;
}

.bizy-card-image,
.bizy-card-image img { display: block; }
.bizy-card img { width: 100%; height: 205px; object-fit: cover; }
.bizy-card-body { padding: 18px; }
.bizy-card h3 { margin: 8px 0; font-size: 1.3rem; line-height: 1.14; }
.bizy-card h3 a { color: var(--bizy-navy); text-decoration: none; }
.bizy-card p { line-height: 1.55; }
.bizy-business-name { margin: .15rem 0; color: var(--bizy-muted); font-weight: 650; }
.bizy-card-link,
.bizy-text-link { color: var(--bizy-teal-dark); font-weight: 800; }

.bizy-price,
.bizy-price-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0;
}

.bizy-original-price {
  color: #7b8590;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: line-through;
}

.bizy-sale-price {
  color: var(--bizy-sale);
  font-size: 1.45rem;
  font-weight: 900;
}

.bizy-sale-badge {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 0 !important;
  background: var(--bizy-sale-soft);
  color: #0d6f42;
  font-size: .8rem;
  font-weight: 900;
}

.bizy-offer-single {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto;
  padding: 50px 20px;
  color: var(--bizy-ink);
}

.bizy-offer-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 310px !important;
  align-items: start;
  gap: 40px !important;
  width: 100% !important;
}

.bizy-offer-cover {
  width: 100% !important;
  margin: 0 0 24px !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: #edf5f6;
}

.bizy-offer-cover img {
  display: block !important;
  width: 100% !important;
  height: clamp(300px, 38vw, 480px) !important;
  max-height: none !important;
  object-fit: cover !important;
}

.bizy-offer-intro {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bizy-line);
}

.bizy-offer-intro h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 3.4vw, 3.35rem) !important;
  letter-spacing: -.045em;
  line-height: 1;
}

.bizy-provider,
.bizy-validity { margin: 8px 0; color: var(--bizy-muted); }
.bizy-provider a { color: var(--bizy-teal-dark); font-weight: 850; }

.bizy-content-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--bizy-line);
}
.bizy-content-section h2 { margin: 0 0 13px; font-size: 1.32rem; }
.bizy-description,
.bizy-content-section p { margin: 0; color: #263746; font-size: 1.02rem; line-height: 1.7; }

.bizy-highlights {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bizy-highlights li { position: relative; padding-left: 24px; line-height: 1.5; }
.bizy-highlights li::before { content: '✓'; position: absolute; left: 0; color: var(--bizy-sale); font-weight: 900; }

.bizy-offer-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
}
.bizy-offer-gallery a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: #edf5f6;
}
.bizy-offer-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }

.bizy-offer-aside { position: sticky; top: 24px; }
.bizy-action-card {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--bizy-line);
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none;
}

.bizy-action-card .bizy-price-stack { margin: 0; }
.bizy-single-price { font-size: 1.55rem; }
.bizy-included-box { padding: 16px 0; border-top: 1px solid var(--bizy-line); border-bottom: 1px solid var(--bizy-line); }
.bizy-included-box h2 { margin: 0 0 12px; font-size: 1rem; }
.bizy-action-button,
.bizy-website-button,
.bizy-directions-button { width: 100% !important; }

@media (max-width: 760px) {
  .bizy-marketplace-wrap { padding: 26px 15px; }
  .bizy-field-grid,
  .bizy-offer-layout { grid-template-columns: 1fr !important; }
  .bizy-form-heading,
  .bizy-header-row,
  .bizy-submit-section { align-items: stretch; flex-direction: column; }
  .bizy-media-button,
  .bizy-submit-section > .bizy-btn { width: 100% !important; }
  .bizy-offer-row { display: grid; grid-template-columns: 1fr; }
  .bizy-offer-aside { position: static; }
  .bizy-offer-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bizy-offer-single { padding: 34px 16px; }
  .bizy-form-section { padding: 20px !important; }
}


/*
 * Compatibility reset for theme-level decorative pseudo-elements.
 * Some themes add wide ::before/::after ornaments to text/form nodes.
 * The Marketplace authoring UI uses no pseudo-elements, so disable them
 * within the create/edit form only.
 */
.bizy-marketplace-wrap .bizy-offer-form *,
.bizy-marketplace-wrap .bizy-offer-form *::before,
.bizy-marketplace-wrap .bizy-offer-form *::after {
  text-decoration-thickness: auto;
}

.bizy-marketplace-wrap .bizy-offer-form *::before,
.bizy-marketplace-wrap .bizy-offer-form *::after {
  content: none !important;
  display: none !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  clip-path: none !important;
  opacity: 1 !important;
}

/* Keep the authoring form typography readable even when a theme styles paragraphs globally. */
.bizy-marketplace-wrap .bizy-offer-form .bbm-field-help,
.bizy-marketplace-wrap .bizy-offer-form .bizy-field-note,
.bizy-marketplace-wrap .bizy-offer-form small,
.bizy-marketplace-wrap .bizy-offer-form p {
  text-decoration: none !important;
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
}


/* v0.3.0 — multiple offer options */
.bbm-options-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.bbm-options-heading-row h3 { margin-bottom: 8px; }
.bbm-options-count {
  flex: 0 0 auto;
  color: var(--bizy-muted);
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
}
.bbm-options-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 16px;
}
.bbm-option-form-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #bfd5d8;
  background: #f9fcfc;
}
.bbm-option-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d9e4e7;
}
.bbm-option-form-header h4 {
  margin: 3px 0 0;
  color: var(--bizy-navy);
  font-size: 1.1rem;
}
.bbm-option-kicker {
  display: block;
  color: var(--bizy-teal-dark);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.bbm-remove-option {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #c8d4d7;
  background: #fff;
  color: #7e3131;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}
.bbm-remove-option:disabled {
  opacity: .42;
  cursor: not-allowed;
}
.bbm-option-full,
.bbm-option-inclusions { grid-column: 1 / -1; }
.bbm-option-inclusions { margin-top: -2px; }
.bbm-add-option { width: auto !important; }
.bbm-card-options-note {
  margin: -3px 0 10px !important;
  color: var(--bizy-muted);
  font-size: .86rem;
  font-weight: 700;
}

.bbm-options-action-card { gap: 14px; }
.bbm-options-card-heading { padding-bottom: 2px; }
.bbm-options-card-heading h2 { margin: 5px 0 0; font-size: 1.05rem; }
.bbm-public-options {
  display: grid;
  gap: 10px;
}
.bbm-public-option {
  border: 1px solid var(--bizy-line);
  background: #fff;
}
.bbm-public-option summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}
.bbm-public-option summary::-webkit-details-marker { display: none; }
.bbm-public-option summary::after {
  content: '+';
  grid-column: 2;
  grid-row: 1;
  color: var(--bizy-teal-dark);
  font-size: 1.3rem;
  font-weight: 400;
}
.bbm-public-option[open] summary::after { content: '–'; }
.bbm-public-option-title {
  min-width: 0;
  color: var(--bizy-navy);
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.3;
}
.bbm-public-option-pricing {
  display: flex;
  grid-column: 1;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}
.bbm-public-option-pricing .bizy-original-price { font-size: .82rem; }
.bbm-option-price { font-size: 1.14rem; }
.bbm-public-option-body {
  display: grid;
  gap: 14px;
  padding: 0 14px 14px;
}
.bbm-public-option-body .bizy-included-box {
  padding: 14px 0;
  border-top: 1px solid var(--bizy-line);
  border-bottom: 0;
}
.bbm-public-option-body .bizy-included-box h3 {
  margin: 0 0 10px;
  color: var(--bizy-navy);
  font-size: .9rem;
}
.bbm-public-option-body .bizy-highlights { gap: 8px; }
.bbm-public-option-body .bizy-highlights li { font-size: .92rem; }

@media (max-width: 760px) {
  .bbm-options-heading-row,
  .bbm-option-form-header { align-items: stretch; flex-direction: column; }
  .bbm-add-option { width: 100% !important; }
}


/* v0.4.0 — Central marketplace pagination */
.bizy-marketplace-more-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 34px;
}
.bizy-marketplace-load-more {
  min-width: 210px;
}
.bizy-marketplace-load-more:disabled {
  cursor: wait;
  opacity: .72;
}


/* My Offers controls */
.bizy-offer-row-summary { min-width: 0; }
.bizy-my-offer-action { display: inline-flex; margin: 0 !important; padding: 0 !important; }
.bizy-my-offer-action button {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--bizy-teal-dark) !important;
  font: inherit !important;
  font-weight: 800 !important;
  line-height: inherit !important;
  text-decoration: underline !important;
  cursor: pointer;
}
.bizy-status-archived { background: #edf1f3; color: #52616d; }
@media (max-width: 700px) {
  .bizy-actions { gap: 10px 14px; }
}


/* v0.5.0 — My Offers seller dashboard */
.bbm-my-offers-dashboard {
  max-width: 1180px !important;
}

.bbm-my-offers-header {
  align-items: flex-end;
  margin-bottom: 26px;
}

.bbm-dashboard-intro {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--bizy-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.bbm-create-offer-button {
  min-width: 158px;
}

.bbm-offer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 22px;
  border: 1px solid var(--bizy-line);
  background: #fff;
}

.bbm-offer-stat {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 20px;
  border-right: 1px solid var(--bizy-line);
  align-content: center;
}

.bbm-offer-stat:last-child { border-right: 0; }

.bbm-offer-stat-number {
  color: var(--bizy-navy);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.bbm-offer-stat-label {
  color: var(--bizy-muted);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.25;
}

.bbm-my-offer-list {
  gap: 14px;
}

.bbm-my-offer-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(280px, auto);
  align-items: center;
  gap: 20px;
  min-height: 142px;
  padding: 15px;
  border: 1px solid var(--bizy-line);
  background: #fff;
}

.bbm-my-offer-media {
  width: 112px;
  height: 112px;
  overflow: hidden;
  background: #edf5f6;
}

.bbm-my-offer-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bbm-my-offer-no-image {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--bizy-muted);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bbm-my-offer-content {
  min-width: 0;
}

.bbm-my-offer-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.bbm-my-offer-topline .bizy-status {
  margin: 0;
}

.bbm-my-offer-updated {
  color: var(--bizy-muted);
  font-size: .8rem;
  font-weight: 650;
}

.bbm-my-offer-content h3 {
  margin: 10px 0 4px;
  color: var(--bizy-navy);
  font-size: 1.24rem;
  line-height: 1.15;
}

.bbm-my-offer-meta,
.bbm-my-offer-status-copy {
  margin: 0;
}

.bbm-my-offer-meta {
  color: var(--bizy-muted);
  font-size: .9rem;
  font-weight: 700;
}

.bbm-my-offer-status-copy {
  max-width: 520px;
  margin-top: 9px;
  color: #435462;
  font-size: .9rem;
  line-height: 1.45;
}

.bbm-my-offer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 390px;
}

.bizy-my-offer-action {
  display: inline-flex;
  margin: 0 !important;
  padding: 0 !important;
}

.bbm-offer-action-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid var(--bizy-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--bizy-navy) !important;
  font: inherit !important;
  font-size: .86rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}

.bbm-offer-action-button:hover,
.bbm-offer-action-button:focus {
  border-color: var(--bizy-teal-dark) !important;
  color: var(--bizy-teal-dark) !important;
  outline: none;
}

.bbm-offer-action-button.is-primary {
  border-color: var(--bizy-navy) !important;
  background: var(--bizy-navy) !important;
  color: #fff !important;
}

.bbm-offer-action-button.is-primary:hover,
.bbm-offer-action-button.is-primary:focus {
  border-color: var(--bizy-teal-dark) !important;
  background: var(--bizy-teal-dark) !important;
  color: #fff !important;
}

.bbm-offer-action-button.is-secondary {
  background: #fff !important;
}

.bbm-offer-action-button.is-danger {
  border-color: #d9b0b0 !important;
  color: #8b3030 !important;
}

.bbm-offer-action-button.is-danger:hover,
.bbm-offer-action-button.is-danger:focus {
  border-color: #8b3030 !important;
  background: #fff6f6 !important;
  color: #8b3030 !important;
}

.bbm-offer-action-button.is-copied {
  border-color: #73b899 !important;
  background: #effaf3 !important;
  color: #16613d !important;
}

.bbm-my-offer-status-approved { border-left: 4px solid #46a66e; }
.bbm-my-offer-status-submitted { border-left: 4px solid #d7a831; }
.bbm-my-offer-status-rejected { border-left: 4px solid #c96a6a; }
.bbm-my-offer-status-archived { border-left: 4px solid #9ba8b1; }
.bbm-my-offer-status-draft { border-left: 4px solid #8aaeb8; }

.bbm-my-offers-empty {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 34px;
}

.bbm-my-offers-empty h3,
.bbm-my-offers-empty p { margin: 0; }
.bbm-my-offers-empty p { max-width: 630px; color: var(--bizy-muted); line-height: 1.55; }
.bbm-my-offers-empty .bizy-btn { margin-top: 4px !important; }

@media (max-width: 920px) {
  .bbm-my-offer-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .bbm-my-offer-media {
    width: 92px;
    height: 92px;
  }
  .bbm-my-offer-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    max-width: none;
    padding-top: 2px;
  }
}

@media (max-width: 700px) {
  .bbm-my-offers-header { align-items: stretch; }
  .bbm-create-offer-button { width: 100% !important; }
  .bbm-offer-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbm-offer-stat:nth-child(2) { border-right: 0; }
  .bbm-offer-stat:nth-child(-n+2) { border-bottom: 1px solid var(--bizy-line); }
  .bbm-my-offer-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .bbm-my-offer-media { width: 76px; height: 76px; }
  .bbm-my-offer-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .bbm-offer-action-button { width: 100%; }
  .bizy-my-offer-action { width: 100%; }
}


/* v0.5.1 Marketplace review feedback */
.bbm-review-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--bizy-teal, #078a8d);
  background: #f5fbfb;
  color: var(--bizy-ink, #09233c);
}
.bbm-review-note strong { display: block; margin-bottom: 5px; font-size: .92rem; }
.bbm-review-note p { margin: 0; line-height: 1.5; white-space: normal; }
.bbm-review-note small { display: block; margin-top: 7px; color: var(--bizy-muted, #63748a); line-height: 1.45; }
.bbm-review-note-form { width: 100%; max-width: 420px; }
.bbm-review-note-field { display: block; margin: 0 0 10px; font-weight: 700; }
.bbm-review-note-field textarea { display: block; width: 100%; margin-top: 6px; }
.bbm-review-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* v0.7.2 Public marketplace search banner */
.bbm-marketplace-search-banner {
  position: relative;
  overflow: hidden;
  margin: 0 0 36px;
  padding: clamp(34px, 5vw, 66px);
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 84% 14%, rgba(0, 207, 207, .45), transparent 29%),
    radial-gradient(circle at 12% 92%, rgba(17, 114, 151, .42), transparent 34%),
    linear-gradient(122deg, #061d35 0%, #083c54 56%, #087a78 100%);
  color: #fff;
  isolation: isolate;
}

.bbm-marketplace-search-banner::before,
.bbm-marketplace-search-banner::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
  pointer-events: none;
}

.bbm-marketplace-search-banner::before {
  top: -210px;
  right: -105px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.bbm-marketplace-search-banner::after {
  bottom: -185px;
  left: 39%;
  width: 500px;
  height: 300px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.bbm-marketplace-search-banner__intro {
  max-width: 740px;
  margin: 0 auto 26px;
  text-align: center;
}

.bbm-marketplace-search-banner .bizy-eyebrow {
  color: #71ffff;
}

.bbm-marketplace-search-banner__intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.5vw, 4.35rem);
  letter-spacing: -.055em;
  line-height: .98;
}

.bbm-marketplace-search-banner__intro p:last-child {
  max-width: 610px;
  margin: 15px auto 0;
  color: rgba(255,255,255,.84);
  font-size: 1.02rem;
  line-height: 1.6;
}

.bbm-marketplace-filters {
  width: min(100%, 1010px);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 0;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 42px rgba(0, 17, 32, .23);
}

.bbm-marketplace-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(170px, .85fr) minmax(170px, .85fr) auto;
  gap: 0;
  align-items: stretch;
}

.bbm-filter-field {
  display: flex;
  min-width: 0;
  color: var(--bizy-navy);
}

.bbm-filter-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.bbm-filter-field input,
.bbm-filter-field select {
  display: block;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 13px 15px;
  border: 0;
  border-right: 1px solid #d8e2e5;
  border-radius: 0;
  background: transparent;
  color: var(--bizy-navy);
  font: inherit;
  font-weight: 650;
  line-height: 1.35;
}

.bbm-filter-field input::placeholder {
  color: #71808a;
  opacity: 1;
}

.bbm-filter-field input:focus,
.bbm-filter-field select:focus {
  position: relative;
  z-index: 1;
  background: #f4fbfb;
  box-shadow: inset 0 0 0 2px var(--bizy-teal);
  outline: none;
}

.bbm-filter-actions {
  display: flex;
  gap: 0;
  align-items: stretch;
  min-height: 54px;
}

.bbm-filter-actions .bizy-btn,
.bbm-filter-actions .bizy-btn-secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 0 !important;
  white-space: nowrap;
}

.bbm-filter-actions .bizy-btn {
  border-color: var(--bizy-teal);
  background: var(--bizy-teal);
  color: var(--bizy-navy);
}

.bbm-filter-actions .bizy-btn:hover,
.bbm-filter-actions .bizy-btn:focus {
  border-color: #7fffff;
  background: #7fffff;
  color: var(--bizy-navy);
}

.bbm-clear-filters {
  margin-left: 8px;
  border: 1px solid #cbd7da;
  color: var(--bizy-navy);
  text-decoration: none;
}

.bbm-clear-filters:hover,
.bbm-clear-filters:focus {
  border-color: var(--bizy-teal-dark);
  background: #edf8f8;
  color: var(--bizy-navy);
}

.bbm-marketplace-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin: 0 0 18px;
}

.bbm-marketplace-results-bar p {
  margin: 0;
  color: var(--bizy-muted);
  font-size: .9rem;
  font-weight: 700;
}

.bbm-marketplace-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 32px;
}

.bbm-marketplace-empty h3,
.bbm-marketplace-empty p { margin: 0; }
.bbm-marketplace-empty p { color: var(--bizy-muted); line-height: 1.5; }

@media (max-width: 920px) {
  .bbm-marketplace-search-banner { padding: 38px 24px 24px; }
  .bbm-marketplace-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #d8e2e5; }
  .bbm-filter-field { background: #fff; }
  .bbm-filter-field input,
  .bbm-filter-field select { border-right: 0; }
  .bbm-filter-actions { grid-column: 1 / -1; background: #fff; }
  .bbm-filter-actions .bizy-btn { flex: 1; }
}

@media (max-width: 560px) {
  .bbm-marketplace-search-banner { margin-right: -15px; margin-left: -15px; padding: 34px 16px 16px; }
  .bbm-marketplace-search-banner__intro h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .bbm-marketplace-filter-grid { grid-template-columns: 1fr; }
  .bbm-filter-actions { grid-column: auto; }
  .bbm-filter-actions .bizy-btn,
  .bbm-filter-actions .bizy-btn-secondary { flex: 1 1 0; }
  .bbm-clear-filters { margin-left: 1px; }
}

/* Dynamic browse filters remain cache-safe while results refresh. */
.bizy-central-marketplace.is-loading [data-bbm-marketplace-results] {
  opacity: .58;
  transition: opacity .15s ease;
}


/* Featured offers — public discovery layer */
.bbm-featured-marketplace {
  margin: 0 0 38px;
  padding: 0 0 34px;
  border-bottom: 1px solid var(--bizy-line);
}
.bbm-featured-heading,
.bbm-admin-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
}
.bbm-featured-heading h2,
.bbm-admin-section-heading h3 {
  margin: 0;
  color: var(--bizy-navy);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.bbm-featured-heading > p,
.bbm-admin-section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--bizy-muted);
  line-height: 1.5;
}
.bbm-featured-grid {
  margin-bottom: 0 !important;
}

/* Marketplace admin curation controls */
.bbm-marketplace-admin > h2 {
  margin: 0 0 24px;
}
.bbm-admin-section {
  margin: 0 0 32px;
  padding: 24px;
  border: 1px solid var(--bizy-line);
  background: var(--bizy-surface);
}
.bbm-admin-section:last-child { margin-bottom: 0; }
.bbm-admin-section-heading { margin-bottom: 18px; }
.bbm-admin-section-heading .bizy-eyebrow { margin-bottom: 7px; }
.bbm-admin-list { display: grid; gap: 0; }
.bbm-admin-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--bizy-line);
}
.bbm-admin-offer-row:first-child { border-top: 0; padding-top: 0; }
.bbm-admin-offer-row:last-child { padding-bottom: 0; }
.bbm-admin-offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.bbm-featured-action { margin: 0 !important; }

@media (max-width: 720px) {
  .bbm-featured-heading,
  .bbm-admin-section-heading,
  .bbm-admin-offer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .bbm-admin-offer-actions { justify-content: flex-start; }
}

/*
 * Public Offers Hub
 * This is intentionally scoped to the /offers/ archive so every member site
 * retains its own header/footer while offers display as a polished storefront.
 */
.bizy-offers-archive,
.bizy-offers-archive * {
  box-sizing: border-box;
}

.bizy-offers-archive {
  width: 100%;
  margin: 0;
  padding: clamp(44px, 7vw, 96px) 20px clamp(60px, 8vw, 110px);
  background: #f7fbfb;
  color: var(--bizy-ink, #12243a);
}

.bizy-offers-archive__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.bizy-offers-archive__header {
  max-width: 720px;
  margin: 0 0 clamp(30px, 4vw, 52px);
}

.bizy-offers-archive__eyebrow {
  margin: 0 0 12px;
  color: var(--bizy-teal-dark, #087a78);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.bizy-offers-archive__title {
  margin: 0;
  color: var(--bizy-navy, #061d35);
  font-size: clamp(2.55rem, 5vw, 4.75rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.bizy-offers-archive__intro {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--bizy-muted, #617184);
  font-size: 1.04rem;
  line-height: 1.65;
}

.bizy-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.bizy-offers-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bizy-line, #d9e4e7);
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 29, 53, .055);
}

.bizy-offers-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8f2f2;
}

.bizy-offers-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.bizy-offers-card:hover .bizy-offers-card__image img,
.bizy-offers-card:focus-within .bizy-offers-card__image img {
  transform: scale(1.035);
}

.bizy-offers-card__image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #58727a;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bizy-offers-card__body {
  display: flex;
  min-height: 255px;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.bizy-offers-card__meta {
  margin: 0 0 10px;
  color: var(--bizy-teal-dark, #087a78);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.bizy-offers-card__title {
  margin: 0;
  color: var(--bizy-navy, #061d35);
  font-size: 1.5rem;
  line-height: 1.12;
}

.bizy-offers-card__title a {
  color: inherit;
  text-decoration: none;
}

.bizy-offers-card__title a:hover,
.bizy-offers-card__title a:focus {
  color: var(--bizy-teal-dark, #087a78);
}

.bizy-offers-card__description {
  margin: 12px 0 22px;
  color: #4e6170;
  font-size: .96rem;
  line-height: 1.62;
}

.bizy-offers-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--bizy-line, #d9e4e7);
}

.bizy-offers-card__pricing {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.bizy-offers-card__pricing strong {
  color: var(--bizy-navy, #061d35);
  font-size: 1.08rem;
  line-height: 1.25;
}

.bizy-offers-card__original {
  color: #7b8993;
  font-size: .86rem;
  text-decoration: line-through;
}

.bizy-offers-card__pricing small {
  color: var(--bizy-muted, #617184);
  font-size: .78rem;
  line-height: 1.35;
}

.bizy-offers-card__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--bizy-navy, #061d35);
  color: var(--bizy-navy, #061d35);
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bizy-offers-card__button:hover,
.bizy-offers-card__button:focus {
  border-color: var(--bizy-teal-dark, #087a78);
  background: var(--bizy-teal-dark, #087a78);
  color: #fff;
}

.bizy-offers-card__validity {
  margin: 15px 0 0;
  color: #71808a;
  font-size: .8rem;
}

.bizy-offers-empty {
  max-width: 620px;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--bizy-line, #d9e4e7);
  background: #fff;
  text-align: center;
}

.bizy-offers-empty h2 {
  margin: 0;
  color: var(--bizy-navy, #061d35);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.bizy-offers-empty p:last-child {
  margin: 12px 0 0;
  color: var(--bizy-muted, #617184);
  line-height: 1.6;
}

.bizy-offers-pagination {
  margin-top: 42px;
}

.bizy-offers-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bizy-offers-pagination a,
.bizy-offers-pagination .current {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--bizy-line, #d9e4e7);
  color: var(--bizy-navy, #061d35);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.bizy-offers-pagination .current,
.bizy-offers-pagination a:hover,
.bizy-offers-pagination a:focus {
  border-color: var(--bizy-teal-dark, #087a78);
  background: var(--bizy-teal-dark, #087a78);
  color: #fff;
}

@media (max-width: 900px) {
  .bizy-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .bizy-offers-archive { padding-right: 16px; padding-left: 16px; }
  .bizy-offers-grid { grid-template-columns: 1fr; gap: 18px; }
  .bizy-offers-card__body { min-height: 0; padding: 21px; }
}


/* v0.7.3 — Match central Marketplace cards to the public Offers hub.
   The Marketplace remains excerpt-free by design, but the card frame,
   hierarchy, neutral pricing, and inline outline action now use the same
   visual system as /offers/. */
.bizy-central-marketplace .bizy-marketplace-offer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bizy-line, #d9e4e7);
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 29, 53, .055);
}

.bizy-central-marketplace .bizy-marketplace-offer-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8f2f2;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.bizy-central-marketplace .bizy-marketplace-offer-card:hover .bizy-marketplace-offer-card__image img,
.bizy-central-marketplace .bizy-marketplace-offer-card:focus-within .bizy-marketplace-offer-card__image img {
  transform: scale(1.035);
}

.bizy-central-marketplace .bizy-marketplace-offer-card__image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #58727a;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__body {
  display: flex;
  min-height: 190px;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__meta {
  margin: 0 0 10px;
  color: var(--bizy-muted, #617184);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.bizy-central-marketplace .bizy-marketplace-offer-card h3 {
  margin: 0;
  color: var(--bizy-navy, #061d35);
  font-size: 1.5rem;
  line-height: 1.12;
}

.bizy-central-marketplace .bizy-marketplace-offer-card h3 a {
  color: inherit;
  text-decoration: none;
}

.bizy-central-marketplace .bizy-marketplace-offer-card h3 a:hover,
.bizy-central-marketplace .bizy-marketplace-offer-card h3 a:focus {
  color: var(--bizy-teal-dark, #087a78);
}

.bizy-central-marketplace .bizy-marketplace-offer-card__business {
  margin: 12px 0 0;
  color: var(--bizy-muted, #617184);
  font-size: .96rem;
  font-weight: 700;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--bizy-line, #d9e4e7);
}

.bizy-central-marketplace .bizy-marketplace-offer-card__pricing {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__pricing strong {
  color: var(--bizy-navy, #061d35);
  font-size: 1.08rem;
  line-height: 1.25;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__pricing small {
  color: var(--bizy-muted, #617184);
  font-size: .78rem;
  line-height: 1.35;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--bizy-navy, #061d35);
  color: var(--bizy-navy, #061d35);
  background: transparent;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bizy-central-marketplace .bizy-marketplace-offer-card__button:hover,
.bizy-central-marketplace .bizy-marketplace-offer-card__button:focus {
  border-color: var(--bizy-teal-dark, #087a78);
  background: var(--bizy-teal-dark, #087a78);
  color: #fff;
}

@media (max-width: 600px) {
  .bizy-central-marketplace .bizy-marketplace-offer-card__body { min-height: 0; padding: 21px; }
}

/* v0.8.0 — Bookly verified client ratings
   Central cards use a compact, listing-linked rating line only. Written
   feedback deliberately lives on the individual offer page in a modal. */
.bbm-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #f0aa43;
  font-size: .96rem;
  letter-spacing: 0;
  line-height: 1;
  vertical-align: middle;
}

.bbm-rating-star {
  display: inline-block;
  line-height: 1;
}

.bbm-rating-star.is-full { color: #f0aa43; }
.bbm-rating-star.is-empty { color: #d9e1e5; }
.bbm-rating-star.is-partial {
  color: transparent;
  background: linear-gradient(90deg, #f0aa43 var(--bbm-star-fill, 50%), #d9e1e5 var(--bbm-star-fill, 50%));
  -webkit-background-clip: text;
  background-clip: text;
}

.bbm-rating-stars--large { font-size: 1.4rem; }

.bbm-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 13px 0 0;
  color: inherit;
  text-decoration: none;
}

.bbm-card-rating:hover,
.bbm-card-rating:focus {
  text-decoration: none;
}

.bbm-card-rating:hover .bbm-card-rating__score,
.bbm-card-rating:focus .bbm-card-rating__score {
  color: var(--bizy-teal-dark, #087a78);
}

.bbm-card-rating__score {
  color: var(--bizy-navy, #061d35);
  font-size: .94rem;
  font-weight: 850;
}

.bbm-card-rating__count {
  color: var(--bizy-muted, #617184);
  font-size: .9rem;
  font-weight: 600;
}

/* Keep card pricing pinned in the familiar inline footer even when a rating
   line is present above it. */
.bizy-central-marketplace .bizy-marketplace-offer-card__body:has(.bbm-card-rating) {
  min-height: 220px;
}

.bbm-offer-rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
}

.bbm-offer-rating-summary__score {
  color: var(--bizy-navy, #061d35);
  font-weight: 900;
}

.bbm-offer-rating-summary__count {
  color: var(--bizy-muted, #617184);
  font-size: .92rem;
}

.bbm-review-comments-trigger {
  margin: 0 0 0 5px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--bizy-teal-dark, #087a78);
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
}

.bbm-review-comments-trigger:hover,
.bbm-review-comments-trigger:focus {
  color: var(--bizy-navy, #061d35);
}

.bbm-review-modal[hidden] { display: none !important; }
.bbm-review-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(8, 20, 38, .58);
}

body.bbm-review-modal-open { overflow: hidden; }

.bbm-review-modal__panel {
  position: relative;
  width: min(860px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(26px, 5vw, 52px);
  background: #fff;
  color: var(--bizy-ink, #13243b);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.bbm-review-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--bizy-line, #d9e4e7);
  border-radius: 50%;
  background: #fff;
  color: var(--bizy-navy, #061d35);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.bbm-review-modal__close:hover,
.bbm-review-modal__close:focus {
  border-color: var(--bizy-teal-dark, #087a78);
  color: var(--bizy-teal-dark, #087a78);
}

.bbm-review-modal__eyebrow {
  margin: 0 0 8px;
  color: var(--bizy-teal-dark, #087a78);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.bbm-review-modal h2 {
  margin: 0;
  color: var(--bizy-navy, #061d35);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.bbm-review-modal__summary {
  margin: 26px 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--bizy-line, #d9e4e7);
  border-bottom: 1px solid var(--bizy-line, #d9e4e7);
}

.bbm-review-modal__summary > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bbm-review-modal__summary strong {
  color: var(--bizy-navy, #061d35);
  font-size: 2.1rem;
  line-height: 1;
}

.bbm-review-modal__summary p {
  flex-basis: 100%;
  margin: 3px 0 0;
  color: var(--bizy-muted, #617184);
}

.bbm-review-modal__list { margin-top: 6px; }

.bbm-review-modal__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--bizy-line, #d9e4e7);
}

.bbm-review-modal__item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.bbm-review-modal__client {
  color: var(--bizy-navy, #061d35);
  font-weight: 850;
}

.bbm-review-modal__item time {
  color: var(--bizy-muted, #617184);
  font-size: .9rem;
}

.bbm-review-modal__item p {
  margin: 13px 0 0;
  color: #263746;
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .bizy-central-marketplace .bizy-marketplace-offer-card__body:has(.bbm-card-rating) { min-height: 0; }
  .bbm-review-modal { padding: 12px; }
  .bbm-review-modal__panel { max-height: calc(100vh - 24px); padding: 30px 22px; }
  .bbm-review-modal__close { top: 12px; right: 12px; }
  .bbm-review-modal__item-head { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* v0.8.1 — Keep the public /offers/ empty state centered within every member theme. */
.post-type-archive-bizy_offer .bizy-offers-archive__header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.post-type-archive-bizy_offer .bizy-offers-archive__intro {
  margin-left: auto;
  margin-right: auto;
}

.post-type-archive-bizy_offer .bizy-offers-empty {
  margin-left: auto;
  margin-right: auto;
}
