/* ==========================================================================
   Bloomazz — design system
   Palette sampled from the logo (lavender) + a boutique-editorial system
   built around it. See style.css for the base :root tokens this extends.
   ========================================================================== */

:root {
	--bz-ink: #211f2e;
	--bz-lavender: #8784d3;
	--bz-lavender-deep: #5a5693;
	--bz-white: #ffffff;
	--bz-linen: #f6f3f1;
	--bz-champagne: #b99a63;
	--bz-blush: #d8a8a0;
	--bz-border: #e9e5f1;

	--bz-font-display: "Bodoni Moda", "Times New Roman", serif;
	--bz-font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--bz-container: 1280px;
	--bz-radius: 2px;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
	overflow-x: hidden;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* Edge/IE */
}
html::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}
body {
	overflow-x: hidden;
	font-family: var(--bz-font-body);
	color: var(--bz-ink);
	background: var(--bz-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: var(--bz-font-display);
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 0.5em;
	letter-spacing: -0.01em;
}

.container {
	max-width: var(--bz-container);
}

/* WooCommerce's own default product-loop CSS floats <li> at a
   percentage width (e.g. 22%) for its classic column system — since
   every product loop in this theme (shop, upsells, cross-sells) uses
   its own CSS Grid via woocommerce/content-product.php, the <li> needs
   to fill its grid cell instead of shrinking further inside it. */
.woocommerce ul.products li.product {
	width: 100% !important;
	float: none !important;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	background: none;
	border: 0;
}

/* ==========================================================================
   Blank Canvas (page-canvas.php) — a page whose content is a full,
   self-contained HTML/CSS design (e.g. built in Claude and pasted
   whole), not assembled from theme markup. The h1-h4/a/button rules
   above apply directly to those elements wherever they appear —
   including inside pasted content — and a *direct* rule always beats
   an *inherited* one regardless of specificity, so a plain <h1> in a
   pasted design would otherwise pick up Bloomazz's own display font
   even if the design's own CSS sets a different one on a parent.
   `revert` hands these back to genuine browser defaults so pasted
   content is shaped only by whatever CSS it brings with it. */
.bz-canvas h1,
.bz-canvas h2,
.bz-canvas h3,
.bz-canvas h4 {
	font-family: revert;
	font-weight: revert;
	line-height: revert;
	letter-spacing: revert;
	margin: revert;
}
.bz-canvas a {
	color: revert;
	text-decoration: revert;
}
.bz-canvas button {
	font-family: revert;
	cursor: revert;
	background: revert;
	border: revert;
}

.bz-eyebrow {
	display: inline-block;
	font-family: var(--bz-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bz-lavender-deep);
	margin-bottom: 0.85em;
}

/* Buttons
   ========================================================================== */
.bz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	padding: 0.95em 2em;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: var(--bz-radius);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.bz-btn--primary {
	background: var(--bz-ink);
	color: var(--bz-white);
}
.bz-btn--primary:hover {
	background: var(--bz-lavender-deep);
}

.bz-btn--ghost {
	border-color: currentColor;
	color: inherit;
}
.bz-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

.bz-btn--light {
	background: var(--bz-white);
	color: var(--bz-ink);
}
.bz-btn--light:hover {
	background: var(--bz-lavender);
	color: var(--bz-white);
}

.bz-btn--accent {
	background: var(--bz-lavender);
	color: var(--bz-white);
}
.bz-btn--accent:hover {
	background: var(--bz-white);
	color: var(--bz-ink);
}

/* Ink-outline — like .bz-btn--ghost but for light/white card backgrounds
   rather than dark hero sections (currentColor there would go invisible). */
.bz-btn--outline {
	border-color: var(--bz-ink);
	color: var(--bz-ink);
	background: transparent;
}
.bz-btn--outline:hover {
	background: var(--bz-ink);
	color: var(--bz-white);
}

.bz-link-arrow {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

/* Reusable "swing tag" — a stitched-border label pinned at a slight
   angle, like a real garment tag. Position (top/left) is set per usage
   context; this just carries the look. */
.bz-swing-tag {
	background: var(--bz-white);
	color: var(--bz-ink);
	font-family: var(--bz-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 0.55em 1em;
	border: 1.5px dashed var(--bz-lavender);
	transform: rotate(-4deg);
	box-shadow: 0 8px 20px rgba(33, 31, 46, 0.1);
	z-index: 2;
}

/* ==========================================================================
   Announcement bar + Header
   ========================================================================== */
.bz-announcement {
	background: var(--bz-ink);
	color: var(--bz-white);
}
.bz-announcement p {
	margin: 0;
	text-align: center;
	font-size: 0.76rem;
	letter-spacing: 0.04em;
	padding: 0.55em 1em;
}
.bz-announcement a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.bz-announcement a:hover {
	color: var(--bz-lavender);
}

.site-header {
	position: sticky;
	top: 0;
	/* .main-navigation (the mobile off-canvas menu) is nested inside this
	   header and stacks within its context — no z-index on the nav
	   itself can lift it above other page content unless the header's
	   own z-index already clears that content too. It was 40, below the
	   PDP gallery's zoom trigger (z-index: 99, WooCommerce's own CSS),
	   which is how that icon ended up rendering over the open mobile menu. */
	z-index: 150;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--bz-border);
}

.site-header-inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	padding: 1.1rem 20px;
	position: relative;
}

.site-branding {
	margin-right: auto;
}
.site-logo-fallback img,
.custom-logo {
	display: block;
	height: 30px;
	width: auto;
}

.main-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}
/* Only shown inside the mobile off-canvas panel (see the ≤780px block
   below) — the header right next to it already has the logo on desktop. */
