/* Bloom Delivery Finder — Bloom theme (Porto primary gold) */
.bloom-df-page {
	--bloom-df-bg: #f7f7f6;
	--bloom-df-ink: #222222;
	--bloom-df-muted: #6b6b6b;
	--bloom-df-placeholder: #cfc8bf;
	--bloom-df-accent: var(--porto-primary-color, #d4af7f);
	--bloom-df-accent-dark: #b4892f;
	--bloom-df-accent-soft: #f6f3ee;
	--bloom-df-card: #ffffff;
	--bloom-df-line: #e8e5df;
	--bloom-df-danger: #9a3412;
	font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
	color: var(--bloom-df-ink);
	background: #f7f7f6;
	min-height: 100vh;
	padding: 1.1rem 1rem 2rem;
	box-sizing: border-box;
	font-size: 15px;
	line-height: 1.45;
}

/* Inside Porto theme shell: let the site header/footer own the page chrome. */
body.bloom-df-theme-page .bloom-df-page {
	min-height: 0;
	background: transparent;
	padding: 1.25rem 0 2.25rem;
}

body.bloom-df-theme-page .bloom-df-wrap {
	max-width: 100%;
	margin: 0;
}

body.bloom-df-theme-page .bloom-df-theme-content {
	width: 100%;
}

body.bloom-df-theme-page #main.no-breadcrumbs {
	padding-top: 0.75rem;
}

/* Virtual route inherits Blog's 100%-wide container; match the PDP's 1700px cap. */
body.bloom-df-theme-page #main > .container {
	width: 100%;
	max-width: 1700px;
	margin-right: auto;
	margin-left: auto;
}

.bloom-df-page *,
.bloom-df-page *::before,
.bloom-df-page *::after {
	box-sizing: border-box;
}

.bloom-df-wrap {
	max-width: 1700px;
	margin: 0 auto;
}

.bloom-df-badge {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--bloom-df-accent-dark);
	background: var(--bloom-df-accent-soft);
	padding: 0.28rem 0.55rem;
	border-radius: 4px;
	margin-bottom: 0.65rem;
}

.bloom-df-page h1 {
	font-size: 1.4rem;
	line-height: 1.28;
	margin: 0 0 0.45rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.bloom-df-page-sub {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--bloom-df-ink);
	max-width: none;
}

.bloom-df-lead {
	margin: 0 0 0.55rem;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--bloom-df-muted);
	max-width: none;
}

.bloom-df-reassure {
	list-style: none;
	margin: 0 0 1.15rem;
	padding: 0.7rem 0.85rem;
	background: var(--bloom-df-accent-soft);
	border: 1px solid var(--bloom-df-line);
	border-radius: 10px;
	max-width: none;
}

.bloom-df-reassure li {
	margin: 0;
	padding: 0.22rem 0;
	font-size: 0.84rem;
	line-height: 1.4;
	color: var(--bloom-df-ink);
}

.bloom-df-reassure li + li {
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header express CTA (left of search) */
.bloom-df-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	align-self: center;
	gap: 0.4rem;
	margin-right: 0.65rem;
	padding: 0.28rem 0.7rem 0.28rem 0.55rem;
	min-height: 32px;
	max-width: 15.5rem;
	border-radius: 7px;
	background: var(--porto-primary-color, #d4af7f);
	color: #fff !important;
	text-decoration: none !important;
	line-height: 1.15;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	vertical-align: middle;
	box-sizing: border-box;
}

.bloom-df-header-cta:hover,
.bloom-df-header-cta:focus-visible {
	background: #b4892f;
	color: #fff !important;
	outline: none;
}

.bloom-df-header-cta-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.bloom-df-header-cta-icon svg {
	display: block;
	width: 14px;
	height: 14px;
}

.bloom-df-header-cta-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	gap: 0.08rem;
}

