/**
 * BellaBlume Marketplace: storefront styles.
 *
 * Design tokens live on <body> so Elementor's kit globals (defined on
 * body.elementor-kit-N) feed them, and so Elementor widgets can override
 * them per element: every widget's "Marketplace design" controls set these
 * same custom properties on {{WRAPPER}}.
 */

body {
	--bbm-heading: var(--e-global-color-accent, #8f5886);
	--bbm-text: #5c3557;
	--bbm-muted: #a07899;
	--bbm-accent: var(--e-global-color-text, #ff5be4);
	--bbm-blush: var(--e-global-color-primary, #ffdbfa);
	--bbm-petal: var(--e-global-color-secondary, #ffb0f4);
	--bbm-mist: #fff4fd;
	--bbm-pill: #ffecfc;
	--bbm-card: #fff;
	--bbm-card-border: var(--e-global-color-secondary, #ffb0f4);
	--bbm-button: #fc8ad9;
	--bbm-button-hover: #ffb0f4;
	--bbm-button-ink: #43083a;
	--bbm-radius: 30px;
	--bbm-radius-sm: 14px;
	--bbm-shadow: 0 10px 30px rgba(143, 88, 134, 0.14);
	--bbm-shadow-lift: 0 18px 40px rgba(143, 88, 134, 0.22);
	--bbm-font-display: "Playpen Sans", var(--e-global-typography-primary-font-family, sans-serif), sans-serif;
	--bbm-font-script: "Sacramento", cursive;
	--bbm-font-body: var(--e-global-typography-text-font-family, inherit);
	--bbm-badge-color: var(--bbm-accent); /* Same pink as prices; a Badge color setting overrides it. */
	--bbm-header-offset: 190px;
}

/* ---------------------------------------------------------------------------
 * Base
 * ------------------------------------------------------------------------- */

.bbm-ui {
	color: var(--bbm-text);
	font-family: var(--bbm-font-body);
	line-height: 1.6;
}
.bbm-ui *,
.bbm-ui *::before,
.bbm-ui *::after { box-sizing: border-box; }

.bbm-ui :is(h1, h2, h3, h4),
.bbm-heading {
	font-family: var(--bbm-font-display);
	color: var(--bbm-heading);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 0.5em;
}
.bbm-ui a { color: var(--bbm-heading); text-decoration-color: var(--bbm-petal); text-underline-offset: 3px; }
.bbm-ui a:hover { color: var(--bbm-accent); }
.bbm-ui img { max-width: 100%; height: auto; }

.bbm-script {
	font-family: var(--bbm-font-script);
	color: var(--bbm-accent);
	font-weight: 400;
	line-height: 1;
}

.bbm-help,
.bbm-ui .description { color: var(--bbm-muted); font-size: 0.9em; }

/* Cards / surfaces (mirrors the site's white, petal-bordered panels). */
.bbm-card,
.bbm-surface {
	background: var(--bbm-card);
	border: 2px solid var(--bbm-card-border);
	border-radius: var(--bbm-radius);
	box-shadow: var(--bbm-shadow);
	padding: clamp(20px, 3vw, 35px);
}
.bbm-card { margin-bottom: 1.5em; }

.bbm-placeholder {
	padding: 40px 24px;
	border: 2px dashed var(--bbm-card-border);
	border-radius: var(--bbm-radius);
	background: var(--bbm-mist);
	color: var(--bbm-heading);
	font-family: var(--bbm-font-display);
	text-align: center;
}

.bbm-page-offset {
	max-width: 1200px;
	margin: 0 auto;
	padding: var(--bbm-header-offset) 20px 60px;
}

/* ---------------------------------------------------------------------------
 * Buttons (matches the site's "Add to cart": pink fill, plum outline)
 * Doubled class beats WooCommerce's `.woocommerce a.button.alt`.
 * ------------------------------------------------------------------------- */

.bbm-ui.bbm-ui :is(.button, button[type="submit"], input[type="submit"]):not(.bbm-reset),
.bbm-contact.bbm-contact > summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	padding: 0.7em 1.5em;
	border: 1px solid var(--bbm-button-ink);
	border-radius: 13px;
	background: var(--bbm-button);
	color: var(--bbm-button-ink);
	font-family: var(--bbm-font-display);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.bbm-ui.bbm-ui :is(.button, button[type="submit"], input[type="submit"]):not(.bbm-reset):hover,
.bbm-contact.bbm-contact > summary:hover {
	background: var(--bbm-button-hover);
	color: var(--bbm-button-ink);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(252, 138, 217, 0.35);
}
.bbm-ui.bbm-ui .button--quiet {
	background: var(--bbm-card);
	border-color: var(--bbm-card-border);
	color: var(--bbm-heading);
}
.bbm-ui.bbm-ui .button--small { padding: 0.45em 1em; font-size: 0.9rem; }

.bbm-link-button {
	background: none;
	border: 0;
	padding: 0;
	color: #b0306f;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
}

/* ---------------------------------------------------------------------------
 * Forms
 * ------------------------------------------------------------------------- */

.bbm-ui :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], select, textarea) {
	width: 100%;
	padding: 0.7em 1em;
	border: 1.5px solid var(--bbm-card-border);
	border-radius: var(--bbm-radius-sm);
	background: #fff;
	color: var(--bbm-text);
	font: inherit;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bbm-ui :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--bbm-accent);
	box-shadow: 0 0 0 4px rgba(255, 91, 228, 0.15);
}
.bbm-ui input[type="file"] {
	width: 100%;
	padding: 0.8em;
	border: 1.5px dashed var(--bbm-card-border);
	border-radius: var(--bbm-radius-sm);
	background: var(--bbm-mist);
	color: var(--bbm-heading);
	font: inherit;
	font-size: 0.9em;
	cursor: pointer;
}
.bbm-ui input[type="file"]::file-selector-button {
	margin-right: 0.8em;
	padding: 0.4em 1em;
	border: 1px solid var(--bbm-button-ink);
	border-radius: 10px;
	background: var(--bbm-button);
	color: var(--bbm-button-ink);
	font: inherit;
	cursor: pointer;
}
.bbm-ui .form-row { margin: 0 0 1.1em; padding: 0; }
.bbm-ui .form-row label,
.bbm-field--upload > label,
.bbm-field--document > label,
.bbm-field--upload legend {
	display: block;
	margin-bottom: 0.35em;
	color: var(--bbm-heading);
	font-weight: 600;
}
.bbm-ui .required { color: var(--bbm-accent); text-decoration: none; border: 0; }
.bbm-ui input[type="checkbox"],
.bbm-ui input[type="radio"] { accent-color: var(--bbm-accent); width: 1.05em; height: 1.05em; }
.bbm-ui fieldset {
	margin: 1.5em 0;
	padding: 1.1em 1.4em 0.4em;
	border: 1.5px solid var(--bbm-card-border);
	border-radius: 22px;
}
.bbm-ui legend {
	padding: 0 0.5em;
	color: var(--bbm-heading);
	font-family: var(--bbm-font-display);
	font-weight: 600;
}

.bbm-thumbs,
.bbm-preview { display: flex; flex-wrap: wrap; gap: 8px; margin: 0.5em 0; }
.bbm-thumbs img,
.bbm-preview img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 14px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px var(--bbm-card-border);
}
.bbm-thumbs--removable label { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 400; font-size: 0.85em; }

.bbm-inline-form { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6em; margin: 0; }
.bbm-inline-form input { width: auto; }
.bbm-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1.5em; }
.bbm-columns--4 { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.bbm-checklist { display: flex; flex-wrap: wrap; gap: 0.5em; }
.bbm-checklist label {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.3em 0.9em;
	border: 1px solid var(--bbm-card-border);
	border-radius: 40px;
	background: #fff;
	font-weight: 400;
	cursor: pointer;
}
.bbm-checklist label:has(input:checked) { background: var(--bbm-pill); border-color: var(--bbm-heading); }

/* ---------------------------------------------------------------------------
 * Chips, statuses, badges, stars
 * ------------------------------------------------------------------------- */

.bbm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bbm-chips li {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.3em 0.95em;
	border: 1px solid var(--bbm-card-border);
	border-radius: 40px;
	background: #fff;
	color: var(--bbm-heading);
	font-size: 0.85rem;
	line-height: 1.5;
}
.bbm-chips a { text-decoration: none; }

.bbm-status {
	display: inline-block;
	padding: 0.2em 0.75em;
	border-radius: 40px;
	background: var(--bbm-pill);
	color: var(--bbm-heading);
	font-size: 0.8em;
	font-weight: 600;
	white-space: nowrap;
}
.bbm-status--approved, .bbm-status--publish, .bbm-status--shipped, .bbm-status--paid, .bbm-status--verified, .bbm-status--completed { background: #e3f6e8; color: #23683a; }
.bbm-status--pending, .bbm-status--unfulfilled, .bbm-status--requested, .bbm-status--processing, .bbm-status--needs_info { background: #fff3d6; color: #8a5a00; }
.bbm-status--under_review { background: #e8eefe; color: #2b4f9e; }
.bbm-status--denied, .bbm-status--rejected, .bbm-status--failed, .bbm-status--cancelled, .bbm-status--refunded { background: #fde4e7; color: #a3172f; }
.bbm-status--draft { background: #f1eaf0; color: #7a6176; }

.bbm-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	color: var(--bbm-badge-color);
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1;
	vertical-align: middle;
	white-space: nowrap;
}
.bbm-badge--large {
	font-size: 0.4em;
	padding: 0.45em 0.8em;
	border: 1px solid currentColor;
	border-radius: 40px;
	background: #fff;
	font-family: var(--bbm-font-body);
}

.bbm-stars {
	--bbm-rating: 0;
	display: inline-block;
	position: relative;
	line-height: 1;
	letter-spacing: 1px;
	vertical-align: middle;
}
.bbm-stars::before { content: "★★★★★"; color: rgba(143, 88, 134, 0.22); }
.bbm-stars::after {
	content: "★★★★★";
	position: absolute;
	top: 0;
	left: 0;
	width: calc(var(--bbm-rating) / 5 * 100%);
	overflow: hidden;
	white-space: nowrap;
	color: var(--bbm-accent);
}
.bbm-rating-count { font-size: 0.85em; color: var(--bbm-muted); }
.bbm-verified::before { content: "✓"; color: var(--bbm-badge-color); font-weight: 700; }

/* ---------------------------------------------------------------------------
 * "Sold by" and contact
 * ------------------------------------------------------------------------- */

.bbm-sold-by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35em 0.5em;
	margin: 0.25em 0 0.9em;
	color: var(--bbm-muted);
	font-size: 0.92em;
}
.bbm-sold-by a { color: var(--bbm-heading); font-family: var(--bbm-font-display); font-weight: 600; text-decoration: none; }
.bbm-sold-by--loop { justify-content: center; margin: 0 0 0.5em; font-size: 0.85em; }
.bbm-sold-by__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bbm-petal); }

.bbm-contact { margin: 1em 0; }
.bbm-contact > summary { list-style: none; }
.bbm-contact > summary::-webkit-details-marker { display: none; }
.bbm-contact[open] > summary { margin-bottom: 0.9em; }
.bbm-contact .bbm-message-form {
	padding: 1.2em 1.4em 0.4em;
	border: 1.5px solid var(--bbm-card-border);
	border-radius: 22px;
	background: var(--bbm-mist);
}

/* ---------------------------------------------------------------------------
 * Product grids (seller profile)
 * ------------------------------------------------------------------------- */

.bbm-ui ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
	margin: 0 !important;
	padding: 0;
}
.bbm-ui ul.products::before,
.bbm-ui ul.products::after { display: none !important; }
.bbm-ui ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	padding: 13px 13px 18px !important;
	background: var(--bbm-card);
	border: 1px solid var(--bbm-card-border);
	border-radius: 22px;
	box-shadow: var(--bbm-shadow);
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bbm-ui ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--bbm-shadow-lift); }
.bbm-ui ul.products li.product img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 0 12px !important;
	border-radius: 18px;
}
.bbm-ui ul.products li.product .woocommerce-loop-product__title {
	padding: 0.2em 0 !important;
	color: var(--bbm-heading);
	font-family: var(--bbm-font-display);
	font-size: 1.05rem !important;
}
.bbm-ui ul.products li.product .price { color: var(--bbm-heading) !important; font-weight: 600; }

.bbm-pagination ul,
.bbm-ui .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 1.5em 0 0; padding: 0; list-style: none; border: 0 !important; }
.bbm-pagination li,
.bbm-ui .woocommerce-pagination li { border: 0 !important; }
.bbm-pagination .page-numbers,
.bbm-ui .woocommerce-pagination .page-numbers {
	display: inline-flex;
	min-width: 2.4em;
	height: 2.4em;
	align-items: center;
	justify-content: center;
	padding: 0 0.6em;
	border: 1px solid var(--bbm-card-border) !important;
	border-radius: 40px;
	background: #fff;
	color: var(--bbm-heading);
	text-decoration: none;
}
.bbm-pagination .current,
.bbm-ui .woocommerce-pagination .current { background: var(--bbm-button) !important; border-color: var(--bbm-button-ink) !important; color: var(--bbm-button-ink) !important; }

