/* ASKPERTASK-BUSINESS-PROFILE-INDEPENDENT-DESIGN-DEMO-1A
   Scoped entirely to body.apt-business-profile-demo. Standalone demo page,
   not loaded anywhere else. Prefixed apt-bpd-*. */

body.apt-business-profile-demo {
	--apt-bpd-blue: #2D6CDF;
	--apt-bpd-blue-dark: #1E4FA8;
	--apt-bpd-blue-light: #EAF1FD;
	--apt-bpd-green: #1FA34A;
	--apt-bpd-green-dark: #168238;
	--apt-bpd-navy: #1A2E52;
	--apt-bpd-amber: #92400E;
	--apt-bpd-amber-bg: #FEF3C7;
	--apt-bpd-border: #E5E7EB;
	--apt-bpd-bg: #F4F5F7;
	--apt-bpd-text: #1A1A1A;
	--apt-bpd-muted: #6B7280;
	--apt-bpd-muted-light: #9CA3AF;
	--apt-bpd-white: #FFFFFF;
	--apt-bpd-radius-lg: 16px;
	--apt-bpd-radius-md: 12px;
	--apt-bpd-radius-sm: 8px;
	--apt-bpd-shadow: 0 2px 12px rgba(16, 24, 40, 0.07);
	--apt-bpd-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);

	margin: 0;
	background: var(--apt-bpd-bg);
	color: var(--apt-bpd-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.apt-business-profile-demo * {
	box-sizing: border-box;
}

body.apt-business-profile-demo a {
	text-decoration: none;
	color: inherit;
}

body.apt-business-profile-demo h1,
body.apt-business-profile-demo h2,
body.apt-business-profile-demo h3 {
	margin: 0;
	font-weight: 700;
}

body.apt-business-profile-demo :focus-visible {
	outline: 2px solid var(--apt-bpd-blue);
	outline-offset: 2px;
	border-radius: 4px;
}

/* Demo banner */
.apt-bpd-demo-banner {
	background: var(--apt-bpd-amber-bg);
	color: var(--apt-bpd-amber);
	font-size: 13px;
	padding: 10px 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
	border-bottom: 1px solid #FDE68A;
}

.apt-bpd-demo-banner__label {
	font-weight: 800;
	letter-spacing: 0.02em;
}

.apt-bpd-demo-banner__text code {
	background: rgba(0, 0, 0, 0.08);
	padding: 1px 5px;
	border-radius: 4px;
}

.apt-bpd-demo-banner__switch {
	margin-left: auto;
	white-space: nowrap;
}

.apt-bpd-demo-banner__switch a {
	font-weight: 600;
	text-decoration: underline;
}

.apt-bpd-demo-banner__switch a.is-active {
	text-decoration: none;
	color: var(--apt-bpd-text);
}

/* Slim top bar */
.apt-bpd-topbar {
	background: var(--apt-bpd-white);
	border-bottom: 1px solid var(--apt-bpd-border);
}

.apt-bpd-topbar__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: baseline;
	gap: 16px;
	flex-wrap: wrap;
}

.apt-bpd-topbar__logo {
	font-weight: 800;
	font-size: 18px;
	color: var(--apt-bpd-navy);
}

.apt-bpd-topbar__crumbs {
	font-size: 13px;
	color: var(--apt-bpd-muted);
}

/* Layout */
.apt-bpd-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 24px 64px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Hero */
.apt-bpd-hero {
	background: var(--apt-bpd-white);
	border-radius: var(--apt-bpd-radius-lg);
	overflow: visible;
	box-shadow: var(--apt-bpd-shadow);
}

/* BUSINESS-PROFILE-V2-FINAL-VISUAL-CLOSURE-2A: one shared premium cover
   treatment for both has-cover and no-cover -- previously no-cover fell
   back to a short flat 64px bar, which read as visually incomplete next
   to the approved design (see Owner screenshots). The real vendor photo,
   when one exists, is painted by render_fragment()'s inline
   background-image style, which already beats this class-level background
   by CSS specificity -- so this gradient is simultaneously the premium
   branded fallback for coverless vendors AND the loading/fallback backdrop
   behind a real cover image. Not a fake photo either way: a deliberate
   abstract brand pattern, never photographic. */