.bloom-df-header-cta-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.bloom-df-header-cta-sub {
	font-size: 0.68rem;
	font-weight: 500;
	opacity: 0.92;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.bloom-df-menu-check-availability > a {
	font-weight: 700 !important;
	color: var(--porto-primary-color, #d4af7f) !important;
}

@media (max-width: 991px) {
	.bloom-df-header-cta-sub {
		display: none;
	}

	.bloom-df-header-cta {
		max-width: none;
		padding: 0.32rem 0.65rem;
	}
}

@media (max-width: 768px) {
	.bloom-df-header-cta-fallback {
		position: fixed;
		left: 12px;
		bottom: max(5.5rem, env(safe-area-inset-bottom, 0px));
		z-index: 9998;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	}

	.bloom-df-header-cta-fallback .bloom-df-header-cta-sub {
		display: none;
	}
}

.bloom-df-step {
	display: block;
	margin-bottom: 1.15rem;
}

.bloom-df-step[hidden] {
	display: none !important;
}

.bloom-df-step-head {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.55rem;
}

.bloom-df-step-badge {
	flex: 0 0 auto;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bloom-df-accent);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.bloom-df-step-index {
	display: block;
}

.bloom-df-step-copy {
	min-width: 0;
	padding-top: 0.1rem;
}

.bloom-df-step-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--bloom-df-ink);
	letter-spacing: -0.01em;
}

.bloom-df-step-sub {
	margin: 0.15rem 0 0;
	font-size: 0.82rem;
	line-height: 1.4;
	color: var(--bloom-df-muted);
}

.bloom-df-step-body {
	min-width: 0;
}

.bloom-df-step-body > .bloom-df-panel,
.bloom-df-step-body > .bloom-df-locked {
	margin-bottom: 0;
}

.bloom-df-step-results .bloom-df-status {
	margin-top: 0;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bloom-df-mode-panel {
	padding-bottom: 0.95rem;
}

.bloom-df-store-note {
	margin-top: 0.85rem;
	padding: 0.7rem 0.8rem;
	background: var(--bloom-df-accent-soft);
	border: 1px solid var(--bloom-df-line);
	border-radius: 10px;
}

.bloom-df-store-note[hidden] {
	display: none !important;
}

.bloom-df-store-note-label {
	margin: 0 0 0.2rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bloom-df-accent-dark);
}

.bloom-df-store-address {
	margin: 0;
	color: var(--bloom-df-ink);
	font-size: 0.86rem;
	line-height: 1.45;
	font-weight: 400;
}

.bloom-df-store-map {
	display: inline;
	margin-left: 0.35rem;
	color: var(--bloom-df-accent-dark);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bloom-df-store-map:hover,
.bloom-df-store-map:focus-visible {
	color: var(--bloom-df-ink);
}

.bloom-df-page[data-fulfilment="pickup"] #bloom-df-step-location,
.bloom-df-page[data-fulfilment="pickup"] #bloom-df-where-panel,
.bloom-df-page[data-fulfilment="pickup"] #bloom-df-locked {
	display: none !important;
}

.bloom-df-mode-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.4rem;
	margin-top: 0.15rem;
}

.bloom-df-mode-btn {
	appearance: none;
	border: 1px solid var(--bloom-df-line);
	background: #fff;
	color: var(--bloom-df-ink);
	border-radius: 8px;
	padding: 0.62rem 0.7rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.3;
}

.bloom-df-mode-btn.is-active {
	background: var(--bloom-df-accent);
	border-color: var(--bloom-df-accent);
	color: #fff;
}

.bloom-df-mode-btn:focus-visible {
	outline: 2px solid var(--bloom-df-accent);
	outline-offset: 1px;
}

.bloom-df-page[data-fulfilment="pickup"] #bloom-df-where-panel,
.bloom-df-page[data-fulfilment="pickup"] #bloom-df-locked {
	display: none !important;
}

.bloom-df-panel {
	background: var(--bloom-df-card);
	border: 1px solid var(--bloom-df-line);
	border-radius: 12px;
	padding: 0.95rem 1rem;
	margin-bottom: 0.85rem;
}

.bloom-df-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
	color: #444;
}

.bloom-df-input,
.bloom-df-select,
.bloom-df-date-trigger {
	width: 100%;
	padding: 0.62rem 0.7rem;
	border: 1px solid var(--bloom-df-line);
	border-radius: 8px;
	font-size: 0.92rem;
	background: #fff;
	color: var(--bloom-df-ink);
}

.bloom-df-input::placeholder,
.bloom-df-select::placeholder {
	color: var(--bloom-df-placeholder);
	opacity: 1;
}

