/* Shared Catalogue card feed — Command is the visual authority. */
.cc-cat-heading {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 18px 12px 8px;
}
body.app-theme-dark .cc-cat-heading { color: #f8fafc !important; }
.cc-cat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 12px 28px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.cc-cat-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  min-height: 0;
  background: #1a1f2e;
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.cc-cat-item:hover { background: #1a1f2e; }
.cc-cat-item:active { opacity: 0.96; transform: scale(0.995); }
body:not(.app-theme-dark) .cc-cat-item,
body:not(.app-theme-dark) .cc-cat-item:hover {
  background: #eef3f0;
  border-color: #c5d4ce;
}
body:not(.app-theme-dark) .cc-cat-body {
  background: #d7e8e2;
}
body:not(.app-theme-dark) .cc-cat-name {
  color: #0f291f;
}
body:not(.app-theme-dark) .cc-cat-meta,
body:not(.app-theme-dark) .cc-cat-reviews,
body:not(.app-theme-dark) .cc-cat-rating-count,
body:not(.app-theme-dark) .cc-cat-fee-list,
body:not(.app-theme-dark) .cc-cat-fee-note {
  color: #5b726a;
}
body:not(.app-theme-dark) .cc-cat-rating-text,
body:not(.app-theme-dark) .cc-cat-fee {
  color: #1f3a32;
}
body:not(.app-theme-dark) .cc-cat-elig,
body:not(.app-theme-dark) .cc-cat-fee-now {
  color: #14532d;
}
.cc-cat-canvas { position: relative; width: 100%; cursor: pointer; }
.cc-cat-emoji-wrap,
.cc-cat-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  min-height: 0;
  border-radius: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
  border: 0;
  box-sizing: border-box;
}
.cc-cat-emoji { font-size: clamp(4rem, 22vw, 6rem); line-height: 1; }
.cc-cat-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-cat-body { flex: 1; min-width: 0; padding: 14px 14px 16px; cursor: pointer; }
.cc-cat-name {
  font-weight: 700;
  font-size: 17px;
  color: #f8fafc;
  line-height: 1.3;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-cat-desc { display: none; }
.cc-cat-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 10px;
}
.cc-cat-meta[hidden] { display: none !important; }
.cc-cat-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.cc-cat-foot-left { min-width: 0; flex: 1; }
.cc-cat-reviews {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #9ca3af;
}
.cc-cat-reviews.is-empty .cc-cat-rating-badge { display: none; }
.cc-cat-rating-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  padding: 4px 7px;
  border-radius: 6px;
  background: #00A854;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.cc-cat-rating-badge.is-mid { background: #3b82f6; }
.cc-cat-rating-badge.is-low { background: #6b7280; }
.cc-cat-rating-text { font-weight: 600; color: #e5e7eb; }
.cc-cat-rating-count { font-weight: 500; color: #9ca3af; }
.cc-cat-elig {
  font-size: 13px;
  line-height: 1.35;
  color: #34d399;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cc-cat-fee-wrap { flex: 0 0 auto; text-align: right; }
.cc-cat-fee { font-weight: 800; font-size: 16px; color: #f8fafc; }
.cc-cat-fee-list {
  display: block;
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
}
.cc-cat-fee-now { display: block; color: #34d399; font-weight: 800; }
.cc-cat-fee-note { font-size: 10px; color: #9ca3af; margin-top: 2px; }
.cc-cat-cta { display: none; }
.cc-cat-seg-bar {
  display: flex;
  gap: 0;
  width: 100%;
  padding: 0 4px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.cc-cat-seg {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: none;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 4px 12px;
  cursor: pointer;
}
.cc-cat-seg[aria-selected="true"] {
  color: #16a34a;
  box-shadow: inset 0 -2px 0 #16a34a;
}
.cc-cat-seg.cc-cat-seg-hide { display: none !important; }
.cc-cat-search-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  margin-left: auto;
}
#acctBusinessProfileView.is-catalogue .cc-cat-search-btn { display: inline-flex; }
.cc-cat-search-btn svg { width: 22px; height: 22px; }
.cc-cat-search-btn:hover,
.cc-cat-search-btn[aria-expanded="true"] { color: #00A854; background: rgba(0, 168, 84, 0.08); }
body.app-theme-dark .cc-cat-search-btn { color: rgba(255, 255, 255, 0.72); }
body.app-theme-dark .cc-cat-search-btn:hover,
body.app-theme-dark .cc-cat-search-btn[aria-expanded="true"] { color: #34d399; background: rgba(52, 211, 153, 0.12); }
#acctBizCatSearchRow {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 8px;
}
#acctBusinessProfileView.is-cat-search-open #acctBizCatSearchRow { display: flex; }
#acctBizCatSearch {
  width: 100%;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  background: #fff;
  color: #111827;
}
body.app-theme-dark #acctBizCatSearch {
  background: #1f2937;
  border-color: #374151;
  color: #f8fafc;
}

/* Featured Lifestyle cards — Command is the visual authority.
   .cc-cat-featured-scroll = Command row (peek / swipe).
   .cc-cat-featured-grid = same cards, wrapping 2-column page scroll. */
.cc-cat-featured-wrap { padding: 16px 0 8px; width: 100%; box-sizing: border-box; }
.cc-cat-featured-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin: 0 16px 4px;
}
body.app-theme-dark .cc-cat-featured-title { color: #f8fafc; }
.cc-cat-featured-sub {
  font-size: 12px;
  color: #9ca3af;
  margin: 0 16px 12px;
}
.cc-cat-featured-row-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin: 0 16px 8px;
}
body.app-theme-dark .cc-cat-featured-row-title { color: #e5e7eb; }
.cc-cat-featured-scroll {
  display: flex;
  overflow-x: auto;
  gap: 14px;
  padding: 0 16px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.cc-cat-featured-scroll::-webkit-scrollbar { display: none; }
.cc-cat-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 16px 8px;
  width: 100%;
  box-sizing: border-box;
  max-width: none;
}
@media (max-width: 359px) {
  .cc-cat-featured-grid { grid-template-columns: minmax(0, 1fr); }
}
.cc-cat-featured-card {
  min-width: 200px;
  max-width: 240px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: #1a1a2e;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.cc-cat-featured-grid .cc-cat-featured-card {
  min-width: 0;
  max-width: none;
  width: 100%;
  flex-shrink: 1;
}
.cc-cat-featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.cc-cat-featured-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: rgba(17, 24, 39, 0.88);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.cc-cat-featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 42%, transparent 62%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.cc-cat-featured-card-name {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 2px;
}
.cc-cat-featured-card-loc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}
.cc-cat-featured-card-cta {
  width: 100%;
  padding: 8px;
  border-radius: 12px;
  background: #00A854;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* Profile host: do not shrink the canonical feed into an article column. */
#acctBizCatalogueHost,
#acctBizPanelCatalogue {
  width: 100%;
  max-width: none;
}