/* ASKPERTASK-BUSINESS-PROFILE-2A VISUAL PARITY: Figma's cover is flat
   solid navy (bg-brand-navy) with a subtle dot-grid texture overlay at
   opacity-40 -- NOT a navy-to-blue diagonal-stripe gradient, which is
   what this used to be. */
.apt-bpd-hero__cover {
	position: relative;
	border-radius: var(--apt-bpd-radius-lg) var(--apt-bpd-radius-lg) 0 0;
	height: 144px;
	overflow: hidden;
	background: var(--apt-bpd-navy);
}

.apt-bpd-hero__cover::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.4;
	background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.10) 1px, transparent 0);
	background-size: 22px 22px;
}

/* Real cover photo (a real feature Figma's own mock has no equivalent
   for) shows cleanly on its own, without the navy dot texture on top. */
.apt-bpd-hero__cover.has-cover::before {
	display: none;
}

.apt-bpd-hero__cover-curve {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40px;
	color: var(--apt-bpd-white);
}

.apt-bpd-hero__body {
	position: relative;
	padding: 96px 32px 28px;
	border: 1px solid var(--apt-bpd-border);
	border-top: none;
	border-radius: 0 0 var(--apt-bpd-radius-lg) var(--apt-bpd-radius-lg);
}

.apt-bpd-hero__avatar {
	position: absolute;
	top: -96px;
	left: 32px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	border: 4px solid var(--apt-bpd-white);
	background: var(--apt-bpd-white);
	color: var(--apt-bpd-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 38px;
	box-shadow: var(--apt-bpd-shadow);
	overflow: hidden;
}

.apt-bpd-hero__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.apt-bpd-hero__row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
}

.apt-bpd-hero__identity {
	min-width: 260px;
	flex: 1 1 260px;
	padding-top: 4px;
}

.apt-bpd-hero__namerow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* font-weight qualified (.apt-bpd-hero__namerow h1.apt-bpd-hero__name = 2
   classes + 1 type) to beat the base h1 reset (1 class + 1 type -- see
   .apt-bpd-wrap h1 in this file / apt-business-profile-v2-route.css),
   which would otherwise pin every heading to 700 instead of Figma's
   font-extrabold (800) for the business name specifically. */
.apt-bpd-hero__namerow h1.apt-bpd-hero__name {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.apt-bpd-hero__verifiedchip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--apt-bpd-blue-light);
	color: var(--apt-bpd-blue-dark);
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.apt-bpd-check {
	display: inline-flex;
}

.apt-bpd-hero__category {
	margin: 6px 0 10px;
	color: var(--apt-bpd-muted);
	font-size: 15px;
	font-weight: 500;
}

.apt-bpd-hero__meta {
	margin: 0;
	color: var(--apt-bpd-muted);
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

/* Qualified with 3 classes for specificity against the real page's
   link-color reset (body.X .apt-bpd-wrap a = 2 classes + 2 types) -- see
   the .apt-bpd-similar__viewmore note further down for the full
   explanation; 2 classes alone (.apt-bpd-wrap + this one) isn't enough. */
.apt-bpd-wrap .apt-bpd-hero .apt-bpd-hero__reviewlink {
	color: var(--apt-bpd-muted);
}

.apt-bpd-wrap .apt-bpd-hero .apt-bpd-hero__reviewlink:hover {
	color: var(--apt-bpd-text);
	text-decoration: underline;
}

.apt-bpd-icon {
	flex-shrink: 0;
}

.apt-bpd-dot {
	color: var(--apt-bpd-muted-light);
}

.apt-bpd-stars {
	color: #F5A623;
	letter-spacing: 1px;
}

/* Actions card — a distinct bordered/shadowed panel beside identity on
   desktop (matches the approved Figma composition), not an inline button
   row. Real actions (.apt-bpd-hero__actions--real) get their own
   flex-direction override in apt-business-profile-v2-route.css so the
   real HivePress markup stacks the same way without touching it. */
.apt-bpd-hero__actionscard {
	width: 256px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-md);
	padding: 12px;
	background: var(--apt-bpd-white);
	box-shadow: var(--apt-bpd-shadow-sm);
}