.bloom-df-input:focus,
.bloom-df-select:focus,
.bloom-df-date-trigger:focus-visible {
	outline: 2px solid var(--bloom-df-accent);
	outline-offset: 1px;
	border-color: var(--bloom-df-accent);
}

.bloom-df-input.bloom-df-field-invalid,
.bloom-df-date-trigger.bloom-df-field-invalid {
	border-color: #dc3545;
	outline: 2px solid rgba(220, 53, 69, 0.45);
	outline-offset: 1px;
}

.bloom-df-field-flash {
	animation: bloom-df-field-flash 0.55s ease-out;
}

@keyframes bloom-df-field-flash {
	0% {
		box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
	}
	40% {
		box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.35);
	}
	100% {
		box-shadow: 0 0 0 14px rgba(220, 53, 69, 0);
	}
}

.bloom-df-field-alert {
	display: block;
	color: #dc3545;
	font-size: 0.72rem;
	font-weight: 600;
	margin-top: 0.35rem;
	animation: bloom-df-field-blink 1s step-start infinite;
}

@keyframes bloom-df-field-blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bloom-df-field-flash,
	.bloom-df-field-alert {
		animation: none !important;
	}
}

.bloom-df-date-wrap {
	position: relative;
}

.bloom-df-date-trigger {
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	cursor: pointer;
	text-align: left;
	font: inherit;
}

.bloom-df-date-wrap.is-open .bloom-df-date-trigger {
	border-color: var(--bloom-df-accent);
	outline: 2px solid var(--bloom-df-accent);
	outline-offset: 1px;
}

.bloom-df-date-display {
	flex: 1;
	min-width: 0;
	font-weight: 600;
}

.bloom-df-date-display.is-placeholder {
	color: var(--bloom-df-placeholder);
	font-weight: 400;
}

.bloom-df-date-icon {
	width: 1.05rem;
	height: 1.05rem;
	flex: 0 0 auto;
	border: 1.5px solid var(--bloom-df-accent-dark);
	border-radius: 4px;
	position: relative;
	opacity: 0.85;
}

.bloom-df-date-icon::before {
	content: '';
	position: absolute;
	left: 2px;
	right: 2px;
	top: 3px;
	height: 1.5px;
	background: var(--bloom-df-accent-dark);
	border-radius: 1px;
}

.bloom-df-datepicker {
	position: absolute;
	z-index: 40;
	top: calc(100% + 0.4rem);
	left: 0;
	width: min(100%, 19.5rem);
	background: #fff;
	border: 1px solid var(--bloom-df-line);
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(40, 30, 10, 0.14);
	padding: 0.75rem;
}

.bloom-df-datepicker[hidden] {
	display: none !important;
}

.bloom-df-dp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	margin-bottom: 0.55rem;
}

.bloom-df-dp-title {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--bloom-df-ink);
	text-align: center;
	flex: 1 1 auto;
}

.bloom-df-dp-nav {
	appearance: none;
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--bloom-df-line);
	border-radius: 999px;
	background: var(--bloom-df-accent-soft);
	color: var(--bloom-df-ink);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.bloom-df-dp-nav:hover,
.bloom-df-dp-nav:focus-visible {
	border-color: var(--bloom-df-accent);
	outline: 2px solid var(--bloom-df-accent);
	outline-offset: 1px;
}

.bloom-df-dp-dow {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.2rem;
	margin-bottom: 0.25rem;
	text-align: center;
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--bloom-df-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bloom-df-dp-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 0.25rem;
}

.bloom-df-dp-cell.is-empty {
	min-height: 2.05rem;
}

.bloom-df-dp-day {
	appearance: none;
	min-height: 2.05rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--bloom-df-ink);
	font-size: 0.84rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1;
}

.bloom-df-dp-day:hover:not(:disabled),
.bloom-df-dp-day:focus-visible:not(:disabled) {
	background: var(--bloom-df-accent-soft);
	outline: none;
}

.bloom-df-dp-day.is-today:not(.is-selected) {
	box-shadow: inset 0 0 0 1.5px var(--bloom-df-accent);
}

.bloom-df-dp-day.is-selected {
	background: var(--bloom-df-accent);
	color: #fff;
}

.bloom-df-dp-day:disabled {
	color: #c4bdb3;
	cursor: not-allowed;
	opacity: 0.7;
}

