/* ==========================================================================
   BloomAtHome — page-bloom-at-home.php, its booking modal, and the
   homepage teaser section (front-page.php). Built on the shared Bloomazz
   tokens (main.css) rather than a new palette — this page reuses the same
   dashed-stitch / swing-tag vocabulary the rest of the site already uses
   for garments, applied here to a "visit card" motif so BloomAtHome reads
   as an appointment with a stylist rather than a generic delivery form.
   ========================================================================== */

/* ----- Hero ------------------------------------------------------------- */
.bz-bah-hero {
	background: var(--bz-linen);
	padding: 5rem 0;
	overflow: hidden;
}
.bz-bah-hero-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: 3rem;
}
.bz-bah-hero-copy h1 {
	font-size: clamp(2.4rem, 4.2vw, 3.4rem);
	font-style: italic;
	margin: 0.1em 0 0.45em;
}
.bz-bah-hero-lede {
	max-width: 46ch;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--bz-ink);
	opacity: 0.82;
	margin: 0 0 1.75rem;
}
.bz-bah-cta {
	cursor: pointer;
}
.bz-bah-hero-note {
	margin: 1rem 0 0;
	font-size: 0.82rem;
	color: var(--bz-lavender-deep);
	font-weight: 600;
}

/* The "visit card" — a ticket-stub mockup foreshadowing the booking modal's
   own date/slot step. Cut-outs are circles the same color as the hero's
   background, punched into the card's dashed edge like a real stub. */
.bz-bah-hero-card {
	position: relative;
	display: flex;
	justify-content: center;
}
.bz-bah-card-stub {
	position: relative;
	background: var(--bz-white);
	border: 1.5px dashed var(--bz-lavender);
	border-radius: var(--bz-radius);
	padding: 2rem 2.25rem;
	max-width: 300px;
	transform: rotate(-3deg);
	box-shadow: 0 22px 46px rgba(33, 31, 46, 0.14);
}
.bz-bah-card-eyebrow {
	display: block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bz-champagne);
	margin-bottom: 0.85em;
}
.bz-bah-card-line {
	margin: 0 0 0.5em;
	font-size: 0.95rem;
}
.bz-bah-card-line strong {
	font-family: var(--bz-font-display);
	font-size: 1.05em;
}
.bz-bah-card-notch {
	position: absolute;
	left: -12px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--bz-linen);
	border: 1.5px dashed var(--bz-lavender);
}
.bz-bah-card-notch--top {
	top: -12px;
}
.bz-bah-card-notch--bottom {
	bottom: -12px;
}
.bz-bah-card-mark {
	position: absolute;
	bottom: -1.5rem;
	right: 1.5rem;
	color: var(--bz-champagne);
	opacity: 0.5;
	transform: rotate(8deg);
}

/* ----- How it works ------------------------------------------------------ */
.bz-bah-itinerary {
	padding: 5rem 0 4.5rem;
}
.bz-bah-itinerary-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	counter-reset: none;
}
.bz-bah-itinerary-item {
	text-align: center;
	padding: 0 1rem;
}
.bz-bah-itinerary-num {
	display: block;
	font-family: var(--bz-font-display);
	font-size: 1.1rem;
	font-style: italic;
	color: var(--bz-champagne);
	margin-bottom: 0.6rem;
}
.bz-bah-itinerary-item h3 {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}
.bz-bah-itinerary-item p {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--bz-ink);
	opacity: 0.78;
	margin: 0;
}

/* ----- Service area banner ------------------------------------------------ */
.bz-bah-area {
	background: var(--bz-champagne);
	padding: 3.25rem 0;
}
.bz-bah-area-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.bz-bah-area-inner h2 {
	color: var(--bz-ink);
	font-size: clamp(1.4rem, 2vw, 1.9rem);
	margin: 0.15em 0;
}
.bz-bah-area-inner p {
	margin: 0;
	max-width: 46ch;
	color: var(--bz-ink);
	opacity: 0.85;
}
.bz-bah-area .bz-eyebrow {
	color: var(--bz-ink);
	opacity: 0.7;
}