.apt-bpd-hero__actionscard .apt-bpd-btn {
	width: 100%;
}

.apt-bpd-hero__links {
	display: flex;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
	color: var(--apt-bpd-muted);
}

.apt-bpd-link {
	font-weight: 600;
	color: var(--apt-bpd-blue);
}

/* Verification strip — nested inside the hero card, directly below the
   identity/actions row (approved Figma composition), not a separate
   section below the hero. */
.apt-bpd-hero__verification {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 20px;
	background: var(--apt-bpd-bg);
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-md);
	padding: 14px 20px;
	margin-top: 24px;
}

/* Buttons */
.apt-bpd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 22px;
	border-radius: var(--apt-bpd-radius-sm);
	font-weight: 700;
	font-size: 14px;
	min-height: 44px;
	white-space: nowrap;
	border: 1px solid transparent;
}

/* Qualified (.apt-bpd-wrap .apt-bpd-btn.apt-bpd-btn--primary = 3 classes)
   against the real page's link-color reset (body.X .apt-bpd-wrap a = 2
   classes + 2 types) -- confirmed by QA that a plain .apt-bpd-btn--primary
   rule loses that fight and silently renders dark text on the green
   background instead of white. Works from any .apt-bpd-wrap descendant
   (hero actionscard fallback, booking module, close CTA) regardless of
   which container wraps it. */
.apt-bpd-wrap .apt-bpd-btn.apt-bpd-btn--primary {
	background: var(--apt-bpd-green);
	color: var(--apt-bpd-white);
}

.apt-bpd-wrap .apt-bpd-btn.apt-bpd-btn--primary:hover {
	background: var(--apt-bpd-green-dark);
}

.apt-bpd-wrap .apt-bpd-btn.apt-bpd-btn--secondary {
	background: var(--apt-bpd-white);
	border-color: var(--apt-bpd-border);
	color: var(--apt-bpd-text);
}

.apt-bpd-wrap .apt-bpd-btn.apt-bpd-btn--secondary:hover {
	border-color: var(--apt-bpd-muted-light);
}

.apt-bpd-btn--sm {
	padding: 8px 16px;
	min-height: 38px;
	font-size: 13px;
}

/* "New to AskPerTask" inline indicator, used in the hero meta line in
   place of a rating when a business has no reviews yet. */
.apt-bpd-newchip {
	display: inline-flex;
	align-items: center;
	background: var(--apt-bpd-blue-light);
	color: var(--apt-bpd-blue-dark);
	border-radius: 999px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 700;
}

/* Verification chips — checkmarks read inline, divided by a small dot,
   closing with an optional "View verification" link. Reused both inside
   the hero's .apt-bpd-hero__verification wrapper and (stacked vertically
   via .apt-bpd-safety__items) in the sidebar Trust & Safety card. */
.apt-bpd-trust__items {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	row-gap: 8px;
}

.apt-bpd-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--apt-bpd-text);
	white-space: nowrap;
}

.apt-bpd-trust__sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--apt-bpd-muted-light);
	flex-shrink: 0;
}

/* Qualified with 3 classes (used in both the hero verification strip and
   the sidebar Trust & Safety card) against the real page's link-color
   reset -- see .apt-bpd-similar__viewmore note below for why. */
.apt-bpd-wrap .apt-bpd-hero__verification .apt-bpd-trust__link,
.apt-bpd-wrap .apt-bpd-safety .apt-bpd-trust__link {
	font-size: 13px;
	font-weight: 700;
	color: var(--apt-bpd-blue);
	white-space: nowrap;
}

/* Cards / split sections */
.apt-bpd-card {
	background: var(--apt-bpd-white);
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-lg);
	padding: 28px;
}