/* ---------------------------------------------------------------------------
 * Seller profile
 * ------------------------------------------------------------------------- */

.bbm-profile { display: flex; flex-direction: column; gap: 32px; }
.bbm-profile__hero { padding: 0; overflow: hidden; }
.bbm-profile__banner {
	height: clamp(150px, 24vw, 300px);
	background:
		radial-gradient(circle at 14px 14px, rgba(255, 255, 255, 0.75) 3px, transparent 4px) 0 0 / 28px 28px,
		linear-gradient(135deg, var(--bbm-blush), var(--bbm-petal));
}
.bbm-profile__banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bbm-profile__identity {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 18px 26px;
	margin-top: -70px;
	padding: 0 clamp(20px, 3vw, 38px) 30px;
}
.bbm-profile__avatar {
	flex-shrink: 0;
	width: 148px;
	height: 148px;
	border-radius: 50%;
	object-fit: cover;
	border: 6px solid #fff;
	background: #fff;
	box-shadow: 0 0 0 3px var(--bbm-petal), var(--bbm-shadow);
}
.bbm-profile__intro { flex: 1 1 300px; min-width: 0; padding-bottom: 4px; }
.bbm-profile__name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4em;
	margin: 0;
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
.bbm-profile__tagline { margin: 0.1em 0 0.45em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.bbm-profile__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding-bottom: 4px; }
.bbm-profile__actions .bbm-contact { margin: 0; }

.bbm-profile__columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.bbm-profile__bio { font-size: 1.02em; }
.bbm-profile__bio p:last-child { margin-bottom: 0; }
.bbm-profile__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.bbm-profile__gallery a { display: block; overflow: hidden; border-radius: 18px; }
.bbm-profile__gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s ease; }
.bbm-profile__gallery a:hover img { transform: scale(1.06); }

.bbm-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0.6em; margin-bottom: 20px; }
.bbm-section-head .bbm-heading { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bbm-section-head .bbm-script { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.bbm-section-head__link { margin-left: auto; font-family: var(--bbm-font-display); }

.bbm-empty {
	padding: 30px;
	border-radius: 22px;
	background: var(--bbm-mist);
	color: var(--bbm-heading);
	text-align: center;
	font-family: var(--bbm-font-display);
}

/* Reviews */
.bbm-rating-summary { display: flex; align-items: center; gap: 0.6em; margin: 0 0 1em; font-size: 1.1em; }
.bbm-rating-summary strong { font-family: var(--bbm-font-display); font-size: 2em; color: var(--bbm-heading); line-height: 1; }
.bbm-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bbm-review-item {
	padding: 1.2em 1.4em;
	border: 1px solid var(--bbm-card-border);
	border-radius: 22px;
	background: var(--bbm-card);
}
.bbm-review-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; margin-bottom: 0.5em; }
.bbm-review-item header strong { color: var(--bbm-heading); font-family: var(--bbm-font-display); }
.bbm-review-item header small { color: var(--bbm-muted); margin-left: auto; }
.bbm-review-item p:last-child { margin-bottom: 0; }
.bbm-review-item__reply {
	margin: 0.8em 0 0;
	padding: 0.7em 1em;
	border: 0;
	border-left: 3px solid var(--bbm-petal);
	border-radius: 0 14px 14px 0;
	background: var(--bbm-mist);
	font-size: 0.95em;
	font-style: normal;
}
.bbm-reply-form { display: flex; gap: 0.6em; align-items: flex-start; margin-top: 0.8em; }
.bbm-reply-form textarea { flex: 1; }

/* ---------------------------------------------------------------------------
 * Directory
 * ------------------------------------------------------------------------- */

.bbm-directory__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 24px;
	padding: 6px;
	border: 1px solid var(--bbm-heading);
	border-radius: 40px;
	background: var(--bbm-pill);
}
.bbm-directory__filters input[type="search"] { flex: 1 1 240px; border-color: transparent; border-radius: 40px; }
.bbm-directory__filters select { flex: 0 1 190px; border-color: transparent; border-radius: 40px; }
.bbm-directory__filters label { display: inline-flex; align-items: center; gap: 0.4em; padding: 0 0.6em; color: var(--bbm-heading); font-size: 0.92em; white-space: nowrap; }
.bbm-directory__filters .button { border-radius: 40px !important; }
.bbm-directory__count { margin: -8px 0 16px; color: var(--bbm-muted); font-size: 0.9em; }

.bbm-directory__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bbm-seller-card {
	display: flex;
	flex-direction: column;
	padding: 10px 10px 20px;
	background: var(--bbm-card);
	border: 1px solid var(--bbm-card-border);
	border-radius: 24px;
	box-shadow: var(--bbm-shadow);
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bbm-seller-card:hover { transform: translateY(-4px); box-shadow: var(--bbm-shadow-lift); }
.bbm-seller-card__link { display: block; color: inherit; text-decoration: none; }
.bbm-seller-card__banner {
	display: block;
	height: 120px;
	overflow: hidden;
	border-radius: 18px;
	background:
		radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.75) 2.5px, transparent 3.5px) 0 0 / 24px 24px,
		linear-gradient(135deg, var(--bbm-blush), var(--bbm-petal));
}
.bbm-seller-card__banner img { width: 100%; height: 100%; object-fit: cover; }
.bbm-seller-card__avatar {
	position: relative;
	display: block;
	width: 88px;
	height: 88px;
	margin: -44px auto 8px;
	border-radius: 50%;
	border: 4px solid #fff;
	object-fit: cover;
	background: #fff;
	box-shadow: 0 0 0 2px var(--bbm-petal);
}
.bbm-seller-card__name { display: block; color: var(--bbm-heading); font-family: var(--bbm-font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.bbm-seller-card__badge { display: block; margin-top: 4px; }
.bbm-seller-card__tagline { margin: 0.25em 0.6em 0; font-size: 1.45rem; }
.bbm-seller-card .bbm-chips { justify-content: center; margin: 0.8em 0.6em 0; }
.bbm-seller-card .bbm-chips li { font-size: 0.78rem; padding: 0.2em 0.75em; }
.bbm-seller-card__cta { margin-top: auto; padding-top: 16px; }

/* ---------------------------------------------------------------------------
 * Application
 * ------------------------------------------------------------------------- */

.bbm-application-form__intro { margin-bottom: 1.5em; }
.bbm-application-status__label { display: flex; align-items: center; gap: 0.6em; margin-top: 0; font-family: var(--bbm-font-display); color: var(--bbm-heading); }
.bbm-reason {
	margin: 0.8em 0;
	padding: 0.9em 1.2em;
	border: 0;
	border-left: 4px solid var(--bbm-petal);
	border-radius: 0 16px 16px 0;
	background: var(--bbm-mist);
	font-style: normal;
}
.bbm-reason p:last-child { margin-bottom: 0; }
.bbm-login-required { text-align: center; }

/* ---------------------------------------------------------------------------
 * Seller dashboard
 * ------------------------------------------------------------------------- */

.bbm-dashboard__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}
.bbm-dashboard__head strong { color: var(--bbm-heading); font-family: var(--bbm-font-display); font-size: 1.25rem; }
.bbm-dashboard__avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bbm-petal);
}
.bbm-dashboard__banner img { max-width: 100%; height: auto; border-radius: 16px; margin-bottom: 0.5em; }

/* Pill navigation, styled like the site's main menu. */
.bbm-tabs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	margin: 0 0 28px;
	padding: 5px;
	list-style: none;
	border: 1px solid var(--bbm-heading);
	border-radius: 40px;
	background: var(--bbm-pill);
}
.bbm-tabs a {
	display: block;
	padding: 0.5em 1.1em;
	border-radius: 40px;
	color: var(--bbm-heading);
	font-family: var(--bbm-font-display);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease, background-color 0.15s ease;
}
.bbm-tabs a:hover { color: var(--bbm-accent); }
.bbm-tabs .is-active a { background: #fff; color: var(--bbm-accent); box-shadow: 0 2px 8px rgba(143, 88, 134, 0.18); }

.bbm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
	margin: 0 0 1.6em;
	padding: 0;
	list-style: none;
}
.bbm-cards li {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
	padding: 1.1em 1.2em;
	background: var(--bbm-card);
	border: 1.5px solid var(--bbm-card-border);
	border-radius: 22px;
	box-shadow: var(--bbm-shadow);
}
.bbm-cards__label { color: var(--bbm-muted); font-size: 0.82em; text-transform: uppercase; letter-spacing: 0.04em; }
.bbm-cards__value { color: var(--bbm-heading); font-family: var(--bbm-font-display); font-size: 1.6em; font-weight: 600; line-height: 1.2; }
.bbm-cards li a { font-size: 0.9em; }

.bbm-dashboard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.6em; }

.bbm-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1em; margin-bottom: 1.2em; }
.bbm-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.bbm-toolbar .bbm-filters { margin: 0; }
.bbm-filters a {
	display: block;
	padding: 0.35em 1em;
	border: 1px solid var(--bbm-card-border);
	border-radius: 40px;
	background: #fff;
	color: var(--bbm-heading);
	text-decoration: none;
	font-size: 0.92em;
}
.bbm-filters .is-active a { background: var(--bbm-pill); border-color: var(--bbm-heading); color: var(--bbm-accent); }