/* ----- Homepage teaser ----------------------------------------------------- */
.bz-bah-teaser {
	background: var(--bz-ink);
	color: var(--bz-white);
	padding: 4.5rem 0;
}
.bz-bah-teaser-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 2.5rem;
}
.bz-bah-teaser .bz-eyebrow {
	color: var(--bz-champagne);
}
.bz-bah-teaser h2 {
	color: var(--bz-white);
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	font-style: italic;
	margin: 0.15em 0 0.5em;
}
.bz-bah-teaser p {
	margin: 0;
	max-width: 50ch;
	opacity: 0.82;
	line-height: 1.6;
}
.bz-bah-teaser-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}
.bz-bah-teaser-note {
	font-size: 0.78rem;
	opacity: 0.65;
}

/* ==========================================================================
   Booking modal
   ========================================================================== */
.bz-bah-modal-panel {
	max-width: 760px;
	padding: 2.25rem 2.5rem 2.5rem;
}
.bz-bah-modal-head {
	margin-bottom: 1.25rem;
}
.bz-bah-modal-head h3 {
	margin: 0.2rem 0 1.1rem;
}

.bz-bah-steps {
	list-style: none;
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--bz-border);
}
.bz-bah-step-dot {
	flex: 1;
	text-align: center;
	padding: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b7b3c9;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.bz-bah-step-dot.is-active {
	color: var(--bz-ink);
	border-bottom-color: var(--bz-champagne);
}

.bz-bah-message {
	min-height: 1.2em;
	margin: 1rem 0 0;
	font-size: 0.85rem;
	color: var(--bz-lavender-deep);
}
.bz-bah-message.is-error {
	color: var(--bz-blush);
}

.bz-bah-step {
	padding-top: 1.25rem;
}
.bz-bah-step-intro {
	margin: 0 0 1.1rem;
	font-size: 0.9rem;
	opacity: 0.75;
}

/* Step 1 — product grid */
.bz-bah-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	max-height: 340px;
	overflow-y: auto;
	padding-right: 0.25rem;
}
.bz-bah-product-tile {
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.bz-bah-product-media {
	aspect-ratio: 4 / 5;
	background: var(--bz-linen);
}
.bz-bah-product-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bz-bah-product-media-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--bz-linen), var(--bz-lavender-light, var(--bz-lavender)));
	opacity: 0.35;
}
.bz-bah-product-body {
	padding: 0.7rem 0.75rem 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
}
.bz-bah-product-name {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.3;
}
.bz-bah-product-price {
	margin: 0;
	font-size: 0.8rem;
	opacity: 0.7;
}
.bz-bah-product-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.15rem 0;
}
.bz-bah-size-chip {
	border: 1px solid var(--bz-border);
	background: var(--bz-white);
	border-radius: var(--bz-radius);
	padding: 0.25em 0.6em;
	font-size: 0.72rem;
	font-weight: 600;
	cursor: pointer;
}
.bz-bah-size-chip.is-active {
	background: var(--bz-ink);
	border-color: var(--bz-ink);
	color: var(--bz-white);
}
.bz-bah-add-btn {
	margin-top: auto;
	padding: 0.55em 0.8em;
	font-size: 0.7rem;
	width: 100%;
}
.bz-bah-add-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.bz-bah-visit-list {
	margin-top: 1.25rem;
	padding-top: 1.1rem;
	border-top: 1px dashed var(--bz-border);
}
.bz-bah-visit-list-label {
	margin: 0 0 0.6rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bz-lavender-deep);
}
.bz-bah-visit-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.bz-bah-visit-list-empty {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.6;
}
.bz-bah-visit-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	background: var(--bz-linen);
	border-radius: 999px;
	padding: 0.4em 0.5em 0.4em 0.9em;
	font-size: 0.78rem;
}
.bz-bah-visit-chip button {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bz-white);
	line-height: 1;
	font-size: 0.9rem;
	cursor: pointer;
}