/* ASKPERTASK-BUSINESS-PROFILE-2A REBUILD: plain bold heading, no
   left-accent bar — matches the approved Figma's card headings exactly
   (text-xl font-bold, no rule/border treatment). */
.apt-bpd-card h2,
.apt-bpd-services__head h2 {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--apt-bpd-navy);
	margin-bottom: 14px;
}

/* Portfolio / Reviews header row — heading + "View all" link, matching
   the approved Figma exactly. */
.apt-bpd-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.apt-bpd-panel__head h2 {
	margin-bottom: 0;
}

/* Qualified with 3 classes (.apt-bpd-wrap .apt-bpd-panel .apt-bpd-panel__viewall)
   against the real page's link-color reset -- same pattern documented at
   .apt-bpd-similar__viewmore below. */
.apt-bpd-wrap .apt-bpd-panel .apt-bpd-panel__viewall {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--apt-bpd-green);
	white-space: nowrap;
}

.apt-bpd-wrap .apt-bpd-panel .apt-bpd-panel__viewall:hover {
	color: var(--apt-bpd-green-dark);
}

/* ASKPERTASK-BUSINESS-PROFILE-2A: main two-column layout (tab content
   left, Business Summary/Trust & Safety/Booking rail right) — follows
   the approved Figma [1fr_340px] split. Each side sizes to its own
   content (align-items: start) so a short sidebar never gets stretched
   to match a tall main column or vice versa. */
.apt-bpd-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 24px;
	align-items: start;
}

.apt-bpd-main {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

/* ASKPERTASK-BUSINESS-PROFILE-2A: CSS Grid/Flex fundamentally can't give
   two columns in the same row truly independent heights without either
   forcing the shorter one to stretch (align-items:stretch, rejected) or
   risking the taller one visually overlapping whatever comes after the
   row when it's the shorter column that's in normal flow (float without
   a clearfix). Real content here often makes the booking+summary rail
   meaningfully taller than a sparse About+Services column -- sticky
   positioning is the safe, standard fix: it doesn't touch the row's
   reserved height, but keeps the sidebar visibly active/useful as the
   user scrolls past it instead of sitting fully-rendered next to a
   static block of blank canvas the whole time. 76px clears the fixed
   sticky action bar (see .apt-bpd-sticky) once it's visible. */
.apt-bpd-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: sticky;
	top: 76px;
	align-self: start;
}

/* ASKPERTASK-BUSINESS-PROFILE-2A DESKTOP PARITY: Figma's sidebar modules
   use p-6 (24px), distinct from the main column's p-7 (28px) cards. */
.apt-bpd-sidebar .apt-bpd-card {
	padding: 24px;
}

/* Tabs — real same-page scroll-nav (see class docblock at the tabs markup
   for why: the approved Figma reference itself keeps every section
   visible at once and never uses these to hide anything). Qualified with
   3 classes throughout: a plain single-class rule loses a specificity
   fight against the real page's body.apt-profile-v2-preview .apt-bpd-wrap
   a link-color reset (2 classes + 2 types) -- same fix already applied to
   .apt-bpd-similar__viewmore. */
.apt-bpd-tabs {
	margin-top: 8px;
	display: flex;
	gap: 32px;
	border-bottom: 1px solid var(--apt-bpd-border);
	overflow-x: auto;
}

.apt-bpd-wrap .apt-bpd-tabs .apt-bpd-tab {
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	padding: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: var(--apt-bpd-muted);
	white-space: nowrap;
}

.apt-bpd-wrap .apt-bpd-tabs .apt-bpd-tab:hover {
	color: var(--apt-bpd-text);
}

.apt-bpd-wrap .apt-bpd-tabs .apt-bpd-tab.is-active {
	color: var(--apt-bpd-navy);
	border-bottom-color: var(--apt-bpd-green);
}

/* Clears the fixed sticky bar (see .apt-bpd-sticky) when a tab/verification
   link scrolls one of these into view. */
.apt-bpd-panel,
#apt-bpd-safety,
#apt-bpd-booking {
	scroll-margin-top: 76px;
}