.bloom-df-input:disabled,
.bloom-df-select:disabled {
	background: #f3f1ed;
	color: #555;
	cursor: not-allowed;
}

.bloom-df-hint {
	font-size: 0.72rem;
	color: var(--bloom-df-muted);
	margin: 0.3rem 0 0;
	line-height: 1.4;
}

.bloom-df-row {
	display: grid;
	gap: 0.7rem;
	margin-top: 0.75rem;
}

@media (min-width: 560px) {
	.bloom-df-row-2 {
		grid-template-columns: 1.4fr 1fr;
	}
}

.bloom-df-refine {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--bloom-df-line);
}

.bloom-df-refine[hidden] {
	display: none !important;
}

.bloom-df-city-combo-wrap {
	position: relative;
}

.bloom-df-suggest {
	list-style: none;
	margin: 0.4rem 0 0;
	padding: 0;
	border: 1px solid var(--bloom-df-line);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	max-height: 220px;
	overflow-y: auto;
	z-index: 5;
}

.bloom-df-city-options {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 2px);
	margin: 0;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.bloom-df-suggest[hidden] {
	display: none !important;
}

.bloom-df-suggest button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.58rem 0.7rem;
	border: 0;
	border-bottom: 1px solid var(--bloom-df-line);
	background: #fff;
	font-size: 0.86rem;
	cursor: pointer;
	color: var(--bloom-df-ink);
}

.bloom-df-suggest button:last-child {
	border-bottom: 0;
}

.bloom-df-suggest button:hover,
.bloom-df-suggest button:focus,
.bloom-df-suggest button.is-active {
	background: var(--bloom-df-accent-soft);
}

.bloom-df-locked {
	margin: 0 0 0.85rem;
	padding: 0.75rem 0.9rem;
	background: var(--bloom-df-accent-soft);
	border: 1px solid var(--bloom-df-line);
	border-radius: 10px;
	font-size: 0.88rem;
}

.bloom-df-locked strong {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.92rem;
}

.bloom-df-charge {
	color: var(--bloom-df-accent-dark);
	font-weight: 600;
	font-size: 0.84rem;
}

.bloom-df-change {
	margin-top: 0.45rem;
	background: none;
	border: 0;
	color: var(--bloom-df-accent-dark);
	font-weight: 600;
	font-size: 0.82rem;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
}

.bloom-df-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	width: 100%;
	padding: 0.72rem 1rem;
	border: 0;
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
}

.bloom-df-btn-primary {
	background: var(--bloom-df-accent);
	color: #fff;
	margin-top: 0.85rem;
}

.bloom-df-btn-primary:hover {
	background: var(--bloom-df-accent-dark);
	color: #fff;
}

.bloom-df-btn-ghost {
	background: #fff;
	color: var(--bloom-df-ink);
	border: 1px solid var(--bloom-df-line);
}

.bloom-df-status {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--bloom-df-muted);
	margin: 0.35rem 0 0;
	line-height: 1.4;
}

.bloom-df-status:empty {
	display: none;
}

.bloom-df-notice {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: var(--bloom-df-danger);
	border-radius: 10px;
	padding: 0.85rem 0.95rem;
	font-size: 0.88rem;
	line-height: 1.5;
	margin: 0.55rem 0;
}

.bloom-df-notice-lead {
	margin: 0 0 0.55rem;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--bloom-df-danger);
	font-weight: 500;
}

.bloom-df-notice-date {
	font-weight: 700;
	text-decoration: underline;
}

.bloom-df-notice-contact {
	margin: 0.55rem 0 0;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--bloom-df-danger);
}

.bloom-df-notice a {
	color: var(--bloom-df-danger);
	font-weight: 700;
}

.bloom-df-notice-alts {
	margin: 0.55rem 0 0.65rem;
	padding: 0.65rem 0.75rem;
	background: #fff;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: var(--bloom-df-ink);
}

.bloom-df-notice-alts-title {
	margin: 0 0 0.4rem;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--bloom-df-ink);
}

.bloom-df-notice-alt-list {
	margin: 0 0 0.55rem;
	padding-left: 1.2rem;
	font-size: 0.86rem;
	line-height: 1.45;
}

.bloom-df-notice-alt-list li {
	margin: 0.3rem 0;
}