.main-navigation-logo {
	display: none;
}
.main-navigation ul,
#primary-menu {
	display: flex;
	gap: 2.1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation a {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.4em 0;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.main-navigation a:hover {
	color: var(--bz-lavender-deep);
	border-color: var(--bz-lavender-deep);
}

/* BloomAtHome nav item — tagged automatically (inc/bloomathome.php,
   nav_menu_css_class) whenever the admin adds that page to a menu, so it
   reads as a standout invite to try the service rather than just another
   plain-text link. */
#primary-menu .bz-menu-bloomathome > a {
	position: relative;
	background: var(--bz-champagne);
	color: var(--bz-ink);
	padding: 0.45em 1em;
	border-radius: 999px;
	border-bottom-color: transparent;
}
#primary-menu .bz-menu-bloomathome > a:hover {
	background: var(--bz-ink);
	color: var(--bz-white);
	border-color: transparent;
}
#primary-menu .bz-menu-bloomathome > a::after {
	content: "";
	position: absolute;
	top: -1px;
	right: -1px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--bz-lavender-deep);
	animation: bz-bah-nav-pulse 2.4s ease-in-out infinite;
}

@keyframes bz-bah-nav-pulse {
	0%, 100% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.7);
		opacity: 0.45;
	}
}

/* ==========================================================================
   Dropdown submenus — parent/child nav menu structure
   ========================================================================== */
.menu-item-has-children {
	position: relative;
	display: flex;
	align-items: center;
}

.submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-left: 2px;
	color: currentColor;
}
.submenu-toggle::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	margin-top: -3px;
}
.menu-item-has-children.submenu-open > .submenu-toggle::after {
	transform: rotate(225deg);
	margin-top: 3px;
}

.main-navigation .sub-menu {
	display: block;
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 220px;
	background: var(--bz-white);
	border: 1px solid var(--bz-border);
	box-shadow: 0 18px 40px rgba(33, 31, 46, 0.12);
	margin: 0;
	padding: 1.1rem 0 0.5rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 60;
}
/* The stitched hinge connecting the parent item to its panel — the same
   dashed seam motif used between homepage sections. */
.main-navigation .sub-menu::before {
	content: "";
	position: absolute;
	top: 0;
	left: 18px;
	right: 18px;
	height: 1px;
	background-image: repeating-linear-gradient(
		to right,
		var(--bz-lavender) 0,
		var(--bz-lavender) 4px,
		transparent 4px,
		transparent 10px
	);
}
.main-navigation .sub-menu li {
	padding: 0 1.4rem;
}
.main-navigation .sub-menu li + li {
	position: relative;
}
.main-navigation .sub-menu li + li::before {
	content: "";
	display: block;
	height: 1px;
	background-image: repeating-linear-gradient(
		to right,
		var(--bz-border) 0,
		var(--bz-border) 3px,
		transparent 3px,
		transparent 7px
	);
}
.main-navigation .sub-menu a {
	display: block;
	padding: 0.65rem 0;
	font-size: 0.88rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	color: var(--bz-ink);
	border-bottom: 0;
	position: relative;
}
.main-navigation .sub-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 8px;
	width: 100%;
	height: 1px;
	background: var(--bz-lavender-deep);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
	color: var(--bz-lavender-deep);
	border-color: transparent;
}
.main-navigation .sub-menu a:hover::after,
.main-navigation .sub-menu a:focus::after {
	transform: scaleX(1);
}

