/* ==========================================================================
   Fresh Fusion Bundle Builder v2
   Main + price colours are set in Bundles → Settings.
   ========================================================================== */
.ffbb-scope {
	--ffbb-accent: #0f5b45;
	--ffbb-accent-dark: #0b4434;
	--ffbb-accent-soft: #e7efec;
	--ffbb-sale: #b4532a;
	--ffbb-gold: #c9a24a;
	--ffbb-cream: #faf6ee;
	--ffbb-text: #1f2724;
	--ffbb-muted: #6b716e;
	--ffbb-line: #ebe5d9;
	--ffbb-card: #fff;
	--ffbb-shadow: 0 1px 2px rgba(20, 40, 30, .04), 0 8px 24px rgba(20, 40, 30, .06);
	--ffbb-shadow-hover: 0 2px 4px rgba(20, 40, 30, .05), 0 18px 40px rgba(20, 40, 30, .12);
	color: var(--ffbb-text);
	box-sizing: border-box;
}
.ffbb-scope *, .ffbb-scope *::before, .ffbb-scope *::after { box-sizing: border-box; }
.ffbb-scope img { max-width: 100%; }

/* Touch: no double-tap zoom or grey flash when tapping quickly */
.ffbb-scope button,
.ffbb-scope a,
.ffbb-item-img { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Neutralise theme button styles inside the plugin */
.ffbb-scope button {
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
	box-shadow: none;
	min-height: 0;
	line-height: 1.2;
	margin: 0;
}
.ffbb-scope button:focus-visible,
.ffbb-scope a:focus-visible { outline: 2px solid var(--ffbb-accent); outline-offset: 2px; }

/* Page wrapper (our templates) */
.ffbb-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 32px 20px 64px; }
.ffbb-page .site-content > .ast-container { display: block; }

/* ===================== Bundles page ===================== */
.ffbb-hero { max-width: 720px; margin: 8px auto 40px; text-align: center; }
.ffbb-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ffbb-accent-soft);
	color: var(--ffbb-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.ffbb-hero-title { margin: 0 0 12px; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; }
.ffbb-hero-text { margin: 0; color: var(--ffbb-muted); font-size: 17px; }

.ffbb-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	justify-content: center;
}
.ffbb-archive .ffbb-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); }
.ffbb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ffbb-card);
	border: 1px solid var(--ffbb-line);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--ffbb-shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ffbb-card.is-popular { border: 2px solid var(--ffbb-accent); }
.ffbb-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	padding: 6px 13px;
	border-radius: 999px;
	background: #fff;
	color: var(--ffbb-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.ffbb-card.is-popular .ffbb-badge { background: var(--ffbb-accent); color: #fff; }
.ffbb-card-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ffbb-cream); }
.ffbb-card-media > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ffbb-card-body { display: flex; flex-direction: column; align-items: center; flex: 1; padding: 22px 24px 26px; text-align: center; }
.ffbb-card-title { margin: 0 0 4px; font-size: 24px; line-height: 1.2; }
.ffbb-card-tag { margin: 0 0 14px; color: var(--ffbb-muted); font-size: 14px; }
.ffbb-card-price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.ffbb-card-from { color: var(--ffbb-muted); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ffbb-card-range { color: var(--ffbb-sale); font-size: 20px; font-weight: 700; }
.ffbb-card-range .amount { color: inherit; }
.ffbb-scope .ffbb-btn,
.ffbb-scope .ffbb-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	margin-top: auto;
	padding: 15px 22px;
	border-radius: 999px;
	background: var(--ffbb-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s ease;
}
.ffbb-scope .ffbb-btn::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.ffbb-scope .ffbb-btn:hover { background: var(--ffbb-accent-dark); color: #fff; }
.ffbb-btn span { transition: transform .2s ease; }

.ffbb-how {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	max-width: 1000px;
	margin: 56px auto 0;
	padding: 0;
	list-style: none;
}
.ffbb-how li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 20px; border-radius: 18px; background: var(--ffbb-cream); }
.ffbb-how li > span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ffbb-accent); color: #fff; font-weight: 700; }
.ffbb-how strong { display: block; margin-bottom: 2px; font-size: 16px; }
.ffbb-how p { margin: 0; color: var(--ffbb-muted); font-size: 14px; }