.bloom-df-notice-alts .bloom-df-store-map,
.bloom-df-pickup-alt-store .bloom-df-store-map {
	color: var(--bloom-df-accent-dark);
	font-weight: 600;
}

.bloom-df-notice-alts .bloom-df-store-map:hover,
.bloom-df-notice-alts .bloom-df-store-map:focus-visible,
.bloom-df-pickup-alt-store .bloom-df-store-map:hover,
.bloom-df-pickup-alt-store .bloom-df-store-map:focus-visible {
	color: var(--bloom-df-ink);
}

.bloom-df-pickup-alt-store {
	margin: 0 0 0.55rem;
	color: var(--bloom-df-muted);
	font-size: 0.8rem;
	line-height: 1.45;
}

.bloom-df-pickup-alt-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bloom-df-accent);
	background: var(--bloom-df-accent-soft);
	color: var(--bloom-df-accent-dark);
	border-radius: 8px;
	padding: 0.45rem 0.85rem;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.3;
	min-height: 40px;
}

.bloom-df-pickup-alt-btn:hover,
.bloom-df-pickup-alt-btn:focus-visible {
	background: var(--bloom-df-accent);
	border-color: var(--bloom-df-accent);
	color: #fff;
	outline: none;
}

.bloom-df-help[hidden] {
	display: none !important;
}

.bloom-df-results {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-bottom: 0.25rem;
}

.bloom-df-search-stage {
	position: relative;
	min-height: 0;
}

.bloom-df-search-stage.is-searching {
	min-height: 220px;
}

.bloom-df-searching {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 1.5rem 1rem 2rem;
	background: rgba(247, 247, 246, 0.78);
	backdrop-filter: blur(1px);
	border-radius: 12px;
}

.bloom-df-searching[hidden] {
	display: none !important;
}

.bloom-df-searching-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	text-align: center;
	background: var(--bloom-df-card);
	border: 1px solid var(--bloom-df-line);
	border-radius: 12px;
	padding: 1.15rem 1.35rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	max-width: 360px;
	width: 100%;
}

.bloom-df-searching-spinner {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2.5px solid var(--bloom-df-accent-soft);
	border-top-color: var(--bloom-df-accent);
	animation: bloom-df-spin 0.75s linear infinite;
	margin-bottom: 0.2rem;
}

@keyframes bloom-df-spin {
	to {
		transform: rotate(360deg);
	}
}

.bloom-df-searching-title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--bloom-df-ink);
	line-height: 1.45;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
}

.bloom-df-searching-wave {
	display: inline-block;
	animation: bloom-df-wave-y 1.1s ease-in-out infinite;
}

.bloom-df-searching-line {
	display: block;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--bloom-df-muted);
}

@keyframes bloom-df-wave-y {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-0.28em);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bloom-df-searching-wave {
		animation: none;
	}
}

.bloom-df-browse-layout {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	width: 100%;
	min-width: 0;
}

.bloom-df-browse-main {
	min-width: 0;
	flex: 1 1 auto;
}

.bloom-df-active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.45rem;
	margin: 0 0 0.75rem;
	padding: 0.55rem 0.65rem;
	background: var(--bloom-df-accent-soft);
	border: 1px solid var(--bloom-df-line);
	border-radius: 10px;
}

.bloom-df-active-filters[hidden] {
	display: none !important;
}

.bloom-df-active-filters-label {
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--bloom-df-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-right: 0.15rem;
}

.bloom-df-active-chip {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 1px solid var(--bloom-df-accent);
	background: #fff;
	color: var(--bloom-df-ink);
	border-radius: 999px;
	padding: 0.28rem 0.55rem 0.28rem 0.65rem;
	font-size: 0.78rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.3;
	max-width: 100%;
}

.bloom-df-active-chip:hover,
.bloom-df-active-chip:focus-visible {
	background: var(--bloom-df-accent);
	color: #fff;
	outline: none;
}

.bloom-df-active-chip-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bloom-df-active-chip-x {
	font-size: 1rem;
	line-height: 1;
	opacity: 0.75;
}

.bloom-df-active-clear {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--bloom-df-accent-dark);
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	padding: 0.28rem 0.35rem;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bloom-df-active-clear:hover,
.bloom-df-active-clear:focus-visible {
	outline: none;
	color: var(--bloom-df-ink);
}