.menu-item-has-children.submenu-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

/* Hover-reveal only on devices with a real, precise pointer — touch
   devices rely on the tap-toggle button instead, avoiding sticky-hover. */
@media (hover: hover) and (pointer: fine) {
	.menu-item-has-children:hover > .sub-menu,
	.menu-item-has-children:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateX(-50%) translateY(0);
	}
	.menu-item-has-children:hover > .submenu-toggle::after,
	.menu-item-has-children:focus-within > .submenu-toggle::after {
		transform: rotate(225deg);
		margin-top: 3px;
	}
}

.site-header-actions {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
}
.bz-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--bz-ink);
	transition: background-color 0.2s ease;
}
.bz-icon-btn:hover {
	background: var(--bz-linen);
}
.bz-cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 15px;
	height: 15px;
	padding: 0 3px;
	border-radius: 50%;
	background: var(--bz-lavender);
	color: var(--bz-white);
	font-size: 0.6rem;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	width: 22px;
	padding: 0;
}
.menu-toggle span {
	display: block;
	height: 1.5px;
	background: currentColor;
}

.bz-search-panel {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--bz-white);
	border-bottom: 1px solid var(--bz-border);
	padding: 2rem 20px 2.25rem;
	box-shadow: 0 16px 32px rgba(33, 31, 46, 0.08);
}
.bz-search-panel.is-open {
	display: block;
}

/* ==========================================================================
   Search form component — shared by the header dropdown (.bz-search-panel)
   and the search results page's own re-entry field (search.php). The
   input itself borrows the site's italic display serif, the one bit of
   boutique personality on an otherwise plain, boxed utility control.
   ========================================================================== */
.bz-search-form {
	max-width: var(--bz-container);
	margin: 0 auto;
}
.bz-search-form-row {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	border: 1px solid var(--bz-border);
	border-radius: var(--bz-radius);
	padding: 0.4rem 0.5rem 0.4rem 1.1rem;
	background: var(--bz-white);
	transition: border-color 0.15s ease;
}
.bz-search-form-row:focus-within {
	border-color: var(--bz-lavender);
}
.bz-search-form-icon {
	flex-shrink: 0;
	color: #8a8694;
}
.bz-search-form-field {
	flex: 1;
	min-width: 0;
	border: 0;
	background: none;
	padding: 0.5em 0;
	font-family: var(--bz-font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: var(--bz-ink);
}
.bz-search-form-field::placeholder {
	color: #a9a5b3;
	opacity: 1;
}
.bz-search-form-field:focus {
	outline: none;
}
/* Clear/decoration WebKit adds to type="search" fields by default. */
.bz-search-form-field::-webkit-search-cancel-button,
.bz-search-form-field::-webkit-search-decoration {
	appearance: none;
}
.bz-search-form-submit {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--bz-ink);
	color: var(--bz-white);
	transition: background-color 0.2s ease;
}
.bz-search-form-submit:hover {
	background: var(--bz-lavender-deep);
}

.bz-search-form-quicklinks {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.1rem;
	padding-left: 0.2rem;
}
.bz-search-form-quicklinks-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a8694;
	margin-right: 0.2rem;
}

/* Chip — reused for category quick-links in the search form and for
   blog-category results on the search results page. */
.bz-search-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	background: var(--bz-linen);
	color: var(--bz-ink);
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.5em 1em;
	border-radius: 999px;
	transition: background-color 0.15s ease;
}
.bz-search-chip:hover {
	background: var(--bz-border);
}
.bz-search-chip span {
	color: #8a8694;
	font-weight: 700;
	font-size: 0.72rem;
}

/* ==========================================================================
   Stitched seam divider (signature)
   ========================================================================== */