.apt-bpd-about p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #475569;
}

.apt-bpd-about__capabilities {
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 32px;
}

.apt-bpd-about__capability {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	color: var(--apt-bpd-text);
}

.apt-bpd-about__capability svg {
	flex-shrink: 0;
	margin-top: 2px;
}

.apt-bpd-empty {
	margin: 0;
	color: var(--apt-bpd-muted);
	font-style: italic;
}

.apt-bpd-facts {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.apt-bpd-facts__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--apt-bpd-border);
}

.apt-bpd-facts__row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.apt-bpd-facts__row dt {
	color: var(--apt-bpd-muted);
	font-weight: 400;
}

.apt-bpd-facts__row dd {
	margin: 0;
	text-align: right;
	font-weight: 600;
	color: var(--apt-bpd-text);
}

/* Services */
.apt-bpd-services__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.apt-bpd-services__sub {
	margin: 0;
	font-size: 13px;
	color: var(--apt-bpd-muted);
}

.apt-bpd-services__sub a {
	color: var(--apt-bpd-blue);
	font-weight: 600;
	text-decoration: underline;
}

.apt-bpd-services__grid {
	display: grid;
	/* Fallback only -- render_fragment() always adds a real-count-aware
	   apt-bpd-services__grid--cols-N modifier below, which wins by source
	   order. This auto-fit rule only applies if that modifier is somehow
	   missing (e.g. a stale cached fragment). auto-fit (not auto-fill) so an
	   unpopulated trailing track at least collapses instead of showing an
	   empty box. */
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	justify-content: start;
}

/* ASKPERTASK-BUSINESS-PROFILE-2A DESKTOP PARITY: sized to what N real
   cards need at their natural max-width, same reasoning as before, now
   capped at 3 columns (Figma's sm:grid-cols-3) instead of 4. */
.apt-bpd-services__grid--cols-1 {
	grid-template-columns: 1fr;
	max-width: 280px;
}

.apt-bpd-services__grid--cols-2 {
	grid-template-columns: repeat(2, 1fr);
	max-width: 576px;
}

.apt-bpd-services__grid--cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

/* ASKPERTASK-BUSINESS-PROFILE-2A DESKTOP PARITY: compact icon/photo-badge
   card matching the approved Figma exactly (p-4 padding throughout, no
   separate full-width image block) — replaces the previous larger
   photo-header card treatment. */
.apt-bpd-service-card {
	background: var(--apt-bpd-white);
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-md);
	padding: 16px;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.apt-bpd-service-card:hover {
	box-shadow: var(--apt-bpd-shadow);
	border-color: #A7F3D0;
}

.apt-bpd-service-card__badge {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	overflow: hidden;
}

.apt-bpd-service-card__badge--real img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.apt-bpd-service-card__badge--placeholder {
	background: #ECFDF3;
	color: var(--apt-bpd-green);
}

.apt-bpd-service-card h3 {
	margin: 12px 0 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--apt-bpd-navy);
}

.apt-bpd-service-card__price {
	margin-top: 2px;
	font-weight: 600;
	font-size: 14px;
	color: var(--apt-bpd-green);
}

.apt-bpd-service-card p {
	margin: 4px 0 0;
	font-size: 12.5px;
	color: var(--apt-bpd-muted);
	line-height: 1.4;
}

/* ASKPERTASK-BUSINESS-PROFILE-2A REBUILD: individually-bordered review
   cards in a 2-column grid — matches the approved Figma exactly, replaces
   the previous single-list-with-dividers treatment. */
.apt-bpd-reviews__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.apt-bpd-review {
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-md);
	padding: 20px;
}

.apt-bpd-review__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.apt-bpd-review__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--apt-bpd-blue-light);
	color: var(--apt-bpd-blue-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	flex-shrink: 0;
}

.apt-bpd-review__name {
	font-weight: 600;
	color: var(--apt-bpd-text);
}

.apt-bpd-review__ratingrow {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
}

.apt-bpd-review__ratingnum {
	font-size: 12px;
	font-weight: 600;
	color: var(--apt-bpd-muted);
}