.bloom-df-cat-filter {
	margin: 0;
	padding: 0.85rem 0.95rem;
	background: var(--bloom-df-card);
	border: 1px solid var(--bloom-df-line);
	border-radius: 12px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: hidden;
	/* Mobile sheet-style: keep tree compact above the grid. */
	max-height: min(42vh, 22rem);
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.bloom-df-cat-filter[hidden] {
	display: none !important;
}

.bloom-df-cat-filter-label {
	margin: 0 0 0.15rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--bloom-df-ink);
	flex: 0 0 auto;
}

.bloom-df-cat-filter-hint {
	margin: 0 0 0.55rem;
	font-size: 0.74rem;
	color: var(--bloom-df-muted);
	line-height: 1.4;
	flex: 0 0 auto;
}

/* Option 4: sidebar category tree (left on desktop, sheet above products on mobile). */
.bloom-df-cat-chips {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.15rem;
	width: 100%;
	min-height: 0;
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	touch-action: pan-y;
	overscroll-behavior-x: none;
	-webkit-overflow-scrolling: touch;
	/* Room so 1px active borders are not clipped by the scrollport / scrollbar. */
	padding: 2px 6px 2px 2px;
	box-sizing: border-box;
}

.bloom-df-cat-node {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	flex: 0 0 auto;
}

.bloom-df-cat-node.is-expanded > .bloom-df-cat-pill {
	background: var(--bloom-df-accent-soft);
}

.bloom-df-cat-pill {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	box-sizing: border-box;
}

.bloom-df-cat-pill.is-active {
	background: var(--bloom-df-accent-soft);
	border-color: var(--bloom-df-accent);
	color: var(--bloom-df-ink);
}

.bloom-df-cat-chip {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0.48rem 0.55rem;
	min-height: 40px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.3;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
}

.bloom-df-cat-check {
	flex: 0 0 auto;
	width: 1.05rem;
	height: 1.05rem;
	border: 1.5px solid var(--bloom-df-line);
	border-radius: 4px;
	background: #fff;
	box-sizing: border-box;
	position: relative;
	/* Larger tap target around the checkbox */
	box-shadow: 0 0 0 8px transparent;
}

.bloom-df-cat-pill.is-active .bloom-df-cat-check {
	border-color: var(--bloom-df-accent-dark);
	background: var(--bloom-df-accent);
}