.bz-seam {
	width: 100%;
	height: 32px;
	color: var(--bz-border);
	line-height: 0;
}
.bz-seam--dark {
	color: rgba(255, 255, 255, 0.25);
}
.bz-seam svg {
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   Placeholder imagery
   ========================================================================== */
.bz-placeholder {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), transparent 55%),
		linear-gradient(155deg, #ded9f2 0%, #c9c3e8 45%, #a9a3d9 100%);
	overflow: hidden;
}
.bz-placeholder-mark {
	color: rgba(33, 31, 46, 0.25);
}
.bz-placeholder-mark svg {
	width: 40px;
	height: auto;
}
.bz-placeholder-tag {
	position: absolute;
	bottom: 10px;
	left: 10px;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bz-ink);
	background: rgba(255, 255, 255, 0.75);
	padding: 0.3em 0.6em;
	border-radius: 999px;
}
.bz-placeholder-label {
	display: none;
}

/* ==========================================================================
   Product card
   ========================================================================== */
.bz-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.75rem 1.5rem;
}

.bz-product-card {
	display: flex;
	flex-direction: column;
}
.bz-product-media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--bz-linen);
	overflow: hidden;
}
.bz-placeholder--product {
	transition: transform 0.5s ease;
}
.bz-product-card:hover .bz-placeholder--product {
	transform: scale(1.04);
}
img.bz-placeholder--product {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bz-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.35em 0.7em;
	border-radius: 999px;
	background: var(--bz-ink);
	color: var(--bz-white);
}
.bz-badge--sale {
	background: var(--bz-blush);
	color: var(--bz-ink);
}
.bz-badge--new {
	background: var(--bz-lavender);
	color: var(--bz-white);
}
.bz-badge--bestseller {
	background: var(--bz-champagne);
	color: var(--bz-white);
}

.bz-wishlist {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--bz-ink);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.bz-product-card:hover .bz-wishlist,
.bz-wishlist.is-active {
	opacity: 1;
	transform: translateY(0);
}
.bz-wishlist.is-active {
	color: var(--bz-blush);
}
.bz-wishlist.is-active svg {
	fill: var(--bz-blush);
	stroke: var(--bz-blush);
}

.bz-quick-add {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	transform: translateY(100%);
	transition: transform 0.25s ease;
}
.bz-product-card:hover .bz-quick-add {
	transform: translateY(0);
}
/* Override WooCommerce's own button styles — it loads its default
   stylesheet regardless of theme markup. */
.bz-quick-add a {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.8em;
	font-family: var(--bz-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
	background: rgba(33, 31, 46, 0.9);
	color: var(--bz-white);
	border: 0;
	border-radius: 0;
	line-height: 1.4;
}
.bz-quick-add a:hover {
	background: var(--bz-lavender-deep);
	color: var(--bz-white);
}

.bz-product-info {
	padding-top: 0.85rem;
}
.bz-product-colors {
	display: flex;
	gap: 6px;
	margin-bottom: 0.5rem;
}
.bz-product-colors i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.bz-product-name {
	font-family: var(--bz-font-body);
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 0.3rem;
}
.bz-product-name a:hover {
	color: var(--bz-lavender-deep);
}

.bz-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-size: 0.78rem;
	color: var(--bz-ink);
	margin-bottom: 0.4rem;
}
.bz-rating-stars {
	position: relative;
	display: inline-block;
	font-size: 0.85rem;
	letter-spacing: 2px;
	color: var(--bz-border);
}
.bz-rating-stars::after {
	content: "★★★★★";
	position: absolute;
	inset: 0;
	width: var(--bz-rating-fill);
	overflow: hidden;
	color: var(--bz-champagne);
	white-space: nowrap;
}
.bz-rating-count {
	color: #8a8694;
	font-size: 0.75rem;
}

.bz-product-price {
	margin: 0;
	font-weight: 700;
	font-size: 0.95rem;
}
.bz-price-sale {
	color: var(--bz-blush);
	margin-right: 0.5em;
}
.bz-price-regular {
	color: #a39fae;
	text-decoration: line-through;
	font-weight: 500;
	font-size: 0.85em;
}

/* WooCommerce's native price_html() markup, used by real products. */
.bz-product-price .woocommerce-Price-amount {
	font-family: var(--bz-font-body);
}
.bz-product-price del {
	color: #a39fae;
	text-decoration: line-through;
	font-weight: 500;
	font-size: 0.85em;
	margin-right: 0.5em;
}
.bz-product-price ins {
	color: var(--bz-blush);
	text-decoration: none;
}