.apt-bpd-review p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--apt-bpd-text);
}

.apt-bpd-review__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--apt-bpd-border);
	font-size: 12px;
	color: var(--apt-bpd-muted);
}

.apt-bpd-review__context {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	color: var(--apt-bpd-text);
}

.apt-bpd-review__context svg {
	color: var(--apt-bpd-green);
	flex-shrink: 0;
}

/* ASKPERTASK-BUSINESS-PROFILE-2A REBUILD: 5-across portfolio grid with a
   dedicated navy "View all" tile as the 5th item — matches the approved
   Figma exactly, replaces the previous 4/8-photo grid with an overlay
   badge on the last real tile. */
.apt-bpd-gallery__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.apt-bpd-gallery__viewall {
	aspect-ratio: 1 / 1;
	border-radius: var(--apt-bpd-radius-sm);
	background: var(--apt-bpd-navy);
	color: var(--apt-bpd-white);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.apt-bpd-gallery__viewall-count {
	font-size: 22px;
	font-weight: 800;
}

.apt-bpd-gallery__viewall-label {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
}

.apt-bpd-gallery__tile {
	border-radius: var(--apt-bpd-radius-sm);
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}

.apt-bpd-gallery__tile--real img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ASKPERTASK-BUSINESS-PROFILE-2A: sidebar module headings — smaller and
   without the main column's left-accent bar (.apt-bpd-card h2), matching
   the approved Figma's lighter-weight sidebar module titles. */
.apt-bpd-card h3 {
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 14px;
}

/* Booking module */
.apt-bpd-booking__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.apt-bpd-booking__head h3 {
	margin-bottom: 0;
}

.apt-bpd-booking__headicon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border-radius: 8px;
	background: #ECFDF3;
	color: var(--apt-bpd-green);
}

.apt-bpd-booking label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--apt-bpd-muted);
	margin-bottom: 6px;
}

.apt-bpd-booking select {
	width: 100%;
	appearance: none;
	background: var(--apt-bpd-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%236B7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-sm);
	padding: 10px 32px 10px 12px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--apt-bpd-text);
	margin-bottom: 14px;
}

.apt-bpd-booking__cta {
	width: 100%;
	margin-top: 4px;
}

.apt-bpd-booking__cta.is-disabled {
	cursor: not-allowed;
	background: var(--apt-bpd-bg);
	color: var(--apt-bpd-muted-light);
	border: 1px solid var(--apt-bpd-border);
}

.apt-bpd-booking__datehead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.apt-bpd-booking__datehead span {
	font-size: 12px;
	font-weight: 600;
	color: var(--apt-bpd-muted);
}

.apt-bpd-booking__datenav {
	display: flex;
	gap: 4px;
}

.apt-bpd-booking__navbtn {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	border: 0;
	background: none;
	color: var(--apt-bpd-muted);
}

.apt-bpd-booking__navbtn:hover:not(:disabled) {
	background: var(--apt-bpd-bg);
	color: var(--apt-bpd-text);
}

.apt-bpd-booking__navbtn:disabled {
	opacity: 0.3;
}

.apt-bpd-booking__dates {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-bottom: 16px;
}

.apt-bpd-booking__datebtn {
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-sm);
	background: var(--apt-bpd-white);
	padding: 8px 4px;
	text-align: center;
}

.apt-bpd-booking__datebtn:hover {
	border-color: #A7F3D0;
}

.apt-bpd-booking__datebtn.is-active {
	border-color: var(--apt-bpd-green);
	background: #EAF8EF;
}

.apt-bpd-booking__datebtn.is-active .apt-bpd-booking__date-dow,
.apt-bpd-booking__datebtn.is-active .apt-bpd-booking__date-day {
	color: var(--apt-bpd-green);
}

.apt-bpd-booking__date-dow {
	display: block;
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--apt-bpd-text);
}

.apt-bpd-booking__date-day {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--apt-bpd-text);
}