.bloom-df-cat-pill.is-active .bloom-df-cat-check::after {
	content: '';
	position: absolute;
	left: 0.28rem;
	top: 0.06rem;
	width: 0.28rem;
	height: 0.55rem;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.bloom-df-cat-pill.has-expand .bloom-df-cat-chip {
	padding-right: 0.25rem;
}

.bloom-df-cat-name {
	min-width: 0;
	flex: 1 1 auto;
}

.bloom-df-cat-count {
	font-weight: 600;
	opacity: 0.7;
	white-space: nowrap;
	flex: 0 0 auto;
	font-size: 0.76rem;
}

.bloom-df-cat-pill.is-active .bloom-df-cat-count {
	opacity: 0.75;
}

.bloom-df-cat-expand {
	appearance: none;
	flex: 0 0 auto;
	border: 0;
	border-left: 1px solid var(--bloom-df-line);
	background: transparent;
	color: inherit;
	padding: 0 0.55rem;
	min-width: 40px;
	min-height: 40px;
	font-size: 0.78rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bloom-df-cat-pill.is-active .bloom-df-cat-expand {
	border-left-color: var(--bloom-df-line);
	background: transparent;
}

.bloom-df-cat-chip:hover,
.bloom-df-cat-expand:hover {
	background: rgba(0, 0, 0, 0.04);
}

.bloom-df-cat-pill.is-active .bloom-df-cat-chip:hover,
.bloom-df-cat-pill.is-active .bloom-df-cat-expand:hover {
	background: rgba(0, 0, 0, 0.04);
}

.bloom-df-cat-chip:focus-visible,
.bloom-df-cat-expand:focus-visible {
	outline: none;
}

.bloom-df-cat-pill:focus-within {
	outline: none;
	border-color: var(--bloom-df-accent);
}

.bloom-df-cat-children {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.1rem;
	width: calc(100% - 0.45rem);
	margin: 0.1rem 0 0.25rem;
	padding: 0 0 0 0.7rem;
	border-left: 2px solid var(--bloom-df-accent);
	margin-left: 0.45rem;
}

.bloom-df-cat-children[hidden] {
	display: none !important;
}

.bloom-df-cat-node.is-child .bloom-df-cat-chip {
	font-size: 0.76rem;
	font-weight: 500;
	min-height: 36px;
	padding: 0.38rem 0.5rem;
}

.bloom-df-cat-node.is-child .bloom-df-cat-expand {
	min-width: 36px;
	min-height: 36px;
}

.bloom-df-cat-node.is-child .bloom-df-cat-name::before {
	content: none;
}

.bloom-df-cat-node.is-child .bloom-df-cat-pill.is-active {
	background: var(--bloom-df-accent-soft);
	border-color: var(--bloom-df-accent);
	color: var(--bloom-df-ink);
}

.bloom-df-cat-node.is-child .bloom-df-cat-pill.is-active .bloom-df-cat-name,
.bloom-df-cat-node.is-child .bloom-df-cat-pill.is-active .bloom-df-cat-count,
.bloom-df-cat-node.is-child .bloom-df-cat-pill.is-active .bloom-df-cat-chip,
.bloom-df-cat-node.is-child .bloom-df-cat-pill.is-active .bloom-df-cat-expand {
	color: inherit;
}

@media (min-width: 900px) {
	.bloom-df-browse-layout.has-cat-filter {
		display: grid;
		grid-template-columns: minmax(200px, 248px) minmax(0, 1fr);
		gap: 1rem;
		align-items: start;
	}

	.bloom-df-cat-filter {
		max-height: calc(100vh - 2rem);
		position: sticky;
		top: 0.75rem;
		align-self: start;
	}
}

@media (max-width: 1100px) {
	.bloom-df-results {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.bloom-df-results {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.85rem;
	}

	.bloom-df-search-stage.is-searching {
		min-height: 180px;
	}
}

.bloom-df-card {
	display: flex;
	flex-direction: column;
	background: var(--bloom-df-card);
	border: 1px solid var(--bloom-df-line);
	border-radius: 12px;
	padding: 0.55rem 0.55rem 0.75rem;
	min-width: 0;
	text-align: center;
}

.bloom-df-card-stage {
	position: relative;
}

.bloom-df-card-track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	gap: 0;
}

.bloom-df-card-track::-webkit-scrollbar {
	display: none;
}

.bloom-df-card-slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	min-width: 100%;
}

.bloom-df-card-slide a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.bloom-df-media {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 10px;
	overflow: hidden;
	background: #f5f5f4;
}

.bloom-df-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bloom-df-card-nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	aspect-ratio: 1;
	pointer-events: none;
	z-index: 2;
}

.bloom-df-card-nav[hidden] {
	display: none !important;
}

