body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #14213d;
}

.business-page-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 18px 60px;
}

.loading-card,
.error-card,
.business-hero,
.info-card,
.deal-card,
.booking-widget-card,
.inventory-card,
.locked-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.business-hero {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.business-hero.unverified {
  opacity: 0.72;
  filter: grayscale(0.75);
}

.logo-circle {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border-radius: 999px;
  background: linear-gradient(135deg, #002b49, #0075b9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 24px;
  overflow: hidden;
}

.logo-circle.muted {
  background: #9ca3af;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

h2 {
  margin: 4px 0 10px;
  font-size: 22px;
}

.address {
  margin: 8px 0;
  color: #475569;
}

.short-description {
  font-size: 17px;
  line-height: 1.5;
  margin: 12px 0 0;
}

.verified-badge,
.unverified-badge {
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
}

.verified-badge {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #7dd3fc;
}

.unverified-badge {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.section-label {
  margin: 0 0 8px;
  color: #0075b9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deal-card {
  margin-bottom: 20px;
  border-color: #bae6fd;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.promo-code {
  display: inline-block;
  margin-top: 10px;
  background: #002b49;
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.info-card p,
.locked-card p,
.inventory-card p,
.deal-card p,
.booking-widget-card p {
  line-height: 1.55;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list span {
  background: #f1f5f9;
  color: #14213d;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 700;
  font-size: 13px;
}

.booking-widget-card {
  margin-bottom: 20px;
  overflow: hidden;
}

.booking-widget-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.booking-provider-pill {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: #f0f9ff;
  color: #075985;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.booking-widget-host {
  min-height: 88px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #f8fbff;
  padding: 18px;
  overflow: hidden;
}

.booking-widget-host iframe {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
}

.booking-widget-host .healcode,
.booking-widget-host [data-url],
.booking-widget-host [data-widget-id] {
  max-width: 100%;
}

.booking-link-button,
.booking-widget-error a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #0075b9;
  color: #ffffff;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 900;
}

.booking-link-button:hover,
.booking-widget-error a:hover {
  background: #005f95;
}

.booking-widget-error {
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff7f7;
  color: #7f1d1d;
  padding: 16px;
}

.booking-widget-error p {
  margin-top: 0;
}

.inventory-card {
  margin-top: 20px;
}

.inventory-card.muted {
  opacity: 0.7;
  filter: grayscale(0.6);
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.inventory-placeholder {
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  padding: 20px;
  background: #f8fafc;
}

.inventory-day {
  margin-bottom: 22px;
}

.inventory-day h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.appointment-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.appointment-button {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  width: 220px;
  max-width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  background: #0075b9;
  color: white;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 900;
}

.appointment-date-time {
  font-size: 15px;
  line-height: 1.15;
}

.appointment-details {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  font-size: 10px;
  line-height: 1.2;
  opacity: 0.85;
}

.appointment-status {
  flex: 0 0 auto;
  text-transform: uppercase;
}

.appointment-status::after {
  content: " -";
}

.appointment-service {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.appointment-button.inferred {
  background: #64748b;
}

.appointment-button.confirmed {
  background: #0075b9;
}

.locked-card {
  margin-bottom: 20px;
  background: #f9fafb;
}

.claim-button {
  display: inline-block;
  margin-top: 16px;
  background: #0075b9;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
}

.business-title-link {
  color: inherit;
  text-decoration: none;
}

.business-title-link:hover h2 {
  color: #0075b9;
  text-decoration: underline;
}

@media (max-width: 800px) {
  .business-hero {
    flex-direction: column;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .booking-widget-header {
    flex-direction: column;
  }

  .booking-widget-host {
    padding: 12px;
  }

  .booking-widget-host iframe {
    min-height: 760px;
  }

  h1 {
    font-size: 28px;
  }
}

/* NEXTAPPT BUSINESS CATEGORY UI START */
.service-catalog-card {
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  box-shadow:
    0 14px 36px
    rgba(15, 23, 42, 0.08);
  padding: 24px;
}

.service-catalog-header,
.business-category-header,
.inventory-category-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.service-category-total,
.business-category-header > span,
.inventory-category-header > span {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: #075985;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
}

.business-category-links {
  display: flex;
  gap: 8px;
  margin: 14px 0 20px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}

.business-category-links a {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe4ed;
  border-radius: 999px;
  color: #17324d;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  padding: 9px 12px;
  text-decoration: none;
}

.business-category-links a:hover,
.business-category-links a:focus-visible {
  border-color: #0075b9;
  color: #005f95;
  outline: none;
}

.business-category-links span {
  align-items: center;
  background: #e0f2fe;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  justify-content: center;
  min-height: 20px;
  min-width: 20px;
  padding: 0 5px;
}

.business-category-list {
  display: grid;
  gap: 18px;
}

.business-category-section {
  border: 1px solid #dce6ee;
  border-radius: 18px;
  padding: 18px;
  scroll-margin-top: 18px;
}

.business-category-header {
  border-bottom: 1px solid #e7edf2;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.business-category-header h3,
.inventory-category-header h3 {
  font-size: 19px;
  margin: 0;
}

.business-category-header p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  margin: 5px 0 0;
}

.business-service-list {
  display: grid;
  gap: 8px;
}

.business-service-row {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e7edf2;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 14px;
}

.business-service-row h4 {
  font-size: 15px;
  margin: 0;
}

.business-service-row p {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
  margin: 4px 0 0;
  text-transform: capitalize;
}

.business-service-book-link {
  align-items: center;
  background: #0075b9;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  min-height: 34px;
  padding: 0 13px;
  text-decoration: none;
}

.business-service-book-link:hover {
  background: #005f95;
}

.inventory-category {
  border-bottom:
    1px solid #dce6ee;
  margin-bottom: 24px;
  padding-bottom: 4px;
}

.inventory-category:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.inventory-category-header {
  margin-bottom: 16px;
}

.inventory-category .inventory-day {
  margin-left: 10px;
}

.inventory-category .inventory-day h4 {
  font-size: 16px;
  margin: 0 0 12px;
}

@media (max-width: 620px) {
  .service-catalog-header,
  .business-category-header,
  .inventory-category-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .business-service-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .business-service-book-link {
    justify-content: center;
    width: 100%;
  }

  .inventory-category .inventory-day {
    margin-left: 0;
  }
}
/* NEXTAPPT BUSINESS CATEGORY UI END */

/* NEXTAPPT BUSINESS PAGE LAYOUT REFRESH START */
.about-only-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-bottom: 20px;
}

.compact-about-card {
  min-height: 0;
  padding: 17px 22px;
}

.compact-about-card .section-label {
  margin-bottom: 5px;
}

.compact-about-card .about-copy {
  line-height: 1.45;
  margin: 0;
  max-width: none;
}

.inventory-card {
  margin: 0 0 20px;
}

.inventory-access-note {
  color: #64748b;
  font-size: 13px;
  margin: 4px 0 0;
}

.inventory-card.muted {
  opacity: 0.72;
  filter: grayscale(0.72);
}

.inventory-card.muted .inventory-category-header > span {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.booking-widget-card {
  margin: 0 0 20px;
}

@media (max-width: 800px) {
  .compact-about-card {
    padding: 16px 18px;
  }
}
/* NEXTAPPT BUSINESS PAGE LAYOUT REFRESH END */