/* ===================== Automatic bundle artwork ===================== */
.ffbb-poster {
	--pa: var(--ffbb-accent);
	position: relative;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	container-type: inline-size;
	background:
		radial-gradient(120% 70% at 50% 100%, color-mix(in srgb, var(--pa) 16%, #fff) 0%, transparent 60%),
		radial-gradient(90% 60% at 50% 0%, #fff 0%, transparent 70%),
		linear-gradient(180deg, #fbf8f2 0%, #f3eee3 100%);
	font-family: "Open Sans", system-ui, sans-serif;
	text-align: center;
	color: var(--ffbb-text);
}
.ffbb-poster-head { position: absolute; top: 15.5cqw; left: 0; right: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; }
.ffbb-poster-kicker { font-size: 3.8cqw; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pa); }
.ffbb-poster-title { margin-top: -.5cqw; font-family: var(--ffbb-display, Merriweather, Georgia, serif); font-size: 12.5cqw; font-weight: 900; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: var(--ffbb-accent-dark, #0b4434); }
.ffbb-poster-ribbon { margin-top: 2cqw; padding: 1.2cqw 3.6cqw; border-radius: 1.6cqw; background: var(--ffbb-sale); color: #fff; font-family: var(--ffbb-display, Merriweather, Georgia, serif); font-size: 4cqw; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 1cqw 2.5cqw rgba(0, 0, 0, .15); }
.ffbb-poster-seal {
	position: absolute;
	top: 5cqw;
	right: 5cqw;
	z-index: 40;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 18cqw;
	height: 18cqw;
	border-radius: 50%;
	background: var(--ffbb-accent-dark, #0b4434);
	color: #fff;
	line-height: 1;
	box-shadow: 0 0 0 1.2cqw rgba(255, 255, 255, .7), 0 2cqw 5cqw rgba(0, 0, 0, .25);
	transform: rotate(-8deg);
}
.ffbb-poster-seal small { font-size: 2.8cqw; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ffbb-gold); }
.ffbb-poster-seal b { margin: .5cqw 0; font-size: 6.6cqw; font-weight: 800; }
.ffbb-poster-stage { position: absolute; left: 0; right: 0; bottom: 8.5cqw; height: 50cqw; }
.ffbb-poster-item {
	position: absolute;
	bottom: calc(6cqw + var(--y));
	left: var(--x);
	z-index: var(--z);
	width: var(--w);
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1.2cqw solid #fff;
	border-radius: 3.5cqw;
	background: #fff;
	box-shadow: 0 2.5cqw 6cqw rgba(30, 40, 35, .22), 0 .6cqw 1.5cqw rgba(30, 40, 35, .12);
	transform: rotate(var(--r)) scale(var(--s));
	transform-origin: 50% 100%;
}
.ffbb-poster-item img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.ffbb-poster-floor { position: absolute; left: 12%; right: 12%; bottom: 2cqw; z-index: 0; height: 7cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 40, 30, .22), transparent); }
.ffbb-poster-tag { position: absolute; left: 50%; bottom: 3cqw; z-index: 40; transform: translateX(-50%); white-space: nowrap; padding: 1cqw 2.6cqw; border-radius: 1.4cqw; background: var(--ffbb-accent-dark, #0b4434); color: #fff; font-size: 3.2cqw; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ffbb-poster.n0 .ffbb-poster-seal { top: auto; bottom: 18cqw; right: 50%; transform: translateX(50%) rotate(-8deg); }


/* ===================== Single bundle page ===================== */
.ffbb-crumbs { margin-bottom: 18px; font-size: 14px; }
.ffbb-crumbs a { color: var(--ffbb-muted); text-decoration: none; }
.ffbb-crumbs a:hover { color: var(--ffbb-accent); }
.ffbb-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: 28px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--ffbb-line);
}
.ffbb-intro-text { flex: 1 1 420px; }
.ffbb-intro-title { margin: 0 0 12px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.ffbb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ffbb-tagpill { padding: 6px 12px; border-radius: 999px; background: var(--ffbb-cream); border: 1px solid var(--ffbb-line); font-size: 13px; font-weight: 600; }
.ffbb-tagpill.is-accent { background: var(--ffbb-accent); border-color: var(--ffbb-accent); color: #fff; }
.ffbb-intro-desc { margin-top: 14px; color: var(--ffbb-muted); }
.ffbb-intro-desc p:last-child { margin-bottom: 0; }

.ffbb-switch { display: flex; flex-direction: column; gap: 8px; }
.ffbb-switch-label { color: var(--ffbb-muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ffbb-switch-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.ffbb-switch-opts a {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 74px;
	padding: 8px 12px;
	border: 1.5px solid var(--ffbb-line);
	border-radius: 14px;
	background: #fff;
	color: var(--ffbb-text);
	text-decoration: none;
	transition: border-color .2s ease;
}
.ffbb-switch-opts a strong { font-size: 20px; line-height: 1.1; }
.ffbb-switch-opts a span { color: var(--ffbb-muted); font-size: 12px; }
.ffbb-switch-opts a:hover { border-color: var(--ffbb-accent); color: var(--ffbb-text); }
.ffbb-switch-opts a.is-active { border-color: var(--ffbb-accent); background: var(--ffbb-accent); color: #fff; }
.ffbb-switch-opts a.is-active span { color: rgba(255, 255, 255, .85); }

/* ===================== Builder ===================== */
.ffbb-builder {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 32px;
	align-items: start;
}
.ffbb-builder > * { min-width: 0; } /* long names can never widen the page */
.ffbb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.ffbb-step { display: block; margin-bottom: 4px; color: var(--ffbb-accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ffbb-head-title { margin: 0; font-size: 24px; line-height: 1.2; }
.ffbb-progress { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.ffbb-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--ffbb-line); overflow: hidden; }
.ffbb-bar-fill { display: block; width: 0; height: 100%; border-radius: 99px; background: var(--ffbb-accent); transition: width .35s ease; }
.ffbb-progress-text { color: var(--ffbb-muted); font-size: 14px; white-space: nowrap; }
.ffbb-progress-text b { color: var(--ffbb-text); }

.ffbb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ffbb-scope .ffbb-filter {
	padding: 8px 16px;
	border: 1px solid var(--ffbb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ffbb-text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.ffbb-scope .ffbb-filter:hover { border-color: var(--ffbb-accent); background: #fff; color: var(--ffbb-accent); }
.ffbb-scope .ffbb-filter.is-active { border-color: var(--ffbb-accent); background: var(--ffbb-accent); color: #fff; }
.ffbb-none { padding: 30px; border-radius: 16px; background: var(--ffbb-cream); color: var(--ffbb-muted); text-align: center; }

.ffbb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.ffbb-item {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 10px;
	background: #fff;
	border: 1.5px solid var(--ffbb-line);
	border-radius: 18px;
	transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease, transform .2s ease;
}
.ffbb-item[hidden] { display: none; }
.ffbb-item.is-selected { border-color: var(--ffbb-accent); box-shadow: 0 0 0 3px var(--ffbb-accent-soft); }
.ffbb-item.is-locked { opacity: .5; }
.ffbb-item.is-oos { opacity: .55; }
.ffbb-item.is-oos .ffbb-item-img img { filter: grayscale(.8); }
.ffbb-item.is-bump { animation: ffbb-bump .3s ease; }
@keyframes ffbb-bump { 50% { box-shadow: 0 0 0 6px var(--ffbb-accent-soft); } }

.ffbb-item-img { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--ffbb-cream); cursor: pointer; }
.ffbb-item.is-oos .ffbb-item-img { cursor: default; }
.ffbb-item-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ffbb-item-off {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--ffbb-sale);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}
.ffbb-item-qty {
	position: absolute;
	top: 8px;
	right: 8px;
	display: grid;
	place-items: center;
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ffbb-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	transform: scale(0);
	transition: transform .2s ease;
}
.ffbb-item.is-selected .ffbb-item-qty { transform: scale(1); }
.ffbb-item-body { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 12px 4px 12px; }
.ffbb-item-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}
.ffbb-item-var { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--ffbb-accent-soft); color: var(--ffbb-accent); font-size: 12px; font-weight: 600; }
.ffbb-item-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; }
.ffbb-item-price ins { color: var(--ffbb-sale); font-size: 17px; font-weight: 700; text-decoration: none; background: none; }
.ffbb-item-price del { color: var(--ffbb-muted); font-size: 13px; }

.ffbb-scope .ffbb-add-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1.5px solid var(--ffbb-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--ffbb-accent);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.ffbb-scope .ffbb-add-item span { font-size: 18px; line-height: 1; }
.ffbb-scope .ffbb-add-item:hover:not(:disabled) { background: var(--ffbb-accent); color: #fff; }
.ffbb-scope .ffbb-add-item:disabled { border-color: var(--ffbb-line); background: var(--ffbb-cream); color: var(--ffbb-muted); cursor: not-allowed; }
.ffbb-scope .ffbb-add-item[hidden], .ffbb-scope .ffbb-stepper[hidden] { display: none; }

.ffbb-stepper { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 4px; border-radius: 999px; background: var(--ffbb-accent); color: #fff; }
.ffbb-scope .ffbb-stepper button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
}
.ffbb-scope .ffbb-stepper button:hover:not(:disabled) { background: rgba(255, 255, 255, .28); }
.ffbb-scope .ffbb-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.ffbb-qty { font-size: 16px; font-weight: 700; }

/* Sidebar */
.ffbb-side { position: sticky; top: 30px; scroll-margin-top: 90px; }
.admin-bar .ffbb-side { top: 62px; }
.ffbb-side-box { overflow: hidden; background: #fff; border: 1px solid var(--ffbb-line); border-radius: 22px; box-shadow: var(--ffbb-shadow); }
.ffbb-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; background: var(--ffbb-accent); color: #fff; }
.ffbb-side-title { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; }
.ffbb-pill { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 13px; font-weight: 600; }
.ffbb-side-inner { padding: 18px 18px 6px; }

.ffbb-slots { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.ffbb-slots-1 { grid-template-columns: repeat(1, 90px); }
.ffbb-slots-2 { grid-template-columns: repeat(2, 1fr); }
.ffbb-slots-3 { grid-template-columns: repeat(3, 1fr); }
.ffbb-slots-5, .ffbb-slots-6 { grid-template-columns: repeat(4, 1fr); }
.ffbb-scope .ffbb-slot {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: 0;
	overflow: hidden;
	border: 1.5px dashed #d7d0c2;
	border-radius: 12px;
	background: var(--ffbb-cream);
	color: #b3ab9b;
	font-size: 15px;
	font-weight: 700;
	cursor: default;
}
.ffbb-scope .ffbb-slot:disabled { opacity: 1; }
.ffbb-scope .ffbb-slot.is-filled { border: 1.5px solid var(--ffbb-accent); cursor: pointer; animation: ffbb-pop .25s ease; }
.ffbb-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ffbb-slot-x {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 13px;
	font-style: normal;
	line-height: 1;
	opacity: 0;
	transition: opacity .2s ease;
}
.ffbb-slot.is-filled:hover .ffbb-slot-x, .ffbb-slot.is-filled:focus-visible .ffbb-slot-x { opacity: 1; }
@keyframes ffbb-pop { from { transform: scale(.8); } to { transform: scale(1); } }

.ffbb-hintline { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--ffbb-accent-soft); color: var(--ffbb-accent); font-size: 13px; font-weight: 600; text-align: center; }
.ffbb-list { margin: 12px 0 0; padding: 0; list-style: none; max-height: 260px; overflow: auto; }
.ffbb-list[hidden] { display: none; }
.ffbb-li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--ffbb-line); }
.ffbb-li:last-child { border-bottom: 0; }
.ffbb-li img { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ffbb-li-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ffbb-li-name { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ffbb-li-meta { color: var(--ffbb-muted); font-size: 12px; }
.ffbb-scope .ffbb-li-rm {
	flex: none;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid var(--ffbb-line);
	border-radius: 50%;
	background: #fff;
	color: var(--ffbb-text);
	font-size: 16px;
	cursor: pointer;
}
.ffbb-scope .ffbb-li-rm:hover { border-color: var(--ffbb-sale); background: #fff; color: var(--ffbb-sale); }

.ffbb-totals { margin-top: 10px; padding: 16px 18px 18px; border-top: 1px solid var(--ffbb-line); background: #fcfaf6; }
.ffbb-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--ffbb-muted); font-size: 14px; }
.ffbb-row .ffbb-reg-val { text-decoration: line-through; }
.ffbb-save { color: var(--ffbb-accent); font-weight: 600; }
.ffbb-total { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--ffbb-line); color: var(--ffbb-text); font-size: 16px; font-weight: 600; }
.ffbb-total b { font-size: 22px; }
.ffbb-scope .ffbb-cart-btn {
	width: 100%;
	height: 52px;
	margin-top: 14px;
	padding: 0 16px;
	border: 0;
	border-radius: 14px;
	background: var(--ffbb-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease, opacity .2s ease;
}
.ffbb-scope .ffbb-cart-btn:hover:not(:disabled) { background: var(--ffbb-accent-dark); }
.ffbb-scope .ffbb-cart-btn:disabled { background: #d9d4ca; color: #fff; opacity: 1; cursor: not-allowed; }
.ffbb-builder.is-full .ffbb-cart-btn { animation: ffbb-ready .6s ease; }
.ffbb-builder.is-loading .ffbb-cart-btn { cursor: progress; opacity: .8; }
@keyframes ffbb-ready { 40% { transform: scale(1.03); } }
.ffbb-msg { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: #fbeae4; color: #9a3412; font-size: 13px; }
.ffbb-msg[hidden] { display: none; }
.ffbb-note, .ffbb-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; color: var(--ffbb-muted); font-size: 12px; }
.ffbb-secure { margin-top: 4px; }

.ffbb-mbar { display: none; }

/* Cart: locked quantity */
.ffbb-locked-qty { display: inline-block; min-width: 36px; padding: 6px 10px; border-radius: 8px; background: #f4f1ea; text-align: center; font-weight: 600; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
	.ffbb-builder { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
	.ffbb-how { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 820px) {
	.ffbb-wrap { padding: 20px 14px 48px; }
	.ffbb-builder { grid-template-columns: minmax(0, 1fr); }
	.ffbb-side { position: static; }
	.ffbb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ffbb-item { padding: 8px; border-radius: 14px; }
	.ffbb-item-name { font-size: 14px; }
	.ffbb-head-title { font-size: 20px; }
	.ffbb-progress { min-width: 0; width: 100%; }
	.ffbb-intro { align-items: flex-start; }
	.ffbb-switch-opts a { min-width: 64px; }
	.ffbb-filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -14px; padding-bottom: 4px; }
	.ffbb-filters .ffbb-filter { flex: none; }
	.ffbb-card-title { font-size: 21px; }

	.ffbb-builder:has(.ffbb-mbar) { padding-bottom: 76px; }
	.ffbb-mbar {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 999;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 8px 8px 8px 18px;
		border-radius: 18px;
		background: var(--ffbb-text);
		color: #fff;
		box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	}
	.ffbb-mbar-info { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
	.ffbb-mbar-info strong { font-size: 16px; }
	.ffbb-scope .ffbb-mbar-cta { height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .15); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
	.ffbb-builder.is-full .ffbb-mbar-cta { background: var(--ffbb-accent); }

	/* Keep floating cart button / sales pop-ups above the bundle bar */
	body:has(.ffbb-mbar) #moderncart-floating-cart { bottom: 86px !important; }
	body:has(.ffbb-mbar) .wpcsn-notification-item { bottom: 86px !important; }
}
/* Hover effects only on devices with a real mouse (no sticky "hover" after a tap on phones) */
@media (hover: hover) and (pointer: fine) {
	.ffbb-card:hover { transform: translateY(-4px); box-shadow: var(--ffbb-shadow-hover); }
	.ffbb-card:hover .ffbb-card-media > img { transform: scale(1.04); }
	.ffbb-card:hover .ffbb-btn span { transform: translateX(4px); }
	.ffbb-item:hover { box-shadow: var(--ffbb-shadow); }
	.ffbb-item:hover .ffbb-item-img img { transform: scale(1.05); }
	.ffbb-poster-item { transition: transform .4s ease; }
	.ffbb-card:hover .ffbb-poster-item { transform: rotate(calc(var(--r) * 1.4)) scale(var(--s)) translateY(-1.5cqw); }
}

@media (prefers-reduced-motion: reduce) {
	.ffbb-scope *, .ffbb-scope *::before, .ffbb-scope *::after { animation: none !important; transition: none !important; }
}