.apt-bpd-booking__date-mon {
	display: block;
	font-size: 10px;
	color: var(--apt-bpd-muted-light);
}

.apt-bpd-booking__slots {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 14px;
	min-height: 32px;
}

.apt-bpd-booking__bucket-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--apt-bpd-muted);
	margin-bottom: 6px;
}

.apt-bpd-booking__slotgrid {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.apt-bpd-booking__slotbtn {
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-sm);
	background: var(--apt-bpd-white);
	padding: 6px 10px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--apt-bpd-text);
	white-space: nowrap;
}

.apt-bpd-booking__slotbtn:hover {
	border-color: #A7F3D0;
	background: #F0FDF4;
}

.apt-bpd-booking__slotbtn.is-selected {
	border-color: transparent;
	background: var(--apt-bpd-green);
	color: var(--apt-bpd-white);
}

.apt-bpd-booking__moretimes {
	align-self: flex-start;
	font-size: 13px;
	font-weight: 700;
	color: var(--apt-bpd-green);
}

/* Trust & Safety sidebar card — same real trust_items as the hero strip,
   stacked vertically to match the sidebar module's narrower column. */
.apt-bpd-safety__items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
}

/* Similar Professionals */
.apt-bpd-similar {
	margin-top: 16px;
	border-top: 1px solid var(--apt-bpd-border);
	padding-top: 32px;
}

.apt-bpd-similar__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.apt-bpd-similar__head h2 {
	font-size: 19px;
	font-weight: 800;
}

/* Specificity note: the real vendor page's link-color reset
   (body.apt-profile-v2-preview .apt-bpd-wrap a, in apt-business-profile-
   v2-route.css) is 2 classes + 2 types, which beats a plain single-class
   rule here. Qualifying with .apt-bpd-wrap .apt-bpd-similar (3 classes)
   outranks it on both the real page and the standalone demo page, same
   pattern already used for the real hero actions further up this file. */
.apt-bpd-wrap .apt-bpd-similar .apt-bpd-similar__viewmore {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--apt-bpd-green);
	white-space: nowrap;
}

.apt-bpd-wrap .apt-bpd-similar .apt-bpd-similar__viewmore:hover {
	color: var(--apt-bpd-green-dark);
}

.apt-bpd-similar__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.apt-bpd-similar-card {
	display: flex;
	flex-direction: column;
	background: var(--apt-bpd-white);
	border: 1px solid var(--apt-bpd-border);
	border-radius: var(--apt-bpd-radius-md);
	overflow: hidden;
	box-shadow: var(--apt-bpd-shadow-sm);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.apt-bpd-similar-card:hover {
	box-shadow: var(--apt-bpd-shadow);
	transform: translateY(-1px);
}

.apt-bpd-similar-card__media {
	height: 128px;
	background: linear-gradient(135deg, var(--apt-bpd-blue-light), #fff);
	display: flex;
	align-items: center;
	justify-content: center;
}

.apt-bpd-similar-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.apt-bpd-similar-card__initials {
	font-weight: 800;
	font-size: 20px;
	color: var(--apt-bpd-blue-dark);
}

.apt-bpd-similar-card__body {
	padding: 14px 16px 16px;
}

.apt-bpd-similar-card__body h3 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}

.apt-bpd-similar-card__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 2px;
}

.apt-bpd-similar-card__cat {
	margin: 2px 0;
	font-size: 13px;
	color: var(--apt-bpd-muted);
}

.apt-bpd-similar-card__loc {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	font-size: 12.5px;
	color: var(--apt-bpd-muted-light);
}

.apt-bpd-similar-card__viewprofile {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--apt-bpd-green);
}

.apt-bpd-similar-card:hover .apt-bpd-similar-card__viewprofile {
	color: var(--apt-bpd-green-dark);
}

/* Sticky action bar — appears once the hero's own action controls scroll
   out of view (JS toggles .is-visible; see apt-business-profile-v2.js).
   Sits under the global header (top offset matched to the theme header's
   real height at each breakpoint — see the media queries below and
   apt-business-profile-v2-route.css, which is loaded only on the real
   vendor page and does not need its own copy since these rules are
   already unscoped/global like the rest of this stylesheet). */