/* ==========================================================================
   Shelf sections (best sellers / new arrivals)
   ========================================================================== */
.bz-shelf {
	padding: 5rem 0;
}
.bz-shelf--alt {
	background: var(--bz-linen);
}
.bz-shelf-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 2.5rem;
}
.bz-shelf-head h2 {
	font-size: clamp(1.7rem, 2.4vw, 2.3rem);
	margin: 0;
}
.bz-shelf-head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.bz-shelf-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 1rem;
	color: #8a8694;
	font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.bz-newsletter {
	background: var(--bz-lavender);
	color: var(--bz-white);
}
.bz-newsletter-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 3.5rem 20px;
	flex-wrap: wrap;
}
.bz-newsletter-copy h2 {
	color: var(--bz-white);
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	margin: 0.1em 0;
}
.bz-newsletter-copy p {
	margin: 0;
	opacity: 0.9;
	max-width: 40ch;
}
.bz-newsletter-copy .bz-eyebrow {
	color: var(--bz-ink);
}
.bz-newsletter-form-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	min-width: 320px;
}
.bz-newsletter-form {
	display: flex;
	gap: 0;
	background: var(--bz-white);
	border-radius: var(--bz-radius);
	overflow: hidden;
}
.bz-newsletter-message {
	margin: 0;
	min-height: 1.2em;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bz-white);
}
.bz-newsletter-message.is-error {
	color: var(--bz-ink);
}
.bz-newsletter-form input {
	flex: 1;
	border: 0;
	padding: 0 1.2em;
	font-family: var(--bz-font-body);
	font-size: 0.9rem;
	color: var(--bz-ink);
}
.bz-newsletter-form input:focus {
	outline: 2px solid var(--bz-ink);
	outline-offset: -2px;
}
.bz-newsletter-form button {
	padding: 1em 1.6em;
	background: var(--bz-ink);
	color: var(--bz-white);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.bz-newsletter-form button:hover {
	background: var(--bz-lavender-deep);
}

.site-footer {
	background: var(--bz-ink);
	color: rgba(255, 255, 255, 0.75);
}
.footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding: 4rem 20px 3rem;
}
.footer-brand p {
	font-size: 0.88rem;
	line-height: 1.7;
	max-width: 32ch;
	margin: 1rem 0 1.4rem;
}
.bz-footer-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	font-size: 0.85rem;
	margin: -0.6rem 0 1.4rem;
}
.bz-footer-contact a {
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.2s ease;
}
.bz-footer-contact a:hover {
	color: var(--bz-lavender);
}
.bz-social {
	display: flex;
	gap: 0.6rem;
}
.bz-social a {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.bz-social a:hover {
	border-color: var(--bz-lavender);
	color: var(--bz-lavender);
}

.footer-widget-area .widget-title {
	font-family: var(--bz-font-body);
	color: var(--bz-white);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 1.2rem;
}
.footer-widget-area ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.footer-widget-area a {
	font-size: 0.88rem;
	transition: color 0.2s ease;
}
.footer-widget-area a:hover {
	color: var(--bz-lavender);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding: 1.5rem 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8rem;
}
.footer-bottom .site-info {
	margin: 0;
}
#footer-menu {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
#footer-menu a:hover {
	color: var(--bz-lavender);
}
.bz-payment-icons {
	display: flex;
	gap: 0.8rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	opacity: 0.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.bz-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer-top {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 780px) {
	.menu-toggle {
		display: flex;
	}
	/* backdrop-filter creates a new containing block for fixed-position
	   descendants — that traps the off-canvas nav below inside the header
	   instead of the viewport, so it's dropped on mobile where it matters. */
	.site-header {
		backdrop-filter: none;
		background: var(--bz-white);
	}
	.main-navigation {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 85vw);
		background: var(--bz-white);
		transform: translateX(100%);
		transition: transform 0.3s ease;
		padding: 5.5rem 1.5rem 2rem;
		/* Base .main-navigation is display:flex with no set direction (fine
		   there, it only ever had one child) — needed explicitly here now
		   that the logo is a second child stacked above the menu, not
		   beside it. */
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		/* Above any in-page floating UI (the PDP gallery's zoom trigger is
		   z-index: 99 from WooCommerce's own CSS, the sticky buy bar is 60)
		   — the open mobile menu should sit above all of that, but still
		   under real modals (login/lightbox/etc., z-index: 200). */
		z-index: 150;
		box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
		overflow-y: auto;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.main-navigation::-webkit-scrollbar {
		display: none;
	}
	.main-navigation.is-open {
		transform: translateX(0);
	}
	.main-navigation-logo {
		display: block;
		margin: 0 0 2rem;
	}
	#primary-menu {
		flex-direction: column;
		gap: 1.4rem;
	}
	/* Off-canvas nav has no room (or hover) for a floating panel — the same
	   parent/child structure becomes a tap-to-expand accordion instead. */
	.menu-item-has-children {
		flex-wrap: wrap;
	}
	.submenu-toggle {
		width: 44px;
		height: 44px;
		margin-left: auto;
	}
	.main-navigation .sub-menu {
		position: static;
		width: 100%;
		transform: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		border: 0;
		box-shadow: none;
		min-width: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.main-navigation .sub-menu::before {
		display: none;
	}
	.main-navigation .sub-menu li {
		padding: 0 0 0 1.2rem;
	}
	.menu-item-has-children.submenu-open > .sub-menu {
		max-height: 600px;
		margin-top: 0.6rem;
		transform: none;
	}
	.site-header-inner {
		gap: 1rem;
	}
	.footer-top {
		grid-template-columns: 1fr;
	}
	.bz-newsletter-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.bz-newsletter-form {
		width: 100%;
		min-width: 0;
	}
	/* 5rem top+bottom (desktop's generous shelf rhythm) stacked with
	   every other section's own top+bottom padding reads as a wall of
	   empty space on a narrow phone screen — most noticeable right
	   before "Loved on repeat", where it follows straight after the
	   category tiles' own bottom padding and the seam divider. */
	.bz-shelf {
		padding: 2.5rem 0;
	}
}

@media (max-width: 560px) {
	.bz-product-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.25rem 0.9rem;
	}
	.bz-product-name {
		font-size: 0.82rem;
	}
}