/* Step 2 — address */
.bz-bah-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.bz-bah-field {
	display: block;
	margin-bottom: 1rem;
}
.bz-bah-field span {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	margin-bottom: 0.35em;
	color: var(--bz-ink);
}
.bz-bah-field input,
.bz-bah-field textarea {
	width: 100%;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	padding: 0.7em 0.85em;
	font-family: inherit;
	font-size: 0.9rem;
	background: var(--bz-white);
}
.bz-bah-field--pincode {
	max-width: 200px;
}
.bz-bah-pincode-message {
	margin: -0.4rem 0 1rem;
	font-size: 0.8rem;
	min-height: 1.1em;
}
.bz-bah-pincode-message.is-ok {
	color: var(--bz-lavender-deep);
}
.bz-bah-pincode-message.is-error {
	color: var(--bz-blush);
}

/* Step 3 — date & slot */
.bz-bah-date-strip {
	display: flex;
	gap: 0.6rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	scrollbar-width: none;
}
.bz-bah-date-strip::-webkit-scrollbar {
	display: none;
}
.bz-bah-date-chip {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	min-width: 64px;
	border: 1.5px dashed var(--bz-border);
	border-radius: var(--bz-radius);
	padding: 0.6em 0.5em;
	background: var(--bz-white);
	cursor: pointer;
}
.bz-bah-date-chip-day {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.65;
}
.bz-bah-date-chip-date {
	font-family: var(--bz-font-display);
	font-size: 1rem;
}
.bz-bah-date-chip.is-active {
	background: var(--bz-ink);
	border-color: var(--bz-ink);
	border-style: solid;
	color: var(--bz-white);
}
.bz-bah-date-chip.is-active .bz-bah-date-chip-day {
	opacity: 0.75;
}

.bz-bah-slot-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.1rem;
	min-height: 2.4rem;
}
.bz-bah-slot-empty {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.6;
}
.bz-bah-slot-chip {
	border: 1px solid var(--bz-border);
	border-radius: 999px;
	padding: 0.5em 1.1em;
	font-size: 0.8rem;
	background: var(--bz-white);
	cursor: pointer;
}
.bz-bah-slot-chip.is-active {
	background: var(--bz-champagne);
	border-color: var(--bz-champagne);
	color: var(--bz-ink);
	font-weight: 600;
}

.bz-bah-summary {
	margin-top: 1.5rem;
	background: var(--bz-linen);
	border-radius: var(--bz-radius);
	padding: 1rem 1.2rem;
}
.bz-bah-summary p {
	margin: 0;
	font-size: 0.88rem;
}
.bz-bah-summary-token {
	margin-top: 0.4rem !important;
	font-weight: 600;
	color: var(--bz-lavender-deep);
}

.bz-bah-step-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--bz-border);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.bz-bah-hero-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.bz-bah-hero-lede {
		margin-left: auto;
		margin-right: auto;
	}
	.bz-bah-hero-card {
		margin-top: 1rem;
	}
	.bz-bah-itinerary-list {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.bz-bah-teaser-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.bz-bah-teaser-actions {
		align-items: center;
	}
	.bz-bah-teaser p {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 780px) {
	.bz-bah-area-inner {
		flex-direction: column;
		text-align: center;
	}
	.bz-bah-modal-panel {
		padding: 1.75rem 1.25rem 2rem;
	}
	.bz-bah-product-grid {
		grid-template-columns: repeat(2, 1fr);
		max-height: 300px;
	}
	.bz-bah-field-row {
		grid-template-columns: 1fr;
	}
	.bz-bah-step-dot span {
		display: none;
	}
	.bz-bah-step-dot::before {
		content: attr(data-bz-bah-step-dot);
	}
}

@media (max-width: 480px) {
	.bz-bah-product-grid {
		grid-template-columns: 1fr 1fr;
	}
	.bz-bah-step-actions {
		flex-direction: column-reverse;
		gap: 0.75rem;
		align-items: stretch;
	}
	.bz-bah-step-actions .bz-btn {
		width: 100%;
	}
}