.apt-bpd-sticky {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 40;
	background: var(--apt-bpd-white);
	border-bottom: 1px solid var(--apt-bpd-border);
	box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.18);
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.apt-bpd-sticky.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.apt-bpd-sticky__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.apt-bpd-sticky__identity {
	min-width: 0;
}

.apt-bpd-sticky__name {
	display: block;
	font-size: 14px;
	font-weight: 800;
	color: var(--apt-bpd-navy);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.apt-bpd-sticky__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--apt-bpd-muted);
}

.apt-bpd-sticky__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Qualified with 3 classes against the real page's own sticky-bar
   link-color reset (body.X .apt-bpd-sticky a = 2 classes + 2 types) --
   same fix pattern as .apt-bpd-btn--primary above. */
.apt-bpd-sticky .apt-bpd-sticky__actions .apt-bpd-sticky__btn {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	padding: 9px 16px;
	border-radius: var(--apt-bpd-radius-sm);
	border: 1px solid var(--apt-bpd-border);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--apt-bpd-text);
}

.apt-bpd-sticky .apt-bpd-sticky__actions .apt-bpd-sticky__btn:hover {
	background: var(--apt-bpd-bg);
}

.apt-bpd-sticky .apt-bpd-sticky__actions .apt-bpd-sticky__btn.apt-bpd-sticky__btn--primary {
	border-color: transparent;
	background: var(--apt-bpd-green);
	color: var(--apt-bpd-white);
}

.apt-bpd-sticky .apt-bpd-sticky__actions .apt-bpd-sticky__btn.apt-bpd-sticky__btn--primary:hover {
	background: var(--apt-bpd-green-dark);
}

.apt-bpd-sticky .apt-bpd-sticky__actions .apt-bpd-sticky__save {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--apt-bpd-radius-sm);
	border: 1px solid var(--apt-bpd-border);
	color: var(--apt-bpd-muted);
	flex-shrink: 0;
}

.apt-bpd-sticky .apt-bpd-sticky__actions .apt-bpd-sticky__save:hover {
	background: var(--apt-bpd-bg);
}

/* Responsive */
@media (max-width: 1024px) {
	.apt-bpd-layout {
		grid-template-columns: 1fr 300px;
		gap: 18px;
	}

	.apt-bpd-similar__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.apt-bpd-layout {
		grid-template-columns: 1fr;
	}

	.apt-bpd-gallery__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.apt-bpd-reviews__list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.apt-bpd-wrap {
		padding: 16px 14px 32px;
		gap: 18px;
	}

	.apt-bpd-hero__body {
		padding: 64px 18px 20px;
	}

	.apt-bpd-hero__avatar {
		left: 18px;
		width: 84px;
		height: 84px;
		top: -44px;
		font-size: 24px;
	}

	.apt-bpd-hero__cover {
		height: 96px;
	}

	.apt-bpd-hero__row {
		flex-direction: column;
	}

	.apt-bpd-hero__actionscard {
		width: 100%;
	}

	.apt-bpd-hero__links {
		justify-content: center;
	}

	.apt-bpd-card {
		padding: 18px;
	}

	.apt-bpd-services__grid {
		grid-template-columns: 1fr;
	}

	.apt-bpd-service-card {
		max-width: none;
	}

	.apt-bpd-demo-banner__switch {
		margin-left: 0;
	}

	.apt-bpd-hero__verification {
		justify-content: flex-start;
	}

	.apt-bpd-reviews__list {
		grid-template-columns: 1fr;
	}

	.apt-bpd-similar__grid {
		grid-template-columns: 1fr;
	}

	.apt-bpd-gallery__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.apt-bpd-sticky__name {
		max-width: 40vw;
	}

	.apt-bpd-sticky__rating {
		display: none;
	}

	.apt-bpd-sticky .apt-bpd-sticky__actions .apt-bpd-sticky__btn {
		padding: 8px 10px;
		font-size: 12.5px;
	}
}