.bbm-table {
	width: 100%;
	margin: 0 0 1.5em;
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1.5px solid var(--bbm-card-border) !important;
	border-radius: 20px !important;
	overflow: hidden;
	background: #fff;
}
.bbm-table th {
	padding: 0.8em 1em !important;
	background: var(--bbm-mist);
	color: var(--bbm-heading);
	font-family: var(--bbm-font-display);
	font-weight: 600;
	text-align: left;
	border: 0 !important;
}
.bbm-table td { padding: 0.8em 1em !important; border: 0 !important; border-top: 1px solid var(--bbm-blush) !important; vertical-align: middle; }
.bbm-table tfoot th,
.bbm-table tfoot td { background: #fff; border-top: 1px solid var(--bbm-blush) !important; }
.bbm-table img.bbm-products__thumb { width: 52px; height: 52px; margin-right: 0.6em; object-fit: cover; border-radius: 12px; vertical-align: middle; }
.bbm-products__actions { white-space: nowrap; }
.bbm-products__actions > * { margin: 2px; }
.bbm-rejection { margin-top: 0.4em; color: #8a5a00; font-size: 0.9em; }
.bbm-negative { color: #a3172f; }

.bbm-product-form__actions { display: flex; flex-wrap: wrap; gap: 0.6em; }
.bbm-radio-card {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0.5em 0.5em 0;
	padding: 0.65em 1.1em;
	border: 1.5px solid var(--bbm-card-border);
	border-radius: 18px;
	background: #fff;
	color: var(--bbm-heading);
	cursor: pointer;
}
.bbm-radio-card:has(input:checked) { border-color: var(--bbm-heading); background: var(--bbm-pill); }
.bbm-method-fields { margin-top: 1em; }
.bbm-method-fields[hidden] { display: none; }
.bbm-dashboard section.bbm-card h3 { margin-top: 0; }

/* ---------------------------------------------------------------------------
 * Messages
 * ------------------------------------------------------------------------- */

.bbm-inbox {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1.5px solid var(--bbm-card-border);
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
}
.bbm-inbox li + li { border-top: 1px solid var(--bbm-blush); }
.bbm-inbox a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 0.1em 1em;
	padding: 0.95em 1.2em;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.bbm-inbox a:hover { background: var(--bbm-mist); }
.bbm-inbox strong { color: var(--bbm-heading); font-family: var(--bbm-font-display); font-weight: 500; }
.bbm-inbox .is-unread strong { font-weight: 700; }
.bbm-inbox__subject { grid-column: 1; overflow: hidden; color: var(--bbm-muted); text-overflow: ellipsis; white-space: nowrap; }
.bbm-inbox small { grid-row: 1; grid-column: 2; color: var(--bbm-muted); }
.bbm-inbox__badge {
	grid-row: 1 / span 2;
	grid-column: 3;
	align-self: center;
	min-width: 1.6em;
	padding: 0.15em 0.55em;
	border-radius: 40px;
	background: var(--bbm-accent);
	color: #fff;
	font-size: 0.8em;
	font-weight: 700;
	text-align: center;
}
.bbm-thread { display: flex; flex-direction: column; gap: 0.8em; margin: 1.2em 0; padding: 0; list-style: none; }
.bbm-thread__message {
	max-width: 80%;
	padding: 0.75em 1.05em;
	border: 1px solid var(--bbm-card-border);
	border-radius: 20px 20px 20px 6px;
	background: #fff;
}
.bbm-thread__message.is-mine {
	align-self: flex-end;
	border-color: transparent;
	border-radius: 20px 20px 6px 20px;
	background: var(--bbm-blush);
}
.bbm-thread__message p:last-child { margin-bottom: 0; }
.bbm-thread__message small { color: var(--bbm-muted); font-size: 0.75em; }
.bbm-thread__context { color: var(--bbm-muted); }

/* ---------------------------------------------------------------------------
 * Customer order page
 * ------------------------------------------------------------------------- */

.bbm-order-sellers { margin-top: 2em; }
.bbm-order-seller header { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.4em; font-family: var(--bbm-font-display); }
.bbm-order-seller__review { padding: 0.8em 1em; border-radius: 16px; background: var(--bbm-mist); }

.bbm-star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; margin: 0 0 0.5em; padding: 0; border: 0; }
.bbm-star-input legend { width: 100%; margin-bottom: 0.25em; padding: 0; }
.bbm-star-input input { position: absolute; opacity: 0; }
.bbm-star-input label { padding: 0 2px; color: rgba(143, 88, 134, 0.25); font-size: 1.8em; cursor: pointer; transition: transform 0.1s ease; }
.bbm-star-input label:hover { transform: scale(1.15); }
.bbm-star-input input:checked ~ label,
.bbm-star-input label:hover,
.bbm-star-input label:hover ~ label { color: var(--bbm-accent); }
.bbm-star-input input:focus-visible + label { outline: 2px solid var(--bbm-accent); border-radius: 4px; }

/* ---------------------------------------------------------------------------
 * Small screens
 * ------------------------------------------------------------------------- */

@media (max-width: 767px) {
	body { --bbm-header-offset: 140px; }
	.bbm-profile__identity { flex-direction: column; align-items: center; margin-top: -60px; text-align: center; }
	.bbm-profile__avatar { width: 120px; height: 120px; }
	.bbm-profile__name,
	.bbm-profile__intro .bbm-chips,
	.bbm-profile__actions { justify-content: center; }
	.bbm-tabs ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.bbm-directory__filters { border-radius: 24px; }
	.bbm-directory__filters select,
	.bbm-directory__filters .button { flex: 1 1 100%; }
	.bbm-thread__message { max-width: 92%; }
	.bbm-ui ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------------------------------------------------------------------------
 * Violations, digest
 * ------------------------------------------------------------------------- */

.bbm-violation { border-color: #f3b3c0; background: #fff7f9; }
.bbm-violation--major { border-color: #e2667d; }
.bbm-violation h3 { display: flex; align-items: baseline; gap: 0.6em; }
.bbm-violation h3 small { color: var(--bbm-muted); font-size: 0.7em; font-weight: 400; }

.bbm-digest__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0.8em; margin-bottom: 1em; }
.bbm-digest__head .bbm-heading { margin: 0; }
.bbm-digest__head .bbm-script { font-size: 1.6rem; }
.bbm-digest .bbm-table th { width: 60%; font-family: var(--bbm-font-body); font-weight: 500; }
.bbm-unsold { margin: 0; padding-left: 1.2em; }
.bbm-unsold li { margin: 0.2em 0; }

/* Returns, legal links */
.bbm-return { margin: 0.8em 0; padding-top: 0.8em; border-top: 1px dashed var(--bbm-card-border); }
.bbm-return__status { display: flex; align-items: center; gap: 0.5em; margin: 0 0 0.4em; font-family: var(--bbm-font-display); color: var(--bbm-heading); }
.bbm-return__items { margin: 0 0 0.6em 1.2em; }
.bbm-return__request > summary { list-style: none; }
.bbm-return__request > summary::-webkit-details-marker { display: none; }
.bbm-return-form { margin-top: 0.8em; padding: 1.2em 1.4em 0.4em; border: 1.5px solid var(--bbm-card-border); border-radius: 22px; background: var(--bbm-mist); }
.bbm-return-decision .bbm-radio-card { display: flex; }
.bbm-status--escalated { background: #e8eefe; color: #2b4f9e; }
.bbm-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3em 0.2em; font-size: 0.9em; }
.bbm-legal-links a { color: inherit; }

/* ---------------------------------------------------------------------
 * 0.9: pattern details, favorites, vacation, shipping, sales, customs, stats
 * ------------------------------------------------------------------- */

.bbm-pattern-details { display: flex; flex-wrap: wrap; gap: 6px; margin: 0.4em 0 1em; padding: 0; list-style: none; }
.bbm-pattern-details li {
	display: inline-flex;
	gap: 0.35em;
	align-items: baseline;
	padding: 0.25em 0.8em;
	background: var(--bbm-pill);
	border: 1px solid var(--bbm-petal);
	border-radius: 999px;
	color: var(--bbm-text);
	font-size: 0.82rem;
	line-height: 1.4;
}
.bbm-pattern-details__label { color: var(--bbm-muted); }
.bbm-pattern-details__value { color: var(--bbm-heading); font-weight: 600; }
.products .bbm-pattern-details { justify-content: center; margin: 0.2em 0 0.5em; }
.products .bbm-pattern-details li { font-size: 0.72rem; padding: 0.1em 0.6em; }

/* Favorite / follow buttons: see "Favorite buttons" below. */
.bbm-seller-card__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.bbm-vacation-notice,
.bbm-ships-from {
	margin: 0.4em 0 1em;
	padding: 0.6em 1em;
	border-radius: var(--bbm-radius-sm);
	font-size: 0.92rem;
}
.bbm-vacation-notice { background: #f1eafe; border: 1px solid #d5c6f5; color: #4b3a7a; }
.bbm-ships-from { padding: 0; color: var(--bbm-muted); }
.bbm-chips .bbm-chip--vacation { background: #f1eafe; color: #4b3a7a; }
.bbm-chips .bbm-chip--customs { background: #e3f6e8; color: #23683a; }

.bbm-sale-badge {
	display: inline-block;
	margin-left: 0.4em;
	padding: 0.1em 0.6em;
	background: var(--bbm-accent);
	border-radius: 999px;
	color: #fff;
	font-size: 0.72em;
	font-weight: 600;
	letter-spacing: 0.02em;
	vertical-align: middle;
}
.bbm-sale-events { margin: 0; padding: 0; list-style: none; }
.bbm-sale-event {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.8em;
	padding: 0.9em 0;
	border-bottom: 1px dashed var(--bbm-petal);
}
.bbm-sale-event:last-child { border-bottom: 0; }
.bbm-sale-event.is-joined strong::after { content: " ✓"; color: #23683a; }

.bbm-customs .bbm-columns > .bbm-card { margin: 0; }
.bbm-custom-form__vendor { display: flex; align-items: center; gap: 0.7em; }
.bbm-custom-form__vendor img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bbm-petal); }
.bbm-custom-price { margin: 0.2em 0; color: var(--bbm-heading); font-family: var(--bbm-font-display); font-size: 1.8em; font-weight: 600; }
.bbm-custom-cta { margin-left: 0; }
.bbm-profile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bbm-status--quoted, .bbm-status--balance_due, .bbm-status--accepted { background: #fff3d6; color: #8a5a00; }
.bbm-status--in_progress, .bbm-status--active { background: #e8eefe; color: #2b4f9e; }
.bbm-status--declined { background: #fde4e7; color: #a3172f; }

.bbm-stats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8em; margin-bottom: 1em; }
.bbm-stats__head .bbm-heading { margin: 0; }
.bbm-stats .bbm-chips li.is-active { background: var(--bbm-accent); }
.bbm-stats .bbm-chips li.is-active a { color: #fff; }
.bbm-stats__table td:not(:first-child),
.bbm-stats__table th:not(:first-child) { text-align: right; }

.bbm-featured-listings { margin: 0 0 1em; }
.bbm-follow-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8em; margin: 1em 0 2em; }

/* =========================================================================
 * Storefront widgets (Etsy-style, BellaBlume pink)
 * Base looks only: every color, stroke, shadow and state can be changed in
 * each widget's Style tab, and those settings always win over these.
 * ===================================================================== */

.bbm-svg { display: block; width: 1em; height: 1em; }
.bbm-ico { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; font-size: 1.25em; line-height: 1; flex: none; }
.bbm-ico svg, .bbm-ico i { width: 100%; height: 100%; font-size: inherit; }
.bbm-ico i { display: inline-flex; align-items: center; justify-content: center; }
.bbm-reset, .bbm-ui button.bbm-reset { -webkit-appearance: none; appearance: none; }

/* Shared clickable reset (beats theme / kit button styles; Elementor style settings beat this). */
.bbm-ui.bbm-ui :is(.bbm-catmenu__btn, .bbm-hdr__signin, .bbm-hdr__account, .bbm-hdr__icon, .bbm-hdr__sell, .bbm-search__submit, .bbm-rail__arrow, .bbm-catmenu__close, .bbm-search__clear),
.bbm-ui.bbm-ui :is(.bbm-catmenu__btn, .bbm-hdr__account, .bbm-search__submit, .bbm-rail__arrow, .bbm-catmenu__close):is(:hover, :focus) {
	text-transform: none;
	letter-spacing: normal;
}
.bbm-ui.bbm-ui :is(.bbm-catmenu__btn, .bbm-hdr__signin, .bbm-hdr__account, .bbm-hdr__icon, .bbm-hdr__sell, .bbm-search__submit, .bbm-rail__arrow) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	margin: 0;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--bbm-button-ink);
	font-family: var(--bbm-font-display);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bbm-ui.bbm-ui :is(.bbm-catmenu__btn, .bbm-hdr__signin, .bbm-hdr__account, .bbm-hdr__icon, .bbm-hdr__sell):is(:hover, :focus-visible) { background: var(--bbm-pill); color: var(--bbm-button-ink); }
.bbm-ui.bbm-ui :is(.bbm-catmenu__btn, .bbm-hdr__account).is-open { background: var(--bbm-blush); border-color: var(--bbm-petal); color: var(--bbm-button-ink); }
.bbm-ui :is(.bbm-catmenu__btn, .bbm-hdr__signin, .bbm-hdr__account, .bbm-hdr__icon, .bbm-search__submit, .bbm-rail__arrow):focus-visible { outline: 2px solid var(--bbm-accent); outline-offset: 2px; }

/* --- Search ------------------------------------------------------------ */
.bbm-search { position: relative; width: 100%; margin-inline: auto; }
.bbm-search.bbm-ui .bbm-search__form {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	margin: 0;
	padding: 3px 4px 3px 8px;
	background: #fff;
	border: 2px solid var(--bbm-button-ink);
	border-radius: 999px;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.bbm-search.bbm-ui .bbm-search__form:hover { box-shadow: 0 4px 16px rgba(143, 88, 134, 0.16); }
.bbm-search.bbm-ui .bbm-search__form:focus-within { border-color: var(--bbm-accent); box-shadow: 0 0 0 4px rgba(255, 91, 228, 0.18); }
.bbm-search.bbm-ui .bbm-search__input,
.bbm-search.bbm-ui .bbm-search__input:focus {
	flex: 1 1 auto;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0.45em 0.6em;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: 0;
	color: var(--bbm-text);
	font-size: 1rem;
}
.bbm-search__input::-webkit-search-cancel-button { cursor: pointer; }
.bbm-search.bbm-ui .bbm-search__cat,
.bbm-search.bbm-ui .bbm-search__cat:focus {
	flex: none;
	max-width: 34%;
	height: auto;
	margin: 0;
	padding: 0.4em 1.6em 0.4em 0.8em;
	background-color: transparent;
	border: 0;
	border-right: 1.5px solid var(--bbm-petal);
	border-radius: 0;
	box-shadow: none;
	color: var(--bbm-heading);
	font-weight: 600;
}
.bbm-search.bbm-ui .bbm-search__submit { flex: none; min-height: 40px; padding: 0 1.1em; background: var(--bbm-button); border-color: var(--bbm-button-ink); color: var(--bbm-button-ink); }
.bbm-search.bbm-ui .bbm-search__submit--icon { width: 40px; height: 40px; padding: 0; }
.bbm-search.bbm-ui .bbm-search__submit:hover { background: var(--bbm-accent); border-color: var(--bbm-accent); color: #fff; }
.bbm-search.bbm-ui .bbm-search__submit:active { transform: scale(0.95); }
.bbm-search__submit .bbm-ico { font-size: 1.15em; }
.bbm-search__panel {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	max-height: min(70vh, 560px);
	overflow-y: auto;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--bbm-petal);
	border-radius: 22px;
	box-shadow: var(--bbm-shadow-lift);
	color: var(--bbm-text);
	text-align: left;
}
.bbm-search__group + .bbm-search__group { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--bbm-petal); }
.bbm-search__group-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; color: var(--bbm-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.bbm-ui.bbm-ui .bbm-search__clear { padding: 0; background: none; border: 0; color: var(--bbm-accent); font-size: 0.75rem; font-weight: 600; cursor: pointer; text-transform: uppercase; }
.bbm-search.bbm-ui .bbm-panel-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; color: var(--bbm-text); text-decoration: none; }
.bbm-search.bbm-ui .bbm-panel-item:hover,
.bbm-search.bbm-ui .bbm-panel-item.is-active { background: var(--bbm-pill); color: var(--bbm-heading); }
.bbm-search__product img, .bbm-search__shop img { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.bbm-search__shop img { border-radius: 50%; }
.bbm-search__product span, .bbm-search__shop span { display: flex; flex-direction: column; min-width: 0; }
.bbm-search__product strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.bbm-search__product small { color: var(--bbm-muted); }
.bbm-search__clock { width: 20px; color: var(--bbm-muted); text-align: center; }
.bbm-search__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 6px 6px; }
.bbm-search.bbm-ui .bbm-search__chip { padding: 0.3em 0.9em; background: var(--bbm-pill); border: 1px solid var(--bbm-petal); border-radius: 999px; font-size: 0.9rem; }
.bbm-search.bbm-ui .bbm-search__all { justify-content: center; margin-top: 6px; color: var(--bbm-accent); font-weight: 600; }
.bbm-search__none { margin: 0; padding: 12px; color: var(--bbm-muted); }

/* --- Categories mega menu ---------------------------------------------- */
.bbm-catmenu { position: relative; display: inline-block; }
.bbm-catmenu.bbm-ui .bbm-catmenu__btn { padding: 0.55em 1em; }
.bbm-catmenu__panel {
	position: absolute;
	z-index: 1001;
	top: calc(100% + 10px);
	left: 0;
	width: min(860px, 92vw);
	min-height: 320px;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--bbm-petal);
	border-radius: 24px;
	box-shadow: var(--bbm-shadow-lift);
	color: var(--bbm-text);
	text-align: left;
}
.bbm-catmenu__mobile-head { display: none; }
.bbm-catmenu__list { position: relative; width: 34%; min-height: 296px; margin: 0; padding: 0 12px 0 0; list-style: none; border-right: 1px dashed var(--bbm-petal); }
.bbm-catmenu.bbm-ui .bbm-catmenu__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 0.6em 0.9em;
	border: 1px solid transparent;
	border-radius: 14px;
	color: var(--bbm-heading);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.bbm-catmenu.bbm-ui .bbm-catmenu__top:hover,
.bbm-catmenu.bbm-ui .bbm-catmenu__top.is-active { background: var(--bbm-pill); color: var(--bbm-accent); }
.bbm-catmenu__top .bbm-svg { flex: none; width: 0.9em; height: 0.9em; opacity: 0.6; }
.bbm-catmenu__top small { color: var(--bbm-muted); font-weight: 400; }
.bbm-catmenu__pane { position: absolute; top: 0; left: calc(100% + 12px); display: none; width: calc(194% - 12px); padding: 4px 8px; }
.bbm-catmenu__item.is-active > .bbm-catmenu__pane { display: block; }
.bbm-catmenu.bbm-ui .bbm-catmenu__pane-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3em 0.8em; margin: 0.2em 0 0.7em; color: var(--bbm-heading); font-family: var(--bbm-font-display); font-size: 1.35rem; font-weight: 600; text-decoration: none; }
.bbm-catmenu__all { color: var(--bbm-accent); font-family: var(--bbm-font-body); font-size: 0.9rem; }
.bbm-catmenu__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; margin: 0; padding: 0; list-style: none; }
.bbm-catmenu__sub.has-images { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bbm-catmenu.bbm-ui .bbm-catmenu__sub a { display: flex; align-items: center; gap: 10px; padding: 0.4em 0.3em; border-radius: 12px; color: var(--bbm-text); text-decoration: none; }
.bbm-catmenu.bbm-ui .bbm-catmenu__sub a:hover { color: var(--bbm-accent); }
.bbm-catmenu__sub.has-images a { flex-direction: column; align-items: stretch; text-align: center; }
.bbm-catmenu__thumb { display: block; overflow: hidden; aspect-ratio: 1; background: var(--bbm-pill); border-radius: 18px; }
.bbm-catmenu__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.bbm-catmenu__sub a:hover .bbm-catmenu__thumb img { transform: scale(1.06); }
.bbm-catmenu__feature img { max-height: 240px; border-radius: 20px; object-fit: cover; }

@media (max-width: 767px) {
	.bbm-catmenu--compact .bbm-catmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.bbm-catmenu__panel { position: fixed; top: 0; bottom: 0; left: 0; width: min(380px, 88vw) !important; min-height: 0; overflow-y: auto; padding: 16px; border-radius: 0 24px 24px 0; animation: bbm-drawer 0.25s ease; }
	.bbm-catmenu.is-open::before { content: ""; position: fixed; z-index: 1000; inset: 0; background: rgba(67, 8, 58, 0.35); }
	.bbm-catmenu__mobile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: var(--bbm-heading); font-family: var(--bbm-font-display); font-size: 1.2rem; }
	.bbm-ui.bbm-ui .bbm-catmenu__close { display: inline-flex; padding: 8px; background: var(--bbm-pill); border: 0; border-radius: 50%; color: var(--bbm-button-ink); font-size: 1.1rem; cursor: pointer; }
	.bbm-catmenu__list { width: auto; min-height: 0; padding: 0; border: 0; }
	.bbm-catmenu__pane,
	.bbm-catmenu__item.is-active > .bbm-catmenu__pane { position: static; display: none; width: auto; padding: 4px 0 10px 12px; }
	.bbm-catmenu__item.is-expanded > .bbm-catmenu__pane { display: block; }
	.bbm-catmenu__item.is-expanded .bbm-catmenu__top .bbm-svg { transform: rotate(90deg); }
	.bbm-catmenu.bbm-ui .bbm-catmenu__pane-title { font-size: 1rem; }
	.bbm-catmenu__sub, .bbm-catmenu__sub.has-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html.bbm-drawer-open { overflow: hidden; }
}
@keyframes bbm-drawer { from { transform: translateX(-100%); } to { transform: none; } }

/* --- Header actions ---------------------------------------------------- */
.bbm-hdr { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 6px; }
.bbm-hdr.bbm-ui .bbm-hdr__signin { padding: 0.55em 1.1em; }
.bbm-hdr.bbm-ui .bbm-hdr__sell { padding: 0.55em 1em; font-weight: 500; }
.bbm-hdr.bbm-ui .bbm-hdr__account { padding: 4px 8px 4px 4px; }
.bbm-hdr.bbm-ui .bbm-hdr__account .bbm-svg { width: 0.8em; height: 0.8em; opacity: 0.7; transition: transform 0.2s ease; }
.bbm-hdr.bbm-ui .bbm-hdr__account.is-open .bbm-svg { transform: rotate(180deg); }
.bbm-hdr.bbm-ui .bbm-hdr__account .bbm-ico .bbm-svg { width: 100%; height: 100%; opacity: 1; transform: none; }
.bbm-hdr__avatar { width: 34px; height: 34px; border: 2px solid var(--bbm-petal); border-radius: 50%; object-fit: cover; }
.bbm-hdr.bbm-ui .bbm-hdr__icon { position: relative; width: 44px; height: 44px; padding: 0; }
.bbm-hdr__icon .bbm-ico { font-size: 1.4rem; }
.bbm-hdr__badge {
	position: absolute;
	top: 1px;
	right: 0;
	box-sizing: border-box;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	background: var(--bbm-accent);
	border: 2px solid #fff;
	border-radius: 999px;
	color: #fff;
	font-family: var(--bbm-font-body);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
}
.bbm-hdr__badge.is-empty, .bbm-hdr__badge:empty { display: none; }
.bbm-hdr__dropdown { position: relative; }
.bbm-hdr__menu {
	position: absolute;
	z-index: 1001;
	top: calc(100% + 10px);
	right: 0;
	width: 240px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--bbm-petal);
	border-radius: 20px;
	box-shadow: var(--bbm-shadow-lift);
	text-align: left;
}
.bbm-hdr__hello { margin: 4px 10px 8px; color: var(--bbm-heading); font-family: var(--bbm-font-script); font-size: 1.6rem; line-height: 1.1; }
.bbm-hdr.bbm-ui .bbm-hdr__menu .bbm-panel-item { display: flex; justify-content: space-between; align-items: center; padding: 0.55em 0.8em; border-radius: 12px; color: var(--bbm-text); text-decoration: none; }
.bbm-hdr.bbm-ui .bbm-hdr__menu .bbm-panel-item:hover { background: var(--bbm-pill); color: var(--bbm-heading); }
.bbm-hdr.bbm-ui .bbm-hdr__logout { margin-top: 4px; border-top: 1px dashed var(--bbm-petal); border-radius: 0 0 12px 12px; color: var(--bbm-muted); }
.bbm-hdr__pill { min-width: 20px; padding: 0 6px; background: var(--bbm-accent); border-radius: 999px; color: #fff; font-size: 0.72rem; font-weight: 700; line-height: 20px; text-align: center; }
@media (max-width: 767px) {
	.bbm-hdr.bbm-ui .bbm-hdr__sell { display: none; }
	.bbm-hdr.bbm-ui .bbm-hdr__signin { padding: 0.5em 0.8em; font-size: 0.92rem; }
}

/* --- Quick links bar --------------------------------------------------- */
.bbm-navlinks { overflow: hidden; }
.bbm-navlinks__list { display: flex; justify-content: center; gap: clamp(12px, 3vw, 44px); margin: 0; padding: 0 2px; overflow-x: auto; list-style: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bbm-navlinks__list::-webkit-scrollbar { display: none; }
.bbm-navlinks__list li { flex: none; }
.bbm-navlinks.bbm-ui .bbm-navlinks__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.5em 0.2em;
	color: var(--bbm-button-ink);
	font-family: var(--bbm-font-display);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}
.bbm-navlinks__link::after { content: ""; position: absolute; right: 0.2em; bottom: 0.15em; left: 0.2em; height: 2px; border-radius: 2px; background: var(--bbm-accent); transform: scaleX(0); transition: transform 0.2s ease; }
.bbm-navlinks__link:hover::after, .bbm-navlinks__link.is-current::after { transform: scaleX(1); }
.bbm-navlinks.bbm-ui .bbm-navlinks__link:hover { color: var(--bbm-accent); }
.bbm-navlinks.bbm-ui .bbm-navlinks__link.is-highlight { color: var(--bbm-accent); font-weight: 700; }
@media (max-width: 767px) { .bbm-navlinks__list { justify-content: flex-start !important; } }

/* --- Promo banner ------------------------------------------------------ */
.bbm-banner {
	--bbm-banner-image: 36%;
	display: flex;
	overflow: hidden;
	min-height: 360px;
	border-radius: 18px;
	background: var(--bbm-blush);
	color: var(--bbm-button-ink);
	text-decoration: none;
}
a.bbm-banner, a.bbm-banner:hover { color: var(--bbm-button-ink); }
.bbm-banner--image-left { flex-direction: row-reverse; }
.bbm-banner__copy { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center; align-items: center; gap: 0.6em; padding: 40px clamp(20px, 5vw, 70px); background: var(--bbm-pill); text-align: center; }
.bbm-banner__media { position: relative; flex: 0 0 var(--bbm-banner-image); overflow: hidden; }
.bbm-banner__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transition: transform 0.6s ease; }
.bbm-zoom-yes .bbm-banner:hover .bbm-banner__media img { transform: scale(1.04); }
.bbm-banner__eyebrow { margin: 0; color: var(--bbm-accent); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.bbm-ui .bbm-banner__heading { margin: 0; color: var(--bbm-button-ink); line-height: 1.05; }
.bbm-ui .bbm-banner__heading--script { font-family: var(--bbm-font-script); font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; }
.bbm-ui .bbm-banner__heading--display { font-family: var(--bbm-font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
.bbm-banner__text { margin: 0; max-width: 32em; font-size: 1.08rem; }
.bbm-banner.bbm-ui .bbm-banner__button {
	display: inline-flex;
	margin-top: 0.6em;
	padding: 0.85em 1.6em;
	background: var(--bbm-button-ink);
	border: 1.5px solid var(--bbm-button-ink);
	border-radius: 999px;
	color: #fff;
	font-family: var(--bbm-font-display);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.bbm-banner.bbm-ui .bbm-banner__button:hover,
a.bbm-banner:hover .bbm-banner__button { background: var(--bbm-button); color: var(--bbm-button-ink); transform: translateY(-2px); box-shadow: var(--bbm-shadow); }
@media (max-width: 767px) {
	.bbm-banner, .bbm-banner--image-left { flex-direction: column-reverse; min-height: 0; }
	.bbm-banner__media { flex-basis: auto; aspect-ratio: 4 / 3; }
}

/* --- Promo photo card -------------------------------------------------- */
.bbm-promo {
	--bbm-promo-overlay: #2b0726;
	position: relative;
	display: flex;
	overflow: hidden;
	min-height: 360px;
	border-radius: 18px;
	background: var(--bbm-mist);
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
a.bbm-promo:hover { color: #fff; }
.bbm-promo__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transition: transform 0.6s ease; }
.bbm-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bbm-promo-overlay), transparent 65%); opacity: 0.75; pointer-events: none; }
.bbm-zoom-yes .bbm-promo:hover .bbm-promo__image { transform: scale(1.05); }
.bbm-promo__copy { display: flex; flex-direction: column; gap: 0.35em; margin-top: auto; padding: 24px; }
.bbm-promo--bottom-center .bbm-promo__copy { align-items: center; margin-inline: auto; text-align: center; }
.bbm-promo--center .bbm-promo__copy { align-items: center; margin: auto; text-align: center; }
.bbm-promo--top-left .bbm-promo__copy { margin-top: 0; margin-bottom: auto; }
.bbm-promo--top-left::after { background: linear-gradient(to bottom, var(--bbm-promo-overlay), transparent 65%); }
.bbm-promo--center::after { background: var(--bbm-promo-overlay); opacity: 0.35; }
.bbm-promo__heading { font-family: var(--bbm-font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.2; }
.bbm-promo__link { font-weight: 600; }
.bbm-promo:hover .bbm-promo__link span { display: inline-block; transform: translateX(3px); transition: transform 0.2s ease; }

/* --- Rails: shared grid / carousel ------------------------------------- */
.bbm-rail { --bbm-cols: 4; --bbm-gap: 22px; position: relative; }
.bbm-rail__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 18px; }
.bbm-ui .bbm-rail__title { margin: 0; color: var(--bbm-button-ink); }
.bbm-ui .bbm-rail__title--display { font-family: var(--bbm-font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; }
.bbm-ui .bbm-rail__title--script { font-family: var(--bbm-font-script); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 400; color: var(--bbm-heading); }
.bbm-rail.bbm-ui .bbm-rail__more { color: var(--bbm-heading); font-weight: 600; text-decoration: none; }
.bbm-rail.bbm-ui .bbm-rail__more:hover { color: var(--bbm-accent); }
.bbm-rail__viewport { position: relative; }
.bbm-rail__track { display: grid; grid-template-columns: repeat(var(--bbm-cols), minmax(0, 1fr)); gap: var(--bbm-gap); }
.bbm-rail--carousel .bbm-rail__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 4px 2px 10px;
	margin: -4px -2px -10px;
}
.bbm-rail--carousel .bbm-rail__track::-webkit-scrollbar { display: none; }
.bbm-rail--carousel .bbm-rail__track > * { flex: 0 0 calc((100% - (var(--bbm-cols) - 1) * var(--bbm-gap)) / var(--bbm-cols)); scroll-snap-align: start; }
.bbm-rail.bbm-ui .bbm-rail__arrow {
	position: absolute;
	z-index: 3;
	top: 38%;
	width: 44px;
	height: 44px;
	padding: 0;
	background: #fff;
	border-color: var(--bbm-petal);
	color: var(--bbm-button-ink);
	box-shadow: var(--bbm-shadow);
	font-size: 1.2rem;
	transform: translateY(-50%);
}
.bbm-rail.bbm-ui .bbm-rail__arrow:hover { background: var(--bbm-button); border-color: var(--bbm-button-ink); }
.bbm-rail.bbm-ui .bbm-rail__arrow:disabled { opacity: 0; pointer-events: none; }
.bbm-rail__arrow--prev { left: -16px; }
.bbm-rail__arrow--next { right: -16px; }
.bbm-rail.is-static .bbm-rail__arrow { display: none; }
@media (hover: none) { .bbm-rail.bbm-ui .bbm-rail__arrow { display: none; } }

/* --- Collection tiles -------------------------------------------------- */
.bbm-tiles.bbm-ui .bbm-tile { display: flex; flex-direction: column; gap: 12px; color: var(--bbm-button-ink); text-decoration: none; transition: transform 0.25s ease; }
.bbm-tile__media { position: relative; display: block; overflow: hidden; aspect-ratio: 9 / 10; background: var(--bbm-pill); border-radius: 18px; transition: box-shadow 0.25s ease, border-color 0.25s ease; }
.bbm-tile__media img, .bbm-tile__blank { display: block; width: 100%; height: 100% !important; max-width: none; object-fit: cover; transition: transform 0.5s ease; }
.bbm-zoom-yes .bbm-tile:hover .bbm-tile__media img { transform: scale(1.05); }
.bbm-tiles.bbm-ratio--square .bbm-tile__media { aspect-ratio: 1; }
.bbm-tiles.bbm-ratio--portrait .bbm-tile__media { aspect-ratio: 4 / 5; }
.bbm-tiles.bbm-ratio--landscape .bbm-tile__media { aspect-ratio: 4 / 3; }
.bbm-tiles--square .bbm-tile__media { border-radius: 0; }
.bbm-tiles--circle .bbm-tile__media { aspect-ratio: 1; border-radius: 50%; }
.bbm-tiles--petal .bbm-tile__media { border-radius: 42% 10% 42% 10% / 32% 8% 32% 8%; }
.bbm-tile__caption { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.bbm-tile__title { font-family: var(--bbm-font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.3; transition: color 0.2s ease; }
.bbm-tile:hover .bbm-tile__title { color: var(--bbm-accent); }
.bbm-tile__sub { color: var(--bbm-muted); font-size: 0.88rem; }
.bbm-tiles--caption-overlay .bbm-tile { --bbm-tile-overlay: #2b0726; position: relative; }
.bbm-tiles--caption-overlay .bbm-tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bbm-tile-overlay), transparent 60%); opacity: 0.7; }
.bbm-tiles--caption-overlay .bbm-tile__caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 18px; text-align: left; }
.bbm-tiles--caption-overlay .bbm-tile__title, .bbm-tiles--caption-overlay .bbm-tile__sub, .bbm-tiles--caption-overlay .bbm-tile:hover .bbm-tile__title { color: #fff; }

/* --- Product cards ----------------------------------------------------- */
.bbm-card-product { --bbm-star: var(--bbm-accent); position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid transparent; border-radius: 18px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.bbm-card-product__media { position: relative; overflow: hidden; background: var(--bbm-pill); border-radius: 16px; }
.bbm-card-product__image { display: block; aspect-ratio: 1; }
.bbm-ratio--portrait .bbm-card-product__image { aspect-ratio: 4 / 5; }
.bbm-ratio--tall .bbm-card-product__image { aspect-ratio: 3 / 4; }
.bbm-ratio--landscape .bbm-card-product__image { aspect-ratio: 4 / 3; }
.bbm-card-product__image img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; margin: 0 !important; object-fit: cover; transition: opacity 0.35s ease, transform 0.5s ease; }
.bbm-card-product:hover .bbm-card-product__image img { transform: scale(1.04); }
.bbm-card-product__hover { opacity: 0; }
.has-hover-image:hover .bbm-card-product__hover { opacity: 1; }
.bbm-card-product__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.bbm-card-badge { padding: 0.2em 0.7em; background: rgba(255, 255, 255, 0.92); border-radius: 999px; color: var(--bbm-button-ink); font-size: 0.74rem; font-weight: 700; box-shadow: 0 2px 8px rgba(67, 8, 58, 0.12); }
.bbm-card-badge--sale { background: var(--bbm-accent); color: #fff; }
.bbm-card-badge--muted { background: #f1eaf0; color: #7a6176; }

.bbm-card-product__body { display: flex; flex-direction: column; gap: 3px; padding: 10px 4px 4px; }
.bbm-ui .bbm-card-product__title { display: -webkit-box; overflow: hidden; margin: 0; font-family: var(--bbm-font-body); font-size: 0.95rem; font-weight: 400; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bbm-ui .bbm-card-product__title a { color: var(--bbm-text); text-decoration: none; }
.bbm-ui .bbm-card-product__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

.bbm-card-product__rating { font-size: 0.85rem; }
.bbm-card-product__rating .bbm-stars::after { color: var(--bbm-star); }
.bbm-card-product__price { color: var(--bbm-button-ink); font-size: 1.05rem; font-weight: 700; }
.bbm-card-product__price del { color: var(--bbm-muted); font-size: 0.85em; font-weight: 400; }
.bbm-card-product__price ins { text-decoration: none; }
.bbm-card-product__price .bbm-sale-badge { display: none; }
.bbm-ui .bbm-card-product__vendor { align-self: flex-start; color: var(--bbm-muted); font-size: 0.84rem; }
.bbm-card-product__trusted { color: var(--bbm-badge-color); }

/* =========================================================================
 * Favorite buttons (heart for products, follow for shops)
 * Tripled class: beats theme/kit button styles, while Elementor style
 * settings ({{WRAPPER}} .bbm-fav…) still win.
 * ===================================================================== */
.bbm-fav.bbm-fav.bbm-fav {
	--bbm-heart: var(--bbm-accent);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 40px;
	margin: 0;
	padding: 0.45em 1em;
	background: #fff;
	border: 1.5px solid var(--bbm-petal);
	border-radius: 999px;
	box-shadow: 0 2px 10px rgba(143, 88, 134, 0.12);
	color: var(--bbm-button-ink);
	font-family: var(--bbm-font-display);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.bbm-fav.bbm-fav.bbm-fav:is(:hover, :focus-visible) { background: var(--bbm-mist); border-color: var(--bbm-heart); color: var(--bbm-button-ink); box-shadow: 0 6px 18px rgba(255, 91, 228, 0.22); transform: translateY(-1px); }
.bbm-fav.bbm-fav.bbm-fav:focus-visible { outline: 2px solid var(--bbm-heart); outline-offset: 2px; }
.bbm-fav.bbm-fav.bbm-fav.is-active { background: var(--bbm-pill); border-color: var(--bbm-heart); }
.bbm-fav.bbm-fav.bbm-fav:disabled { cursor: wait; opacity: 0.75; }
.bbm-fav.bbm-fav.is-icon { width: 42px; height: 42px; min-height: 0; padding: 0; }
.bbm-fav__icon { display: inline-flex; width: 1.3em; height: 1.3em; color: var(--bbm-heart); font-size: 1.1em; line-height: 1; }
.bbm-fav__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bbm-fav__svg path { fill: transparent; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: fill 0.2s ease, transform 0.2s ease; }
.bbm-fav:hover .bbm-fav__svg path { fill: color-mix(in srgb, currentColor 18%, transparent); }
.bbm-fav.is-active .bbm-fav__svg path { fill: currentColor; }
.bbm-fav__svg--follow .bbm-fav__check, .bbm-fav.is-active .bbm-fav__svg--follow .bbm-fav__plus { display: none; }
.bbm-fav.is-active .bbm-fav__svg--follow .bbm-fav__check { display: inline; }
.bbm-fav.bbm-fav .bbm-fav__svg--follow path { fill: none; }
.bbm-fav__text:empty, .bbm-fav__count:empty { display: none; }
.bbm-fav__count { min-width: 1.4em; padding: 0.15em 0.45em; background: var(--bbm-pill); border-radius: 999px; color: var(--bbm-heading); font-size: 0.78em; text-align: center; }
.bbm-fav.is-active .bbm-fav__count { background: #fff; }
.bbm-fav.is-pop .bbm-fav__icon { animation: bbm-heart-pop 0.45s cubic-bezier(0.2, 1.6, 0.4, 1); }
.bbm-fav.is-pop::after {
	content: "";
	position: absolute;
	inset: -4px;
	border: 2px solid var(--bbm-heart);
	border-radius: inherit;
	opacity: 0;
	animation: bbm-heart-ring 0.5s ease-out;
	pointer-events: none;
}
@keyframes bbm-heart-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 60% { transform: scale(0.9); } 100% { transform: scale(1); } }
@keyframes bbm-heart-ring { 0% { opacity: 0.7; transform: scale(0.85); } 100% { opacity: 0; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .bbm-fav.is-pop .bbm-fav__icon, .bbm-fav.is-pop::after { animation: none; } }

/* On product cards: a floating circle on the photo. */
.bbm-fav.bbm-fav.bbm-fav--card {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	min-height: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.94);
	border-color: transparent;
	box-shadow: 0 3px 12px rgba(67, 8, 58, 0.18);
	opacity: 0;
	transform: translateY(-4px);
	backdrop-filter: blur(4px);
}
.bbm-fav--card .bbm-fav__icon { color: var(--bbm-button-ink); font-size: 1rem; }
.bbm-fav--card.is-active .bbm-fav__icon, .bbm-fav--card:hover .bbm-fav__icon { color: var(--bbm-heart); }
.bbm-card-product:hover .bbm-fav.bbm-fav--card, .bbm-fav.bbm-fav.bbm-fav--card:focus-visible, .bbm-fav.bbm-fav.bbm-fav--card.is-active { opacity: 1; transform: none; }
.bbm-fav.bbm-fav.bbm-fav--card:hover { background: #fff; transform: scale(1.08); }
@media (hover: none) { .bbm-fav.bbm-fav.bbm-fav--card { opacity: 1; transform: none; } }

/* In shop loops (WooCommerce product grid). */
li.product .bbm-fav.bbm-fav.bbm-fav--loop { position: absolute; z-index: 3; top: 12px; right: 12px; width: 40px; height: 40px; min-height: 0; padding: 0; background: rgba(255, 255, 255, 0.94); border-color: transparent; }
li.product .bbm-fav--loop .bbm-fav__icon { color: var(--bbm-button-ink); font-size: 1rem; }
li.product .bbm-fav--loop.is-active .bbm-fav__icon, li.product .bbm-fav--loop:hover .bbm-fav__icon { color: var(--bbm-heart); }
.bbm-fav.bbm-fav.bbm-fav--single { margin: 0.4em 0 1.2em; }
.bbm-fav-align-stretch .bbm-fav-wrap .bbm-fav { flex: 1 1 auto; }
@media (max-width: 1024px) { .bbm-fav-align-tablet-stretch .bbm-fav-wrap .bbm-fav { flex: 1 1 auto; } }
@media (max-width: 767px) { .bbm-fav-align-mobile-stretch .bbm-fav-wrap .bbm-fav { flex: 1 1 auto; } }

/* =========================================================================
 * Accents for the plugin-built Elementor pages (classes added by
 * BBM_Elementor_Pages::restyle_tree). Purely decorative.
 * ===================================================================== */

/* Hero: soft petals floating behind the script title. */
.bbm-el-hero { position: relative; isolation: isolate; overflow: hidden; }
.bbm-el-hero::before,
.bbm-el-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
	pointer-events: none;
}
.bbm-el-hero::before { top: 18%; left: max(2%, calc(50% - 640px)); width: 220px; height: 220px; background: radial-gradient(circle at 35% 35%, rgba(255, 176, 244, 0.55), rgba(255, 219, 250, 0) 70%); }
.bbm-el-hero::after { right: max(2%, calc(50% - 620px)); bottom: 6%; width: 280px; height: 260px; background: radial-gradient(circle at 60% 40%, rgba(252, 138, 217, 0.35), rgba(255, 236, 252, 0) 70%); transform: rotate(18deg); }
@media (max-width: 767px) { .bbm-el-hero::before, .bbm-el-hero::after { opacity: 0.6; transform: scale(0.6); } }

/* Script titles: a little flourish. */
.bbm-el-script .elementor-heading-title { letter-spacing: 0.01em; }

/* Rounded headings: a hand-drawn wavy underline. */
.bbm-el-heading .elementor-heading-title::after {
	content: "";
	display: block;
	width: 74px;
	height: 10px;
	margin: 12px auto 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 10'%3E%3Cpath d='M2 6c6-5 10-5 16 0s10 5 16 0 10-5 16 0 10 5 16 0 4-3 6-3' fill='none' stroke='%23FF5BE4' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bbm-el-heading.elementor-widget-heading[style*="text-align: left"] .elementor-heading-title::after,
.elementor-align-left.bbm-el-heading .elementor-heading-title::after { margin-left: 0; }

/* Stitched divider with blossoms around the words. */
.bbm-el-stitch .elementor-divider { --divider-border-style: dotted; }
.bbm-el-stitch .elementor-divider__text::before,
.bbm-el-stitch .elementor-divider__text::after { content: "✿"; display: inline-block; margin: 0 0.45em; color: var(--bbm-petal); font-family: var(--bbm-font-body); font-size: 0.6em; vertical-align: middle; }

/* Cards: a blossom sewn onto the top corner. */
.bbm-el-card { position: relative; }
.bbm-el-card::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: -14px;
	right: 26px;
	width: 30px;
	height: 30px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cg fill='%23FFB0F4' stroke='%23FF5BE4' stroke-width='1.2'%3E%3Ccircle cx='15' cy='7.5' r='5.5'/%3E%3Ccircle cx='22.1' cy='12.7' r='5.5'/%3E%3Ccircle cx='19.4' cy='21' r='5.5'/%3E%3Ccircle cx='10.6' cy='21' r='5.5'/%3E%3Ccircle cx='7.9' cy='12.7' r='5.5'/%3E%3C/g%3E%3Ccircle cx='15' cy='15' r='4' fill='%23FFF4FD' stroke='%238F5886' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
	filter: drop-shadow(0 3px 4px rgba(143, 88, 134, 0.25));
	pointer-events: none;
}
.bbm-el-card .bbm-el-card::before { display: none; }

/* Call to action: sparkles. */
.bbm-el-cta { position: relative; overflow: hidden; }
.bbm-el-cta::after {
	content: "✦  ✧     ✦";
	position: absolute;
	top: 18px;
	right: 28px;
	color: var(--bbm-petal);
	font-size: 1.1rem;
	letter-spacing: 0.3em;
	white-space: pre;
	pointer-events: none;
}

/* Buttons: a soft press. */
.bbm-el-button .elementor-button { transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease; }
.bbm-el-button .elementor-button:hover { transform: translateY(-2px); }
.bbm-el-button .elementor-button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--bbm-button-ink) !important; }

/* Feature icons: a dashed ring that spins gently on hover. */
.bbm-el-feature .elementor-icon { position: relative; }
.bbm-el-feature .elementor-icon::after { content: ""; position: absolute; inset: -7px; border: 2px dashed var(--bbm-petal); border-radius: 50%; transition: transform 0.8s ease; }
.bbm-el-feature:hover .elementor-icon::after { transform: rotate(90deg); }

/* FAQ: rounded, separated questions. */
.bbm-el-faq .elementor-toggle-item { overflow: hidden; margin-bottom: 10px; border: 1.5px solid var(--bbm-petal); border-radius: 18px; background: #fff; }
.bbm-el-faq .elementor-toggle-item:has(.elementor-active) { border-color: var(--bbm-accent); box-shadow: var(--bbm-shadow); }
.bbm-el-faq .elementor-tab-title, .bbm-el-faq .elementor-tab-content { border: 0 !important; }

/* House (BellaBlume-made) products. */
.bbm-house-badge { display: inline-flex; align-items: center; gap: 0.3em; padding: 0.12em 0.65em; background: var(--bbm-pill); border: 1px solid var(--bbm-petal); border-radius: 999px; color: var(--bbm-heading); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.bbm-house-badge::before { content: "✿"; color: var(--bbm-accent); }
.bbm-sold-by--loop .bbm-house-badge { display: none; }
.bbm-house-badge--pick { background: #fff; border-style: dashed; }
.bbm-house-badge--pick::before { content: "♡"; }
.bbm-card-product__vendor.is-house::after { content: " ✿"; color: var(--bbm-accent); }
.bbm-card-product__vendor.is-pick::after { content: " ♡"; }

/* Vendor product editor: category & tag pickers. */
.bbm-term-picker__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bbm-term-picker__head label { margin: 0; }
.bbm-term-count { padding: 0.1em 0.7em; background: var(--bbm-pill); border-radius: 999px; color: var(--bbm-heading); font-size: 0.8rem; font-weight: 700; }
.bbm-term-picker.is-full .bbm-term-count { background: var(--bbm-accent); color: #fff; }
.bbm-term-picker > .bbm-help { margin: 2px 0 10px; }
.bbm-ui .bbm-term-picker__filter { margin-bottom: 10px; }
.bbm-checklist--tree { max-height: 280px; overflow-y: auto; padding: 4px; }
.bbm-checklist--tree label.bbm-depth-1 { margin-left: 1.2em; }
.bbm-checklist--tree label.bbm-depth-2 { margin-left: 2.4em; }
.bbm-checklist--tree label.bbm-depth-3 { margin-left: 3.6em; }
.bbm-checklist--tree label.bbm-depth-1::before, .bbm-checklist--tree label.bbm-depth-2::before, .bbm-checklist--tree label.bbm-depth-3::before { content: "↳"; margin-right: 0.2em; color: var(--bbm-muted); }
.bbm-checklist label.is-disabled { opacity: 0.45; cursor: not-allowed; }
.bbm-term-limit { margin: 8px 0 0; color: var(--bbm-accent); font-size: 0.86rem; font-weight: 600; }
.bbm-tag-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 48px; padding: 6px 8px; background: #fff; border: 1.5px solid var(--bbm-card-border); border-radius: 14px; cursor: text; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.bbm-tag-input:focus-within { border-color: var(--bbm-accent); box-shadow: 0 0 0 4px rgba(255, 91, 228, 0.16); }
.bbm-tag-input__chips { display: contents; margin: 0; padding: 0; list-style: none; }
.bbm-tag-input__chips li { display: inline-flex; align-items: center; gap: 4px; padding: 0.3em 0.35em 0.3em 0.8em; background: var(--bbm-pill); border: 1px solid var(--bbm-petal); border-radius: 999px; color: var(--bbm-button-ink); font-size: 0.9rem; font-weight: 600; animation: bbm-chip-in 0.18s ease; }
.bbm-ui .bbm-tag-input__chips button { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; background: #fff; border: 0; border-radius: 50%; color: var(--bbm-heading); font-size: 0.95rem; line-height: 1; cursor: pointer; }
.bbm-ui .bbm-tag-input__chips button:hover { background: var(--bbm-accent); color: #fff; }
.bbm-ui .bbm-tag-input .bbm-tag-input__field,
.bbm-ui .bbm-tag-input .bbm-tag-input__field:focus { flex: 1 1 120px; min-width: 120px; min-height: 0; margin: 0; padding: 0.35em 0.4em; background: transparent; border: 0; box-shadow: none; outline: 0; }
.bbm-term-picker.is-shake .bbm-tag-input { animation: bbm-shake 0.35s ease; }
@keyframes bbm-chip-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes bbm-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

.bbm-sold-by__name { color: var(--bbm-heading); font-weight: 600; }

/* Quick Links Bar (auto): fade while the categories rotate. */
.bbm-navlinks--auto .bbm-navlinks__list li:not([data-pinned]) { transition: opacity 0.28s ease, transform 0.28s ease; }
.bbm-navlinks--auto .bbm-navlinks__list.is-swapping li:not([data-pinned]) { opacity: 0; transform: translateY(4px); }
.bbm-navlinks--auto li[data-pinned] .bbm-navlinks__link { color: var(--bbm-accent); }

/* =========================================================================
 * Avatars: always round. (Elementor's `.elementor img` reset otherwise
 * squares them and drops the border.)
 * ===================================================================== */
.bbm-ui img:is(.bbm-profile__avatar, .bbm-hdr__avatar, .bbm-sold-by__avatar, .bbm-seller-card__avatar, .bbm-dashboard__avatar),
.bbm-account-hello img,
.bbm-custom-form__vendor img {
	border-radius: 50% !important;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--bbm-blush);
}
.bbm-profile img.bbm-profile__avatar { width: 148px; height: 148px; max-width: none; border: 6px solid #fff; box-shadow: var(--bbm-shadow); }
.bbm-ui img.bbm-hdr__avatar { width: 34px; height: 34px; max-width: none; border: 2px solid var(--bbm-petal); }
@media (max-width: 767px) { .bbm-profile img.bbm-profile__avatar { width: 120px; height: 120px; } }
.bbm-fav.is-shake { animation: bbm-shake 0.35s ease; }

/* =========================================================================
 * Booth owner tools
 * ===================================================================== */
.bbm-owner-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; padding: 14px 20px; background: linear-gradient(135deg, #fff, var(--bbm-pill)); border: 2px dashed var(--bbm-petal); border-radius: 22px; }
.bbm-owner-bar__text { display: flex; flex-direction: column; gap: 2px; }
.bbm-owner-bar__text strong { color: var(--bbm-button-ink); font-family: var(--bbm-font-display); font-size: 1.1rem; }
.bbm-owner-bar__text strong::before { content: "✿ "; color: var(--bbm-accent); }
.bbm-owner-bar__text span { color: var(--bbm-muted); font-size: 0.9rem; }
.bbm-owner-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bbm-owner-bar__notice { flex-basis: 100%; margin: 0; padding: 8px 12px; background: #e3f6e8; border-radius: 12px; color: #23683a; font-weight: 600; }
.bbm-owner-bar__notice.is-error { background: #fde4e7; color: #a3172f; }
.bbm-profile__banner { position: relative; }
.bbm-profile__avatar-wrap { position: relative; flex-shrink: 0; }
.bbm-owner-photo { margin: 0; }
.bbm-owner-photo--banner { position: absolute; z-index: 3; top: 14px; right: 14px; display: flex; gap: 8px; }
.bbm-owner-photo--avatar { position: absolute; z-index: 3; right: 4px; bottom: 6px; }
.bbm-ui .bbm-owner-photo__btn { display: inline-flex; align-items: center; gap: 0.4em; margin: 0; padding: 0.5em 1em; background: rgba(255, 255, 255, 0.95); border: 1.5px solid var(--bbm-petal); border-radius: 999px; box-shadow: var(--bbm-shadow); color: var(--bbm-button-ink); font-family: var(--bbm-font-display); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: transform 0.15s ease, border-color 0.2s ease; }
.bbm-ui .bbm-owner-photo__btn:hover { border-color: var(--bbm-accent); transform: translateY(-1px); }
.bbm-owner-photo--avatar .bbm-owner-photo__btn { width: 40px; height: 40px; justify-content: center; padding: 0; }
.bbm-ui.bbm-ui .bbm-owner-photo__remove { padding: 0.5em 0.9em; background: rgba(255, 255, 255, 0.85); border: 0; border-radius: 999px; color: var(--bbm-muted); font-size: 0.82rem; cursor: pointer; }
.bbm-owner-photo.is-uploading .bbm-owner-photo__btn { opacity: 0.6; pointer-events: none; }
.bbm-owner-photo.is-uploading .bbm-owner-photo__btn::after { content: ""; width: 14px; height: 14px; margin-left: 4px; border: 2px solid var(--bbm-petal); border-top-color: var(--bbm-accent); border-radius: 50%; animation: bbm-spin 0.8s linear infinite; }
@keyframes bbm-spin { to { transform: rotate(360deg); } }
.bbm-booth-edit { margin: 18px 0; padding: 0; overflow: hidden; }
.bbm-booth-edit > summary { padding: 16px 22px; color: var(--bbm-button-ink); font-family: var(--bbm-font-display); font-weight: 600; cursor: pointer; list-style: none; }
.bbm-booth-edit > summary::before { content: "✎ "; color: var(--bbm-accent); }
.bbm-booth-edit[open] > summary { border-bottom: 1px dashed var(--bbm-petal); }
.bbm-booth-edit__form { padding: 18px 22px 8px; }
.bbm-profile .bbm-add-tile a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 260px; padding: 20px; background: var(--bbm-mist); border: 2px dashed var(--bbm-petal); border-radius: 18px; color: var(--bbm-button-ink); text-align: center; text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease; box-sizing: border-box; }
.bbm-profile .bbm-add-tile a:hover { background: #fff; border-color: var(--bbm-accent); }
.bbm-add-tile__plus { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #fff; border: 2px solid var(--bbm-petal); border-radius: 50%; color: var(--bbm-accent); font-size: 1.8rem; }
.bbm-add-tile strong { font-family: var(--bbm-font-display); font-size: 1.05rem; }
.bbm-add-tile small { color: var(--bbm-muted); }
li.product .bbm-owner-edit { position: absolute; z-index: 4; top: 12px; left: 12px; padding: 0.3em 0.9em; background: var(--bbm-button-ink); border-radius: 999px; color: #fff !important; font-size: 0.8rem; font-weight: 700; text-decoration: none; box-shadow: var(--bbm-shadow); }
li.product .bbm-owner-edit:hover { background: var(--bbm-accent); }
li.product .bbm-owner-status { position: absolute; z-index: 4; top: 46px; left: 12px; padding: 0.2em 0.7em; background: #fff3d6; border-radius: 999px; color: #8a5a00; font-size: 0.74rem; font-weight: 700; }
.bbm-profile ul.products li.product { position: relative; }

/* Booth name availability. */
.bbm-name-check { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; font-size: 0.9rem; line-height: 1.4; }
.bbm-name-check.is-checking { background: var(--bbm-mist); color: var(--bbm-muted); }
.bbm-name-check.is-ok { background: #e3f6e8; color: #23683a; }
.bbm-name-check.is-taken { background: #fde4e7; color: #a3172f; }
.bbm-name-check__icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: currentColor; font-weight: 700; font-size: 0.75rem; }
.bbm-name-check__icon { color: inherit; }
.bbm-name-check.is-ok .bbm-name-check__icon { background: #23683a; color: #fff; }
.bbm-name-check.is-taken .bbm-name-check__icon { background: #a3172f; color: #fff; }
.bbm-name-check__url { flex-basis: 100%; color: var(--bbm-muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
.bbm-name-check__ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex-basis: 100%; color: var(--bbm-text); }
.bbm-ui.bbm-ui .bbm-name-check__idea { padding: 0.2em 0.8em; background: #fff; border: 1px solid var(--bbm-petal); border-radius: 999px; color: var(--bbm-heading); font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.bbm-ui.bbm-ui .bbm-name-check__idea:hover { border-color: var(--bbm-accent); color: var(--bbm-accent); }
.bbm-ui input.bbm-name-taken { border-color: #e05a72 !important; }

/* Small trusted badge: just the shield; the label slides out on hover/focus. */
.bbm-badge--small { gap: 0; padding: 0.2em; border: 1px solid transparent; border-radius: 999px; cursor: default; transition: background-color 0.2s ease, border-color 0.2s ease, padding 0.2s ease, gap 0.2s ease; }
.bbm-badge--small svg { flex: none; width: 1.15em; height: 1.15em; }
.bbm-badge--small .bbm-badge__label { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width 0.25s ease, opacity 0.2s ease; }
.bbm-badge--small:is(:hover, :focus-visible) { gap: 0.3em; padding: 0.2em 0.6em 0.2em 0.3em; background: #fff; border-color: currentColor; box-shadow: 0 2px 8px rgba(143, 88, 134, 0.18); outline: 0; }
.bbm-badge--small:is(:hover, :focus-visible) .bbm-badge__label { max-width: 14em; opacity: 1; }
@media (hover: none) { .bbm-badge--small:active .bbm-badge__label { max-width: 14em; opacity: 1; } }

/* Trusted badge: bubbly verified rosette. */
.bbm-badge__icon { flex: none; width: 1.15em; height: 1.15em; overflow: visible; filter: drop-shadow(0 1px 1px rgba(67, 8, 58, 0.18)); }
.bbm-badge--large .bbm-badge__icon { width: 1.35em; height: 1.35em; }
.bbm-badge--trusted:hover .bbm-badge__icon { animation: bbm-rosette 0.6s ease; }
@keyframes bbm-rosette { 50% { transform: rotate(18deg) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .bbm-badge--trusted:hover .bbm-badge__icon { animation: none; } }

/* =========================================================================
 * Contact & feedback form
 * ===================================================================== */
.bbm-contact__topics { margin: 0 0 18px; padding: 0; border: 0; }
.bbm-contact__topics legend { margin-bottom: 10px; padding: 0; color: var(--bbm-heading); font-family: var(--bbm-font-display); font-weight: 600; }
.bbm-contact__topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.bbm-contact__topic { position: relative; margin: 0; }
.bbm-contact__topic input { position: absolute; opacity: 0; pointer-events: none; }
.bbm-contact__topic span { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0.7em 0.9em; background: #fff; border: 1.5px solid var(--bbm-petal); border-radius: 16px; color: var(--bbm-heading); font-weight: 600; font-size: 0.92rem; line-height: 1.25; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; box-sizing: border-box; }
.bbm-contact__topic span::before { font-size: 1.1rem; }
.bbm-contact__topic--order span::before { content: "📦"; }
.bbm-contact__topic--selling span::before { content: "🧶"; }
.bbm-contact__topic--feature span::before { content: "💡"; }
.bbm-contact__topic--feedback span::before { content: "💗"; }
.bbm-contact__topic--problem span::before { content: "🛠️"; }
.bbm-contact__topic--other span::before { content: "✿"; color: var(--bbm-accent); }
.bbm-contact__topic span:hover { border-color: var(--bbm-accent); }
.bbm-contact__topic input:checked + span { background: var(--bbm-pill); border-color: var(--bbm-accent); box-shadow: 0 0 0 3px rgba(255, 91, 228, 0.15); }
.bbm-contact__topic input:focus-visible + span { outline: 2px solid var(--bbm-accent); outline-offset: 2px; }
.bbm-contact__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bbm-contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.bbm-contact__submit { min-width: 200px; }
.bbm-contact__sent { padding: 30px 20px; text-align: center; }
.bbm-contact__sent-icon { display: block; font-size: 2.6rem; }
.bbm-contact__sent-title { margin: 6px 0; color: var(--bbm-heading); font-family: var(--bbm-font-script); font-size: 3rem; line-height: 1; }

/* =========================================================================
 * Footer (classes added by the footer draft)
 * ===================================================================== */
.bbm-el-footer { position: relative; }
.bbm-el-footer::before {
	content: "";
	position: absolute;
	top: -15px;
	right: 0;
	left: 0;
	height: 16px;
	background: radial-gradient(circle at 12px 16px, #43083a 11px, transparent 12px) 0 0 / 24px 16px repeat-x;
	pointer-events: none;
}
.bbm-el-footer a { transition: color 0.2s ease; }
.bbm-el-footer .elementor-icon-list-item a:hover .elementor-icon-list-text { text-decoration: underline; text-decoration-color: #ff5be4; text-underline-offset: 4px; }
.bbm-el-footer-idea .elementor-button:hover { transform: translateY(-2px); }

.bbm-el-heading-left .elementor-heading-title::after { margin-left: 0; margin-right: 0; }

/* =========================================================================
 * Mobile
 * Header: [☰ Categories] [logo] … [account ♥ cart]  /  [search, full width]
 * Works on any Elementor / Header Footer Elementor header that uses the
 * marketplace widgets (no need to rebuild it).
 * ===================================================================== */
@media (max-width: 1024px) {
	:is(#masthead, .elementor-location-header) .elementor-widget-bbm-header-actions .bbm-hdr__sell { display: none; }
}

@media (max-width: 767px) {
	html, body { overflow-x: hidden; }

	/* The row holding the search: wrap so search drops onto its own line. */
	:is(#masthead, .elementor-location-header) :is(.e-con, .e-con-inner):has(> .elementor-widget-bbm-search) {
		flex-wrap: wrap !important;
		align-items: center !important;
		column-gap: 8px !important;
		row-gap: 10px !important;
	}
	/* Categories button first, far left. */
	:is(#masthead, .elementor-location-header) .elementor-widget-bbm-categories-menu {
		order: -10 !important;
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
	}
	:is(#masthead, .elementor-location-header) .bbm-catmenu.bbm-ui .bbm-catmenu__btn { width: 44px; height: 44px; padding: 0; }
	:is(#masthead, .elementor-location-header) .bbm-catmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	:is(#masthead, .elementor-location-header) .bbm-catmenu__btn .bbm-ico { font-size: 1.45rem; }
	/* Logo next, taking the free space. */
	:is(#masthead, .elementor-location-header) :is(.e-con, .e-con-inner):has(> .elementor-widget-bbm-search) > :is(.e-con:has(.elementor-widget-theme-site-logo, .elementor-widget-site-logo, .elementor-widget-image), .elementor-widget-theme-site-logo, .elementor-widget-site-logo, .elementor-widget-image) {
		order: -5 !important;
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0;
		max-width: none !important;
		padding: 0 !important;
	}
	:is(#masthead, .elementor-location-header) :is(.elementor-widget-theme-site-logo, .elementor-widget-site-logo) img { width: auto !important; max-width: 100%; max-height: 44px; object-fit: contain; }
	/* Account, favorites and cart on the right. */
	:is(#masthead, .elementor-location-header) .elementor-widget-bbm-header-actions {
		order: -1 !important;
		flex: 0 0 auto !important;
		width: auto !important;
		margin-left: auto !important;
	}
	.bbm-hdr { gap: 2px; }
	.bbm-hdr.bbm-ui .bbm-hdr__icon { width: 40px; height: 40px; }
	.bbm-hdr.bbm-ui .bbm-hdr__signin { min-height: 40px; padding: 0.4em 0.75em; font-size: 0.9rem; }
	.bbm-hdr.bbm-ui .bbm-hdr__account { padding: 3px; }
	.bbm-hdr.bbm-ui .bbm-hdr__account > .bbm-svg { display: none; }
	.bbm-hdr__menu { position: fixed; top: auto; right: 10px; left: 10px; width: auto; margin-top: 10px; }
	/* Search: full width on its own line. */
	:is(#masthead, .elementor-location-header) .elementor-widget-bbm-search {
		order: 10 !important;
		flex: 1 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}
	.bbm-search.bbm-ui .bbm-search__form { min-height: 44px; }
	.bbm-search.bbm-ui .bbm-search__submit--icon { width: 36px; height: 36px; }
	.bbm-search.bbm-ui .bbm-search__cat { display: none; }
	.bbm-search__panel { position: fixed; top: auto; right: 8px; left: 8px; max-height: 65vh; }
	/* Quick links: swipe sideways, fade at the edges. */
	.bbm-navlinks { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent); }
	.bbm-navlinks__list { gap: 18px !important; padding: 0 14px; }
	.bbm-navlinks.bbm-ui .bbm-navlinks__link { padding: 0.4em 0; font-size: 0.95rem; }

	/* Bigger tap targets, no iOS zoom on focus. */
	.bbm-ui :is(input[type="text"], input[type="email"], input[type="search"], input[type="number"], input[type="tel"], input[type="url"], input[type="password"], select, textarea) { font-size: 16px; }
	.bbm-ui :is(.button, button[type="submit"]):not(.bbm-reset) { min-height: 44px; }

	/* Footer (plum): brand on top, link columns two-up, legal row centered. */
	.bbm-el-footer :is(.e-con, .e-con-inner):has(> .e-con > .elementor-widget-heading + .elementor-widget-icon-list) { flex-direction: row !important; flex-wrap: wrap !important; column-gap: 20px !important; row-gap: 26px !important; }
	.bbm-el-footer .e-con:has(> .elementor-widget-heading + .elementor-widget-icon-list) { width: calc(50% - 10px) !important; flex: 0 0 calc(50% - 10px) !important; }
	.bbm-el-footer .e-con:has(> .elementor-widget-theme-site-logo, > .elementor-widget-site-logo) { width: 100% !important; flex: 1 0 100% !important; align-items: center; text-align: center; }
	.bbm-el-footer .e-con:has(> .elementor-widget-theme-site-logo, > .elementor-widget-site-logo) :is(.elementor-widget-text-editor, .elementor-widget-button) { text-align: center !important; }
	.bbm-el-footer .e-con:has(> .elementor-widget-theme-site-logo, > .elementor-widget-site-logo) img { margin-inline: auto; }
	.bbm-el-footer .e-con:has(> .elementor-widget-theme-site-logo, > .elementor-widget-site-logo) .elementor-button-wrapper { text-align: center; }
	.bbm-el-footer .elementor-widget-heading .elementor-heading-title { font-size: 28px !important; }
	.bbm-el-footer .elementor-icon-list-item { padding-block: 4px !important; }
	.bbm-el-footer .elementor-icon-list-items.elementor-inline-items { justify-content: center; row-gap: 6px; }
	.bbm-el-footer .elementor-widget-text-editor:has(+ .elementor-widget-icon-list), .bbm-el-footer .e-con:has(.elementor-inline-items) { text-align: center; justify-content: center !important; }

	/* Booth */
	.bbm-owner-bar { padding: 12px 14px; }
	.bbm-owner-bar__actions { width: 100%; }
	.bbm-owner-bar__actions .button { flex: 1 1 auto; justify-content: center; }
	.bbm-owner-photo--banner { top: 10px; right: 10px; }
	.bbm-ui .bbm-owner-photo__btn { padding: 0.45em 0.8em; font-size: 0.82rem; }
	.bbm-profile .bbm-add-tile a { min-height: 200px; }

	/* Product cards & rails */
	.bbm-rail { --bbm-gap: 12px; }
	.bbm-card-product__title { font-size: 0.9rem; }
	.bbm-rail__head { margin-bottom: 12px; }

	/* Promo blocks */
	.bbm-banner__copy { padding: 26px 18px; }
	.bbm-promo { min-height: 240px; }

	/* Dashboard */
	.bbm-dashboard__head { flex-wrap: wrap; }
	.bbm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.bbm-cards li { padding: 0.9em; }
	.bbm-cards__value { font-size: 1.3em; }
	.bbm-table th, .bbm-table td { padding: 10px 8px; }

	/* Contact */
	.bbm-contact__topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bbm-contact__submit { width: 100%; }

	/* Hero accents shouldn't widen the page */
	.bbm-el-cta::after { display: none; }
}

@media (max-width: 380px) {
	.bbm-cards { grid-template-columns: 1fr; }
	.bbm-hdr.bbm-ui .bbm-hdr__icon { width: 36px; height: 36px; }
	:is(#masthead, .elementor-location-header) :is(.elementor-widget-theme-site-logo, .elementor-widget-site-logo) img { max-height: 36px; }
}

/* Hello Biz stripes every odd table row grey and greys rows on hover; marketplace tables use a soft pink hover instead. */
.bbm-ui.bbm-ui table tbody > tr > :is(td, th),
body.bbm-woo table tbody > tr > :is(td, th) { background-color: transparent; }
.bbm-ui.bbm-ui table tbody > tr:hover > :is(td, th),
body.bbm-woo table.shop_table tbody > tr:hover > :is(td, th) { background-color: rgba(255, 236, 252, 0.55); }
body.bbm-woo table.shop_table tfoot :is(th, td) { background-color: #fffafe; }

/* Vendor verification documents. */
.bbm-doc-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--bbm-heading); font-weight: 600; }
.bbm-doc-progress__bar { position: relative; flex: 0 0 160px; height: 10px; overflow: hidden; background: var(--bbm-pill); border: 1px solid var(--bbm-petal); border-radius: 999px; }
.bbm-doc-progress__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--bbm-progress, 0%); background: linear-gradient(90deg, var(--bbm-petal), var(--bbm-accent)); border-radius: inherit; }
.bbm-docs { display: flex; flex-direction: column; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.bbm-doc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--bbm-petal); border-left-width: 6px; border-radius: 20px; }
.bbm-doc--verified { border-left-color: #6cc48a; }
.bbm-doc--pending { border-left-color: #f2b544; }
.bbm-doc--rejected { border-left-color: #e05a72; }
.bbm-doc__info { display: flex; flex: 1 1 260px; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.bbm-doc__name { color: var(--bbm-button-ink); font-family: var(--bbm-font-display); font-size: 1.02rem; }
.bbm-doc__meta { flex-basis: 100%; color: var(--bbm-muted); font-size: 0.82rem; overflow-wrap: anywhere; }
.bbm-doc__note { flex-basis: 100%; padding: 8px 12px; background: #fff7f8; border-radius: 12px; color: #a3172f; font-size: 0.88rem; }
.bbm-doc-chip { display: inline-flex; align-items: center; gap: 4px; padding: 0.2em 0.75em; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.bbm-doc-chip--missing { background: var(--bbm-pill); color: var(--bbm-muted); }
.bbm-doc-chip--pending { background: #fff3d6; color: #8a5a00; }
.bbm-doc-chip--verified { background: #e3f6e8; color: #23683a; }
.bbm-doc-chip--rejected { background: #fde4e7; color: #a3172f; }
.bbm-doc__upload { flex: 0 1 auto; }
.bbm-doc__done { color: #23683a; font-size: 0.9rem; font-weight: 600; }
.bbm-doc__file { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; padding: 6px 8px 6px 12px; background: var(--bbm-mist); border: 1.5px dashed var(--bbm-petal); border-radius: 16px; cursor: pointer; }
.bbm-doc__file-label { color: var(--bbm-heading); font-size: 0.86rem; font-weight: 700; }
.bbm-doc__file input[type="file"] { max-width: 230px; font-size: 0.85rem; }
@media (max-width: 767px) { .bbm-doc__upload, .bbm-doc__file { width: 100%; } .bbm-doc__file input[type="file"] { max-width: 100%; } }

/* Gifts */
.bbm-gift-notice { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; padding: 12px 14px; background: linear-gradient(135deg, #fff, var(--bbm-pill)); border: 1.5px dashed var(--bbm-petal); border-radius: 18px; }
.bbm-gift-notice__icon { flex: none; font-size: 1.5rem; line-height: 1; }
.bbm-gift-notice div { display: flex; flex-direction: column; gap: 2px; }
.bbm-gift-notice strong { color: var(--bbm-button-ink); font-family: var(--bbm-font-display); }
.bbm-gift-notice small { color: var(--bbm-muted); }
.bbm-gift-checkout { margin: 18px 0 6px; padding: 14px 16px; background: #fff; border: 1.5px dashed var(--bbm-petal); border-radius: 20px; }
.bbm-gift-checkout.is-gift { border-color: var(--bbm-accent); background: linear-gradient(135deg, #fff, var(--bbm-mist)); }
.bbm-gift-checkout__toggle { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--bbm-button-ink); font-family: var(--bbm-font-display); font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.bbm-gift-checkout__toggle input { width: 1.2em; height: 1.2em; accent-color: var(--bbm-accent); }
.bbm-gift-checkout__fields { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--bbm-petal); }
.bbm-gift-checkout__hint { display: block; margin: 0 0 6px; color: var(--bbm-muted); font-size: 0.86rem; }
.bbm-gift-box { margin: 12px 0; padding: 12px 14px; background: var(--bbm-mist); border: 1.5px dashed var(--bbm-petal); border-radius: 16px; color: var(--bbm-text); }
.bbm-gift-box blockquote { margin: 8px 0 0; padding: 8px 12px; background: #fff; border-left: 4px solid var(--bbm-petal); border-radius: 8px; font-style: italic; }

/* Crochet kits */
.bbm-kit-notice { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--bbm-petal); border-radius: 18px; }
.bbm-kit-notice__icon { flex: none; font-size: 1.5rem; line-height: 1; }
.bbm-kit-notice div { display: flex; flex-direction: column; gap: 2px; }
.bbm-kit-notice strong { color: var(--bbm-button-ink); font-family: var(--bbm-font-display); }
.bbm-kit-notice small { color: var(--bbm-muted); }
.bbm-kit-dialog { width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 32px); margin: auto; padding: 0; overflow: auto; background: #fff; border: 2px dashed var(--bbm-petal); border-radius: 28px; box-shadow: 0 30px 80px rgba(67, 8, 58, 0.35); color: var(--bbm-text); }
.bbm-kit-dialog::backdrop { background: rgba(67, 8, 58, 0.4); backdrop-filter: blur(2px); }
.bbm-kit-dialog[open] { animation: bbm-kit-in 0.25s ease; }
@keyframes bbm-kit-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.bbm-kit-dialog__form { position: relative; margin: 0; padding: 24px 24px 20px; }
.bbm-ui.bbm-ui .bbm-kit-dialog__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; padding: 0; background: var(--bbm-pill); border: 0; border-radius: 50%; color: var(--bbm-heading); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.bbm-kit-dialog__head { display: flex; align-items: center; gap: 10px; margin: 0 40px 14px 0; }
.bbm-kit-dialog__check { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; background: #6cc48a; border-radius: 50%; color: #fff; font-weight: 700; }
.bbm-ui .bbm-kit-dialog__title { margin: 0; color: var(--bbm-button-ink); font-family: var(--bbm-font-display); font-size: 1.25rem; }
.bbm-kit-dialog__product { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--bbm-mist); border-radius: 16px; }
.bbm-kit-dialog__product img { flex: none; width: 60px !important; height: 60px !important; border-radius: 12px; object-fit: cover; }
.bbm-kit-dialog__product div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bbm-kit-dialog__product strong { overflow: hidden; color: var(--bbm-button-ink); text-overflow: ellipsis; white-space: nowrap; }
.bbm-kit-dialog__product span { color: var(--bbm-accent); font-weight: 700; }
.bbm-ui .bbm-kit-dialog__subtitle { margin: 18px 0 8px; color: var(--bbm-heading); font-family: var(--bbm-font-display); font-size: 1rem; font-weight: 600; }
.bbm-kit-dialog__tools { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bbm-kit-tool { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 12px; border: 1.5px solid var(--bbm-petal); border-radius: 14px; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease; }
.bbm-kit-tool input { position: absolute; opacity: 0; pointer-events: none; }
.bbm-kit-tool__box { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; background: #fff; border: 2px solid var(--bbm-petal); border-radius: 7px; transition: background-color 0.15s ease, border-color 0.15s ease; }
.bbm-kit-tool input:checked ~ .bbm-kit-tool__box { background: var(--bbm-accent); border-color: var(--bbm-accent); }
.bbm-kit-tool input:checked ~ .bbm-kit-tool__box::after { content: "✓"; color: #fff; font-size: 0.8rem; font-weight: 700; }
.bbm-kit-tool:has(input:checked) { background: var(--bbm-mist); border-color: var(--bbm-accent); }
.bbm-kit-tool input:focus-visible ~ .bbm-kit-tool__box { outline: 2px solid var(--bbm-accent); outline-offset: 2px; }
.bbm-kit-tool.is-in-bag { cursor: default; opacity: 0.75; }
.bbm-kit-tool__name { flex: 1; color: var(--bbm-text); font-weight: 600; }
.bbm-kit-tool__badge { padding: 0.2em 0.7em; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.bbm-kit-tool__badge.is-free { background: #e3f6e8; color: #23683a; }
.bbm-kit-tool__badge.is-free::before { content: "✿ "; }
.bbm-kit-tool__badge.is-bag { background: var(--bbm-pill); color: var(--bbm-heading); }
.bbm-kit-tool__price { color: var(--bbm-button-ink); font-weight: 700; }
.bbm-kit-dialog__hint { margin: 10px 0 0; color: var(--bbm-muted); font-size: 0.86rem; }
.bbm-kit-dialog__error { margin: 10px 0 0; padding: 8px 12px; background: #fde4e7; border-radius: 12px; color: #a3172f; }
.bbm-kit-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bbm-kit-dialog__actions .button { flex: 1 1 160px; justify-content: center; }
.bbm-kit-dialog.is-busy .bbm-kit-dialog__actions { opacity: 0.6; pointer-events: none; }
.bbm-fixed-qty { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 0.4em 0.8em; background: var(--bbm-pill); border-radius: 999px; font-weight: 700; }
