/* Bliss Clinic directory + engagement layer (v1, 2026-10-19).
   Uses the existing palette/fonts from style.css (:root vars). Mobile-first. */
:root { --bc-card-radius: 14px; --bc-ease: cubic-bezier(.2,.7,.2,1); }

/* ---- Type rhythm polish (safe, global) ---- */
main h1 { letter-spacing: -.01em; }
main h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); margin: 1.6em 0 .5em; }
main .content-panel h2:first-child { margin-top: 0; }
main p { max-width: 70ch; }
.btn { border-radius: 999px; transition: background .2s var(--bc-ease), color .2s, box-shadow .2s, transform .2s var(--bc-ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .bc-card:focus-within {
  outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---- Directory toolbar ---- */
.bc-directory { padding: 8px 0 32px; }
.bc-dir-head { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.bc-dir-head h2 { margin: 0; }
.bc-dir-count { color: var(--muted); font-size: .9rem; margin: 0; }
.bc-toolbar { display: grid; gap: 12px; grid-template-columns: 1fr; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--bc-card-radius); padding: 14px; box-shadow: var(--shadow-soft); margin-bottom: 22px; }
.bc-toolbar label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.bc-toolbar input, .bc-toolbar select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px;
  font: inherit; font-size: .95rem; background: var(--porcelain); color: var(--ink); }
.bc-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; margin: 0; border: 0; padding-left: 0; }
.bc-chips legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bc-chip { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s var(--bc-ease); }
.bc-chip:hover { border-color: var(--gold); }
.bc-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (min-width: 760px) { .bc-toolbar { grid-template-columns: 2fr 1fr; } .bc-toolbar .bc-chips { grid-column: 1 / -1; } }

/* ---- Cards ---- */
.bc-grid { display: grid; gap: 20px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 620px) { .bc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bc-grid { grid-template-columns: repeat(3, 1fr); } }
.bc-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--bc-card-radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .25s var(--bc-ease), box-shadow .25s; }
.bc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bc-card-media { position: relative; aspect-ratio: 16 / 10; background-color: var(--bc-soft, #f3ece4); background-size: cover; background-position: center; }
.bc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-card-media .bc-cat { position: absolute; left: 12px; top: 12px; background: rgba(251,247,242,.94); color: var(--ink); border-radius: 999px;
  padding: 5px 11px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bc-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.bc-card h3 { font-size: 1.45rem; line-height: 1.12; margin: 0; }
.bc-card h3 a { color: inherit; text-decoration: none; }
.bc-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.bc-suburb { color: var(--muted); font-size: .86rem; margin: 0; }
.bc-card-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.bc-price { display: inline-flex; align-items: center; background: var(--mist); color: var(--teal); border-radius: 999px; padding: 5px 11px; font-size: .8rem; font-weight: 700; }
.bc-tel { position: relative; z-index: 1; color: var(--ink); font-weight: 700; font-size: .86rem; text-decoration: none; border-bottom: 1px solid var(--gold); }
.bc-tel:hover { color: var(--gold-dark); }
.bc-empty { text-align: center; color: var(--muted); padding: 40px 10px; border: 1px dashed var(--line); border-radius: var(--bc-card-radius); }

/* ---- Star rating ---- */
.bc-stars { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); }
.bc-stars-bar { --pct: 0%; position: relative; display: inline-block; font-size: 1rem; letter-spacing: 2px; line-height: 1;
  color: #e3d6c3; font-family: Arial, sans-serif; }
.bc-stars-bar::before { content: "★★★★★"; }
.bc-stars-bar::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: var(--gold); white-space: nowrap; }
.bc-stars strong { color: var(--ink); font-weight: 700; }
.bc-stars-lg .bc-stars-bar { font-size: 1.35rem; }
.bc-google { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; background: var(--porcelain); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.bc-google small { color: var(--muted); font-size: .76rem; width: 100%; }

/* ---- Pricing table ---- */
.bc-pricing { border: 1px solid var(--line); border-radius: var(--bc-card-radius); overflow: hidden; margin: 12px 0 8px; background: var(--white); }
.bc-pricing table { width: 100%; border-collapse: collapse; }
.bc-pricing th, .bc-pricing td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.bc-pricing thead th { background: var(--porcelain); color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.bc-pricing td:last-child, .bc-pricing th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.bc-pricing tbody tr:nth-child(even) { background: #fdfbf8; }
.bc-pricing tbody tr:last-child td { border-bottom: 0; }
.bc-pricing-note { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }

/* ---- Engagement: comments + claim ---- */
.bc-engage { padding: 40px 0; }
.bc-engage-inner { background: var(--white); border: 1px solid var(--line); border-radius: var(--bc-card-radius); box-shadow: var(--shadow-soft); padding: 22px; }
@media (min-width: 760px) { .bc-engage-inner { padding: 32px 36px; } }
.bc-comments-placeholder { color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 24px; text-align: center; font-size: .92rem; }
.bc-claim { background: linear-gradient(135deg, var(--ink), #3a3631); color: var(--white); border-radius: var(--bc-card-radius); padding: 22px; margin-bottom: 18px; }
.bc-claim h3 { color: var(--white); font-size: 1.45rem; margin: 0 0 8px; }
.bc-claim p { color: #ddd5c8; font-size: .9rem; margin: 0 0 14px; }
.bc-hub-intro { padding-top: 36px; }
@media (prefers-reduced-motion: reduce) { .bc-card, .btn, .bc-chip { transition: none; } .bc-card:hover, .btn:hover { transform: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bc-profile-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 18px; display: block; }
.content-panel > .cost-line { border-radius: 10px; }
.bc-toolbar *, .bc-card *, .bc-pricing * { box-sizing: border-box; }
.bc-toolbar > div { min-width: 0; }
.eyebrow + h2, .bc-dir-head .eyebrow + h2 { margin-top: 0; }
.bc-engage-inner .eyebrow { margin-bottom: 6px; }
.bc-chips { min-width: 0; max-width: 100%; } .bc-toolbar { grid-template-columns: minmax(0,1fr); } @media (min-width: 760px) { .bc-toolbar { grid-template-columns: minmax(0,2fr) minmax(0,1fr); } }

/* ---- On-brand category placeholders (local SVG, no external requests) ---- */
.bc-ph { position: relative; background-color: #efe6da; background-repeat: no-repeat; background-position: center; background-size: 34% auto, cover; }
.bc-ph-laser { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23fbf7f2%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%2260%22%20r%3D%2210%22/%3E%3Cpath%20d%3D%22M60%2020v18M60%2082v18M20%2060h18M82%2060h18M32%2032l12%2012M76%2076l12%2012M88%2032L76%2044M44%2076L32%2088%22/%3E%3C/svg%3E"), linear-gradient(135deg, #1f6f6a, #2c4f4c); }
.bc-ph-skin { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23fbf7f2%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%3Cpath%20d%3D%22M60%2022c18%200%2030%2015%2030%2034%200%2022-14%2042-30%2042S30%2078%2030%2056c0-19%2012-34%2030-34z%22/%3E%3Cpath%20d%3D%22M48%2058c3%203%207%203%2010%200M62%2058c3%203%207%203%2010%200M52%2076c5%204%2011%204%2016%200%22/%3E%3C/svg%3E"), linear-gradient(135deg, #d69b95, #bd965d); }
.bc-ph-day-spa { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23fbf7f2%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%3Cpath%20d%3D%22M60%2030c8%2010%2012%2020%2012%2030%200%2010-5%2018-12%2022-7-4-12-12-12-22%200-10%204-20%2012-30z%22/%3E%3Cpath%20d%3D%22M60%2082c-14%200-28-8-34-22%2012-2%2024%202%2034%2012%2010-10%2022-14%2034-12-6%2014-20%2022-34%2022z%22/%3E%3C/svg%3E"), linear-gradient(135deg, #6d8f7a, #1f6f6a); }
.bc-ph-hotel-spa { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23fbf7f2%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%3Cpath%20d%3D%22M30%2092V40l30-16%2030%2016v52%22/%3E%3Cpath%20d%3D%22M48%2092V70h24v22M44%2050h8M68%2050h8%22/%3E%3Cpath%20d%3D%22M24%2092h72%22/%3E%3C/svg%3E"), linear-gradient(135deg, #232527, #8d6f42); }
.bc-ph-massage { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23fbf7f2%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%3Ccircle%20cx%3D%2244%22%20cy%3D%2260%22%20r%3D%2212%22/%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2252%22%20r%3D%229%22/%3E%3Ccircle%20cx%3D%2288%22%20cy%3D%2248%22%20r%3D%226%22/%3E%3Cpath%20d%3D%22M24%2084c20-6%2052-6%2072%200%22/%3E%3C/svg%3E"), linear-gradient(135deg, #bd965d, #8d6f42); }
.bc-ph-nails-hair { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%20120%22%20fill%3D%22none%22%20stroke%3D%22%23fbf7f2%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.9%22%3E%3Cpath%20d%3D%22M44%2026c-6%2014-6%2030%200%2044M58%2022c-4%2016-4%2032%200%2048M72%2026c6%2014%206%2030%200%2044%22/%3E%3Crect%20x%3D%2240%22%20y%3D%2274%22%20width%3D%2240%22%20height%3D%2222%22%20rx%3D%2210%22/%3E%3C/svg%3E"), linear-gradient(135deg, #d69b95, #8d6f42); }
.profile-hero.bc-ph { background-size: 160px auto, cover; background-position: 88% 50%, center; }
.bc-related { padding: 8px 0 40px; }
.bc-related-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bc-related-list { grid-template-columns: repeat(2, 1fr); } }
.bc-related-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-soft); }
.bc-related-list a { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.25rem; font-weight: 700; color: var(--ink); text-decoration: none; display: block; }
.bc-related-list a:hover { color: var(--gold-dark); }
.bc-related-list span { color: var(--muted); font-size: .84rem; }
.bc-related-links { font-size: .9rem; }
.bc-related-links a, .bc-google a { color: var(--teal); font-weight: 600; }
.bc-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.profile-hero[style] .eyebrow, .profile-hero.bc-ph .eyebrow { color: #e8cf9f; }
@media (min-width: 981px) { .footer-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; } }
/* ---- Breadcrumbs + A-Z lists ---- */
.bc-crumbs { background: var(--porcelain); border-bottom: 1px solid var(--line); }
.bc-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 auto; padding: 10px 20px; max-width: 1180px; font-size: .8rem; color: var(--muted); }
.bc-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.bc-crumbs a { color: var(--teal); text-decoration: none; font-weight: 600; }
.bc-crumbs a:hover { text-decoration: underline; }
.bc-az { padding: 40px 0; }
.bc-az-grid { display: grid; gap: 22px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 760px) { .bc-az-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .bc-az-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.bc-az-group { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-soft); }
.bc-az-group h3 { font-size: 1.3rem; margin: 0 0 10px; }
.bc-az-group ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.bc-az-group li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; break-inside: avoid; }
.bc-az-group li:last-child { border-bottom: 0; }
.bc-az-group a { color: var(--ink); font-weight: 600; text-decoration: none; }
.bc-az-group a:hover { color: var(--gold-dark); }
.bc-az-group span { color: var(--muted); font-size: .8rem; }
@media (min-width: 760px) { .bc-toolbar:has([data-bc-city]) { grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 600px) { .compare-picker-card { min-width: 0; max-width: 100%; box-sizing: border-box; } .compare-picker-grid, [class*="compare-picker"] { min-width: 0; } }
.bc-profile-figure { margin: 0 0 18px; } .bc-profile-figure .bc-profile-photo { margin-bottom: 6px; } .bc-profile-figure figcaption { font-size: .75rem; color: var(--muted); }
/* Home city cards: 4 cities */
.home-city-grid-v13 { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 620px) { .home-city-grid-v13 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1100px) { .home-city-grid-v13 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
/* v15 heroes: restore the site gutter (container was forced to 100% width, so text touched the screen edge) */
.hero-visual-v15 .container { width: min(1180px, calc(100% - 40px)); }
@media (max-width: 860px) {
  .hero-visual-v15.hero-v15-pretoria { background-position: 0 0, 74% top; }
  .hero-visual-v15.hero-v15-pretoria::after { background: linear-gradient(180deg, rgba(19,17,24,0) 0%, rgba(19,17,24,.25) 100%); }
}
@media (max-width: 860px) { .hero-v15-pretoria .eyebrow { color: #f6e2b8; } }
/* Page view counter (js/view-counter.js) */
.bc-views { display: inline-flex; align-items: center; gap: 6px; font-family: Montserrat, Arial, sans-serif; font-size: .8rem; font-weight: 500; line-height: 1; color: #8a8a8a; white-space: nowrap; }
.bc-views svg { flex: none; }
.bc-views-row { margin: 6px 0 14px; }
.profile-meta .bc-views, .hero-visual-v15 .bc-views { color: rgba(255,255,255,.78); }
.profile-meta .bc-views { background: none; border: 0; padding: 7px 2px; font-weight: 500; }
.profile-meta .bc-views > span { background: none; border: 0; padding: 0; border-radius: 0; font: inherit; color: inherit; }
/* photo heroes: the gradient layer must cover the whole hero (was sized 160px by the placeholder-icon rule) */
.profile-hero.bc-ph[style] { background-size: cover, cover; background-position: center, center; }
/* City + category landing pages */
.bc-landing-hero { padding: 40px 0 18px; }
.bc-landing-intro { max-width: 780px; font-size: 1rem; line-height: 1.75; color: var(--muted, #5c625f); }
.bc-faq { padding: 24px 0 8px; }
.bc-faq details { background: var(--white, #fff); border: 1px solid var(--line, #e7ded2); border-radius: 12px; padding: 14px 18px; margin: 10px 0; box-shadow: var(--shadow-soft, none); }
.bc-faq summary { cursor: pointer; font-weight: 600; color: var(--ink, #232527); }
.bc-faq summary:focus-visible { outline: 2px solid var(--gold, #bd965d); outline-offset: 3px; border-radius: 6px; }
.bc-faq details p { margin: 10px 0 0; line-height: 1.7; }
.footer-popular { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 8px; font-size: .85rem; line-height: 1.9; }
.footer-popular p { margin: 0 0 4px; overflow-wrap: anywhere; }
.footer-popular a { color: inherit; opacity: .85; }
.footer-popular a:hover { opacity: 1; }
.bc-card-media { position: relative; }
.bc-illus-tag { position: absolute; right: 10px; bottom: 10px; font-family: Montserrat, Arial, sans-serif; font-size: .66rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(35,37,39,.55); padding: 4px 8px; border-radius: 999px; pointer-events: none; }
/* Hero content inset: 30px left padding on every hero (home, hubs, city-category, listings, directory, guides); min 20px on mobile */
.home-hero-inner-v13,
.page-hero > .container,
.profile-hero > .container,
.review-hero > .container { box-sizing: border-box; padding-left: 30px; }
@media (max-width: 600px) {
  .home-hero-inner-v13,
  .page-hero > .container,
  .profile-hero > .container,
  .review-hero > .container { padding-left: 20px; }
}
/* Price menu (tools/menus.py) */
.bc-menu { margin: 8px 0 6px; }
.bc-menu-intro { font-size: .92rem; color: var(--muted, #5c625f); margin: 0 0 10px; }
.bc-menu-sec { background: var(--white, #fff); border: 1px solid var(--line, #e7ded2); border-radius: 12px; margin: 0 0 10px; overflow: hidden; }
.bc-menu-sec > summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 16px; cursor: pointer; font-weight: 600; color: var(--ink, #232527); list-style: none; }
.bc-menu-sec > summary::-webkit-details-marker { display: none; }
.bc-menu-sec > summary::after { content: "+"; font-weight: 400; color: var(--gold, #bd965d); margin-left: 8px; }
.bc-menu-sec[open] > summary::after { content: "−"; }
.bc-menu-sec > summary small { margin-left: auto; font-weight: 500; font-size: .78rem; color: #8a8a8a; }
.bc-menu-sec summary:focus-visible, .bc-menu-more summary:focus-visible { outline: 2px solid var(--gold, #bd965d); outline-offset: -2px; }
.bc-menu-list { list-style: none; margin: 0; padding: 0 16px; }
.bc-menu-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 9px 0; border-top: 1px solid var(--line, #efe7dc); font-size: .92rem; }
.bc-mi-name { min-width: 0; overflow-wrap: anywhere; }
.bc-mi-dur { grid-column: 1; grid-row: 2; font-size: .78rem; color: #8a8a8a; }
.bc-mi-price { grid-column: 2; grid-row: 1; font-weight: 600; white-space: nowrap; color: var(--ink, #232527); }
.bc-menu-more > summary { padding: 10px 16px 14px; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--teal, #1f6f6a); }
.bc-menu-more[open] > summary { display: none; }
.bc-menu-sec > .bc-menu-list:last-child, .bc-menu-more .bc-menu-list { padding-bottom: 8px; }