/* ==========================================================================
   Modal — generic open/close shell shared site-wide (size chart, write a
   review, and the login/sign-up modal). Content-specific styling for each
   modal's contents lives alongside that content (e.g. single-product.css,
   auth-modal.css).
   ========================================================================== */
.bz-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.bz-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.bz-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(33, 31, 46, 0.55);
}
.bz-modal-panel {
	position: relative;
	z-index: 1;
	background: var(--bz-white);
	max-width: 560px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* Edge/IE */
	padding: 2.5rem;
	transform: scale(0.94) translateY(16px);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz-modal-panel::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}
.bz-modal.is-open .bz-modal-panel {
	transform: scale(1) translateY(0);
}
.bz-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--bz-linen);
	border: 0;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	color: var(--bz-ink);
}
.bz-modal-panel h3 {
	font-family: var(--bz-font-display);
	font-size: 1.6rem;
	font-weight: 500;
	margin: 0.3rem 0 1.5rem;
}
/* html, not just body, needs this — html is the element that actually
   scrolls (document.scrollingElement), so body-only overflow:hidden left
   the page scrollable behind an open modal. */
html.bz-modal-open,
body.bz-modal-open {
	overflow: hidden;
}

/* ==========================================================================
   Social sign-in (Google) — shared by the site-wide auth modal
   (inc/auth-modal.php) and the My Account guest hero
   (page-myaccount.php); see inc/social-login.php.
   ========================================================================== */
.bz-google-btn {
	display: flex;
	justify-content: center;
	margin: 0 0 1.5rem;
}
.bz-google-btn-error {
	margin: -1rem 0 1.5rem;
	font-size: 0.82rem;
	color: var(--bz-blush);
	text-align: center;
}
.bz-auth-divider {
	position: relative;
	text-align: center;
	margin: 0 0 1.5rem;
}
.bz-auth-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--bz-border);
}
.bz-auth-divider span {
	position: relative;
	display: inline-block;
	padding: 0 0.8em;
	background: var(--bz-white);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a8694;
}

@media (max-width: 560px) {
	.bz-modal-panel {
		padding: 1.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bz-modal,
	.bz-modal-panel {
		transition: none !important;
	}
	#primary-menu .bz-menu-bloomathome > a::after {
		animation: none !important;
	}
}