.bloom-df-card-nav button {
	pointer-events: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(40, 40, 40, 0.72);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bloom-df-card-nav button[data-dir="-1"] {
	left: 8px;
}

.bloom-df-card-nav button[data-dir="1"] {
	right: 8px;
}

.bloom-df-card-nav button:hover,
.bloom-df-card-nav button:focus-visible {
	background: var(--porto-primary-color, #d4af7f);
	outline: none;
}

.bloom-df-card-nav button:disabled {
	opacity: 0.35;
	cursor: default;
}

.bloom-df-card-body {
	display: block;
	width: 100%;
	padding: 0.45rem 0.2rem 0;
	text-decoration: none;
	color: inherit;
}

.bloom-df-card-body h2 {
	font-size: 0.95rem;
	margin: 0 0 0.35rem;
	line-height: 1.35;
	/* Always reserve 2 title rows so variant/price stay aligned across cards. */
	min-height: calc(1.35em * 2);
	height: calc(1.35em * 2);
	font-weight: 700;
	color: var(--bloom-df-ink);
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bloom-df-card-sku {
	font-weight: 700;
}

.bloom-df-card-sku-sep {
	font-weight: 700;
	opacity: 0.85;
}

.bloom-df-card-variant {
	font-size: 0.78rem;
	font-weight: 400;
	color: var(--bloom-df-muted);
	margin: 0 0 0.35rem;
	line-height: 1.4;
	/* Always occupy row 3 (even when empty) so price lines line up. */
	min-height: calc(1.4em * 1);
	height: calc(1.4em * 1);
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bloom-df-attr-label {
	font-weight: 400;
	color: var(--bloom-df-muted);
}

.bloom-df-attr-val {
	font-weight: 700;
	color: var(--bloom-df-ink);
}

.bloom-df-attr-sep {
	font-weight: 400;
	color: var(--bloom-df-muted);
	opacity: 0.7;
}

.bloom-df-card-price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.75rem;
	margin-top: 0.15rem;
}

.bloom-df-card-price {
	text-align: center;
	flex: 0 1 auto;
}

.bloom-df-card-coverage {
	margin: 0.4rem 0 0;
	padding: 0 0.35rem;
	font-size: 0.68rem;
	line-height: 1.35;
	font-weight: 600;
	color: #c62828;
	text-align: center;
}

.bloom-df-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem 0.45rem;
	font-weight: 700;
	color: var(--bloom-df-ink);
	font-size: 1rem;
	letter-spacing: 0.01em;
	text-decoration: none;
}

.bloom-df-price-was {
	font-size: 0.82rem;
	font-weight: 500;
	color: #9a9a9a;
	text-decoration: line-through;
}

.bloom-df-price-now {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--bloom-df-ink);
	text-decoration: none;
	background: none;
}

.bloom-df-sale-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.18rem 0.55rem;
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 999px;
	background: #e27c7c;
	color: #fff;
	white-space: nowrap;
	vertical-align: middle;
}

.bloom-df-card-dots {
	display: flex;
	justify-content: center;
	gap: 0.28rem;
	margin-top: 0.45rem;
	min-height: 0.5rem;
}

.bloom-df-card-dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d6d0c6;
}

.bloom-df-card-dots span.is-active {
	background: var(--bloom-df-accent-dark);
}

.bloom-df-card-dots[hidden] {
	display: none !important;
}

.bloom-df-help {
	margin-top: 1.15rem;
	padding: 0.85rem 0.2rem 0;
	border-top: 1px solid var(--bloom-df-line);
	text-align: center;
	font-size: 0.86rem;
	color: var(--bloom-df-muted);
	line-height: 1.5;
}

.bloom-df-help a {
	color: var(--bloom-df-accent-dark);
	font-weight: 700;
	text-decoration: underline;
}

.bloom-df-after {
	margin-top: 0.75rem;
	display: grid;
	gap: 0.5rem;
}

.bloom-df-after .bloom-df-btn {
	font-size: 0.88rem;
	padding: 0.68rem 0.9rem;
}

.bloom-df-back-top {
	appearance: none;
	position: fixed;
	right: max(1rem, env(safe-area-inset-right, 0px));
	bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
	z-index: 40;
	margin: 0;
	padding: 0.55rem 0.95rem;
	min-height: 40px;
	border: 1px solid var(--bloom-df-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	color: var(--bloom-df-muted);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.bloom-df-back-top:hover,
.bloom-df-back-top:focus-visible {
	color: var(--bloom-df-ink);
	border-color: var(--bloom-df-accent);
	background: rgba(255, 255, 255, 0.94);
	outline: none;
}

.bloom-df-back-top[hidden] {
	display: none !important;
}

@media (max-width: 768px) {
	.bloom-df-page h1 {
		font-size: 1.22rem;
	}

	.bloom-df-card-nav button {
		width: 32px;
		height: 32px;
		font-size: 1rem;
	}

	.bloom-df-card-body h2 {
		font-size: 0.84rem;
		min-height: calc(1.35em * 2);
		height: calc(1.35em * 2);
	}

	.bloom-df-card-variant {
		font-size: 0.76rem;
		min-height: calc(1.4em * 1);
		height: calc(1.4em * 1);
	}

	.bloom-df-price {
		font-size: 0.92rem;
	}

	.bloom-df-price-now {
		font-size: 0.98rem;
	}

	.bloom-df-sale-badge {
		font-size: 0.64rem;
		padding: 0.15rem 0.48rem;
	}
}

.bloom-df-loading {
	opacity: 0.65;
	pointer-events: none;
}

.bloom-df-loading #bloom-df-search {
	opacity: 0.85;
}
