/* ==========================================================================
   Berry Box Builder — Production Stylesheet
   Brand tokens from theme.json:
     Bright Pink #fe5bac
     Dark Pink   #BB417C
     Green       #33a64f
     Chocolate   #553024
     Cream       #FFF8F0
   ========================================================================== */

/* ---------- Berry Box Product Page Layout Override ---------- */
/* When the berry_box render_block filter hides WC blocks (image gallery, title,
   price, meta, excerpt), the two-column product-details layout in single-product.html
   has an empty left column. Collapse it and let the builder go full-width. */

.is-berry-box-product .wp-block-woocommerce-product-details .wp-block-columns {
	display: block;
}

.is-berry-box-product .wp-block-woocommerce-product-details .wp-block-column {
	flex-basis: 100% !important;
	width: 100%;
}

/* Hide any WC tabs/related products that might show below the builder */
.is-berry-box-product .wp-block-woocommerce-product-details-tabs,
.is-berry-box-product .wp-block-woocommerce-related-products {
	display: none;
}

/* ---------- Reset & Container ---------- */

.bbq-berry-box *,
.bbq-berry-box *::before,
.bbq-berry-box *::after {
	box-sizing: border-box;
}

.bbq-berry-box {
	isolation: isolate;
	--bbq-red: #BB417C;
	--bbq-red-light: #fe5bac;
	--bbq-red-bg: #fce8f1;
	--bbq-chocolate: #553024;
	--bbq-green: #33a64f;
	--bbq-green-light: #e8f5e9;
	--bbq-cream: #FFF8F0;
	--bbq-gold: #F9A825;
	--bbq-gray-50: #fafafa;
	--bbq-gray-100: #f5f5f5;
	--bbq-gray-200: #eeeeee;
	--bbq-gray-300: #e0e0e0;
	--bbq-gray-400: #bdbdbd;
	--bbq-gray-500: #9e9e9e;
	--bbq-gray-600: #757575;
	--bbq-gray-700: #616161;
	--bbq-purple: #7B1FA2;
	--bbq-purple-light: #f3e5f6;
	--bbq-radius: 12px;
	--bbq-radius-sm: 8px;
	--bbq-radius-lg: 16px;
	--bbq-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
	--bbq-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--bbq-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
	/* Section card styling — matches Stackable block border/shadow. */
	--bbq-section-border: 2px solid #BB417C;
	--bbq-section-radius: 8px;
	--bbq-section-shadow: 0 5px 5px 0 #123f5209;
	--bbq-transition: 0.2s ease;

	font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--bbq-chocolate);
	max-width: 1400px;
	margin: 0 auto;
}

/* ---------- Loading / Error ---------- */

.bbq-berry-box--loading,
.bbq-berry-box--error {
	text-align: center;
	padding: 4rem 2rem;
}

.bbq-berry-box--error p {
	color: var(--bbq-red);
	font-size: 1.125rem;
}

/* ======================================================================
   HERO SECTION
   Product image left, details right. Cream background band.
   ====================================================================== */

.bbq-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: 1200px;
	margin: 32px auto;
	padding: 1.5rem;
	background: #fff;
	border: var(--bbq-section-border);
	border-radius: var(--bbq-section-radius);
	box-shadow: var(--bbq-section-shadow);
	overflow: hidden;
}

/* ── Image column ── */

.bbq-hero__image-col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.bbq-hero__main-image {
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--bbq-radius-lg);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--bbq-shadow-md);
}

.bbq-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bbq-hero__thumbnails {
	display: flex;
	gap: 0.5rem;
}

.bbq-hero__thumb {
	width: 64px;
	height: 64px;
	border-radius: var(--bbq-radius-sm);
	overflow: hidden;
	border: 2px solid var(--bbq-gray-300);
	cursor: pointer;
	padding: 0;
	background: #fff;
	transition: border-color var(--bbq-transition);
}

.bbq-hero__thumb:hover {
	border-color: var(--bbq-red-light);
}

.bbq-hero__thumb--active {
	border-color: var(--bbq-red);
	box-shadow: 0 0 0 2px var(--bbq-red-bg);
}

.bbq-hero__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Details column ── */

.bbq-hero__details-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.25rem;
}

.bbq-hero__title {
	font-family: 'Marck Script', cursive;
	font-size: 54px;
	font-weight: 400;
	color: var(--bbq-red);
	margin: 0;
	line-height: 1.15;
}

.bbq-hero__description {
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--bbq-gray-700);
}

.bbq-hero__description p {
	margin: 0 0 0.5rem;
}

.bbq-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.bbq-hero__meta-item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--bbq-radius-sm);
	padding: 0.75rem 1.25rem;
	box-shadow: var(--bbq-shadow);
	min-width: 140px;
}

.bbq-hero__meta-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--bbq-gray-500);
	margin-bottom: 0.125rem;
}

.bbq-hero__meta-value {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--bbq-chocolate);
}

.bbq-hero__meta-value--price {
	color: var(--bbq-green);
	font-size: 1.5rem;
}

.bbq-hero__cta-hint {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--bbq-red);
	margin: 0.5rem 0 0;
	padding: 0.75rem 1.25rem;
	background: var(--bbq-red-bg);
	border-radius: var(--bbq-radius-sm);
	border-left: 4px solid var(--bbq-red);
}

/* ── Hero mobile ── */

@media (max-width: 768px) {
	.bbq-hero {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1rem;
	}

	.bbq-hero__main-image {
		max-width: 400px;
		margin: 0 auto;
	}

	.bbq-hero__thumbnails {
		justify-content: center;
	}

	.bbq-hero__title {
		text-align: center;
	}

	.bbq-hero__meta {
		justify-content: center;
	}

	.bbq-hero__cta-hint {
		text-align: center;
	}
}

/* ======================================================================
   BUILDER SECTION
   Box preview (sticky left), berry picker grid (right).
   ====================================================================== */

.bbq-builder {
	max-width: 1200px;
	margin: 32px auto;
	padding: 0;
}

.bbq-builder__heading {
	font-family: 'Marck Script', cursive;
	font-size: 48px;
	font-weight: 400;
	color: var(--bbq-red);
	margin: 0 0 1rem;
	text-align: center;
}

.bbq-builder__layout {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 32px;
	align-items: start;
}

.bbq-builder__left-col {
	position: sticky;
	top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-self: start;
}

/* ── Sidebar (left — the box card) ── */

.bbq-builder__sidebar {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #fff;
	border: var(--bbq-section-border);
	border-radius: var(--bbq-section-radius);
	box-shadow: var(--bbq-section-shadow);
	padding: 1.25rem;
}

/* ── Picker (right) ── */

.bbq-builder__picker {
	min-width: 0;
	background: #fff;
	border: var(--bbq-section-border);
	border-radius: var(--bbq-section-radius);
	box-shadow: var(--bbq-section-shadow);
	padding: 1.25rem;
	overflow: hidden;
}

@media (max-width: 900px) {
	.bbq-builder__layout {
		grid-template-columns: 1fr;
	}

	.bbq-builder__left-col {
		position: static;
	}

	.bbq-builder {
		padding: 0;
	}
}

/* ======================================================================
   BOX PREVIEW CARD
   ====================================================================== */

.bbq-box-preview {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.bbq-box-preview__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.bbq-box-preview__title {
	font-family: 'Marck Script', cursive;
	font-size: 1.75rem;
	font-weight: 400;
	margin: 0;
	color: var(--bbq-red);
}

.bbq-box-preview__counter {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--bbq-gray-600);
}

.bbq-box-preview__clear {
	background: none;
	border: none;
	color: var(--bbq-red);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	margin-left: 0.75rem;
	transition: opacity var(--bbq-transition);
}

.bbq-box-preview__clear:hover {
	opacity: 0.7;
}

/* ── Inline Clear Confirmation ── */

.bbq-box-preview__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.bbq-box-preview__confirm {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	animation: bbq-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bbq-box-preview__confirm-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bbq-red);
}

.bbq-box-preview__confirm-yes,
.bbq-box-preview__confirm-no {
	padding: 0.175rem 0.5rem;
	border-radius: 4px;
	font-size: 0.6875rem;
	font-weight: 700;
	cursor: pointer;
	border: none;
	transition: all var(--bbq-transition);
}

.bbq-box-preview__confirm-yes {
	background: var(--bbq-red);
	color: #fff;
}

.bbq-box-preview__confirm-yes:hover {
	background: var(--bbq-red-light);
}

.bbq-box-preview__confirm-no {
	background: var(--bbq-gray-200);
	color: var(--bbq-gray-700);
}

.bbq-box-preview__confirm-no:hover {
	background: var(--bbq-gray-300);
}

/* ── Progress Bar ── */

.bbq-box-preview__progress {
	height: 6px;
	background: var(--bbq-gray-200);
	border-radius: 3px;
	margin-bottom: 0.75rem;
	overflow: hidden;
}

.bbq-box-preview__progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--bbq-green), #43a047);
	border-radius: 3px;
	transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bbq-box-preview__progress-fill--complete {
	background: linear-gradient(90deg, var(--bbq-green), #66bb6a);
}

/* ── Slot Grid ── */

.bbq-box-preview__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.bbq-box-preview__slot {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--bbq-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	transition: transform var(--bbq-transition), box-shadow var(--bbq-transition);
}

/* Berry image clips to slot bounds */
.bbq-box-preview__slot--filled .bbq-box-preview__berry-image {
	border-radius: calc(var(--bbq-radius-sm) - 2px);
}

.bbq-box-preview__slot--empty {
	border: 2px dashed var(--bbq-gray-300);
	background: var(--bbq-gray-50);
}

.bbq-box-preview__slot--active {
	border: 2px dashed var(--bbq-red-light);
	background: var(--bbq-red-bg);
	animation: bbq-pulse-border 2s ease-in-out infinite;
}

.bbq-box-preview__slot--filled {
	border: 2px solid var(--bbq-gray-200);
	background: #fff;
	cursor: pointer;
	animation: bbq-slot-fill 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bbq-box-preview__slot--filled:hover {
	transform: scale(1.08);
	box-shadow: var(--bbq-shadow-md);
}

.bbq-box-preview__berry-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: calc(var(--bbq-radius-sm) - 2px);
}

.bbq-box-preview__upcharge-dot {
	position: absolute;
	top: 2px;
	left: 2px;
	background: var(--bbq-green);
	color: #fff;
	font-size: 0.5rem;
	font-weight: 700;
	padding: 1px 3px;
	border-radius: 3px;
	line-height: 1.2;
	white-space: nowrap;
	z-index: 2;
}

/* Remove button — small red circle, top-right, always visible */
.bbq-box-preview__remove-btn {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #dc3545;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	padding: 0;
	transition: transform 0.15s, background 0.15s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.bbq-box-preview__remove-btn:hover {
	transform: scale(1.2);
	background: #c82333;
}

/* List view remove button */
.bbq-box-preview__list-remove-btn {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: none;
	background: #fdeaea;
	color: #dc3545;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

.bbq-box-preview__list-remove-btn:hover {
	background: #f5c6c6;
}

/* Locked slots */
.bbq-box-preview__slot--locked {
	cursor: default;
	border-color: var(--bbq-gold);
	box-shadow: 0 0 0 2px rgba(249, 168, 37, 0.25);
}

.bbq-box-preview__slot--locked:hover {
	transform: none;
}

.bbq-box-preview__lock {
	position: absolute;
	top: 2px;
	right: 2px;
	font-size: 0.6rem;
	line-height: 1;
	background: var(--bbq-gold);
	border-radius: 50%;
	width: 14px;
	height: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bbq-box-preview__empty-label {
	font-size: 0.875rem;
	color: var(--bbq-gray-400);
	font-weight: 600;
}

.bbq-box-preview__slot-number {
	position: absolute;
	bottom: 1px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 0.5625rem;
	color: var(--bbq-gray-400);
}

.bbq-box-preview__hint {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	color: var(--bbq-red-light);
	font-size: 0.625rem;
	font-weight: 600;
}

/* ======================================================================
   PRICE BREAKDOWN
   ====================================================================== */

.bbq-price-breakdown {
	background: var(--bbq-gray-50);
	border: 1px solid var(--bbq-gray-200);
	border-radius: var(--bbq-radius);
	padding: 0.875rem 1rem;
}

.bbq-price-breakdown__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.2rem 0;
	font-size: 0.875rem;
}

.bbq-price-breakdown__row--upcharge {
	color: var(--bbq-green);
	font-weight: 500;
}

.bbq-price-breakdown__row--total {
	border-top: 1px solid var(--bbq-gray-300);
	margin-top: 0.375rem;
	padding-top: 0.375rem;
	font-size: 1rem;
	font-weight: 700;
}

.bbq-price-breakdown__original {
	text-decoration: line-through;
	color: var(--bbq-gray-500);
	font-weight: 400;
	margin-left: 0.5rem;
	font-size: 0.8125rem;
}

/* ======================================================================
   ADD TO CART BUTTON
   ====================================================================== */

.bbq-add-to-cart {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	padding: 0.875rem 1.25rem;
	border: none;
	border-radius: var(--bbq-radius);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all var(--bbq-transition);
	position: relative;
	overflow: hidden;
}

.bbq-add-to-cart--ready {
	background: var(--bbq-green);
	color: #fff;
	box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.bbq-add-to-cart--ready:hover {
	background: #388e3c;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

.bbq-add-to-cart--ready:active {
	transform: translateY(0);
}

.bbq-add-to-cart--disabled {
	background: var(--bbq-gray-300);
	color: var(--bbq-gray-600);
	cursor: not-allowed;
}

.bbq-add-to-cart--loading {
	background: var(--bbq-green);
	color: #fff;
	cursor: wait;
	opacity: 0.85;
}

.bbq-add-to-cart--success {
	background: var(--bbq-green);
	color: #fff;
	animation: bbq-success-flash 0.5s ease;
}

.bbq-add-to-cart__icon {
	font-size: 1.125rem;
	line-height: 1;
	flex-shrink: 0;
}

.bbq-add-to-cart__label {
	min-width: 0;
	text-align: center;
}

.bbq-add-to-cart__price {
	white-space: nowrap;
	flex-shrink: 0;
}

.bbq-add-to-cart__spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bbq-spin 0.7s linear infinite;
}

/* ======================================================================
   BERRY GRID & CARDS (Picker)
   ====================================================================== */

.bbq-berry-grid__title {
	font-family: 'Marck Script', cursive;
	font-size: 1.75rem;
	font-weight: 400;
	margin: 0 0 1rem;
	color: var(--bbq-red);
}

/* ── Filter Tabs ── */

.bbq-filter-tabs {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

.bbq-filter-tabs__tab {
	padding: 0.4375rem 0.875rem;
	border: 1.5px solid var(--bbq-gray-300);
	border-radius: 999px;
	background: #fff;
	color: var(--bbq-gray-700);
	font-size: 0.8125rem;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--bbq-transition);
	white-space: nowrap;
}

.bbq-filter-tabs__tab:hover {
	border-color: var(--bbq-green);
	color: var(--bbq-green);
}

.bbq-filter-tabs__tab--active {
	background: var(--bbq-green);
	border-color: var(--bbq-green);
	color: #fff;
}

.bbq-filter-tabs__tab--active:hover {
	background: #388e3c;
	color: #fff;
}

.bbq-filter-tabs__count {
	margin-left: 0.25rem;
	opacity: 0.8;
}

/* ── Berry Cards Grid ── */

.bbq-berry-grid__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

@media (max-width: 1100px) {
	.bbq-berry-grid__items {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.bbq-berry-grid__items {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}
}

/* ── Berry Card ── */

.bbq-berry-card {
	background: #fff;
	border: 1.5px solid var(--bbq-gray-200);
	border-radius: var(--bbq-radius);
	overflow: hidden;
	transition: all var(--bbq-transition);
	position: relative;
}

.bbq-berry-card:hover {
	border-color: var(--bbq-gray-300);
	box-shadow: var(--bbq-shadow-md);
	transform: translateY(-2px);
}

.bbq-berry-card--locked {
	opacity: 0.75;
}

.bbq-berry-card__image-wrapper {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--bbq-gray-100);
}

.bbq-berry-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.bbq-berry-card:hover .bbq-berry-card__image {
	transform: scale(1.05);
}

.bbq-berry-card__upcharge-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--bbq-green);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	padding: 0.25rem 0.5rem;
	border-radius: 5px;
	display: flex;
	align-items: center;
	gap: 2px;
	box-shadow: 0 2px 6px rgba(46, 125, 50, 0.3);
}

.bbq-berry-card__upcharge-badge::before {
	content: "";
	font-size: 0;
}

.bbq-berry-card__qty-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: var(--bbq-green);
	color: #fff;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(46, 125, 50, 0.35);
	animation: bbq-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bbq-berry-card__tag {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: var(--bbq-green-light);
	color: var(--bbq-green);
	font-size: 0.625rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.bbq-berry-card__tag--locked {
	background: var(--bbq-gold);
	color: var(--bbq-chocolate);
}

.bbq-berry-card__body {
	padding: 0.625rem 0.75rem;
}

.bbq-berry-card__name {
	font-size: 0.875rem;
	font-weight: 700;
	margin: 0 0 0.125rem;
	color: var(--bbq-chocolate);
}

.bbq-berry-card__desc {
	font-size: 0.75rem;
	color: var(--bbq-gray-600);
	margin: 0 0 0.5rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bbq-berry-card__add-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	width: 100%;
	padding: 0.4375rem;
	border: 1.5px solid var(--bbq-red);
	border-radius: var(--bbq-radius-sm);
	background: transparent;
	color: var(--bbq-red);
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
	transition: all var(--bbq-transition);
}

.bbq-berry-card__add-btn:hover:not(:disabled) {
	background: var(--bbq-red);
	color: #fff;
}

.bbq-berry-card__add-btn:disabled {
	border-color: var(--bbq-gray-300);
	color: var(--bbq-gray-500);
	cursor: not-allowed;
}

.bbq-berry-card__add-btn--in-box {
	border-color: var(--bbq-green);
	color: var(--bbq-green);
}

.bbq-berry-card__add-btn--in-box:hover:not(:disabled) {
	background: var(--bbq-green);
	color: #fff;
}

/* ── Berry Card — Name Row (name + info icon) ── */

.bbq-berry-card__name-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.125rem;
}

.bbq-berry-card__name-row .bbq-berry-card__name {
	margin: 0;
}

.bbq-berry-card__info-btn {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid var(--bbq-gray-400);
	background: var(--bbq-gray-100);
	color: var(--bbq-gray-600);
	font-size: 0.6875rem;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, serif;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	transition: all var(--bbq-transition);
}

.bbq-berry-card__info-btn:hover {
	background: var(--bbq-gray-600);
	border-color: var(--bbq-gray-600);
	color: #fff;
}

/* ======================================================================
   BERRY DETAIL MODAL
   ====================================================================== */

.bbq-berry-modal__backdrop {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483647 !important; /* max z-index — must escape any stacking context */
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	animation: bbq-fade-in 0.2s ease;
}

.bbq-berry-modal {
	position: relative;
	background: #fff;
	border-radius: var(--bbq-radius-lg);
	display: flex;
	flex-direction: row;
	box-shadow: var(--bbq-shadow-lg);
	max-width: 700px;
	width: 100%;
	overflow: hidden;
	animation: bbq-modal-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bbq-berry-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	color: var(--bbq-chocolate);
	font-size: 1.25rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--bbq-shadow);
	transition: all var(--bbq-transition);
}

.bbq-berry-modal__close:hover {
	background: var(--bbq-gray-200);
}

.bbq-berry-modal__image-wrapper {
	width: 50%;
	min-height: 100%;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--bbq-gray-100);
	border-radius: var(--bbq-radius-lg) 0 0 var(--bbq-radius-lg);
}

.bbq-berry-modal__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 300px;
}

.bbq-berry-modal__body {
	padding: 1.25rem 1.5rem 1.5rem;
	flex: 1;
	overflow-y: auto;
}

.bbq-berry-modal__name {
	font-family: 'Marck Script', cursive;
	font-size: 1.75rem;
	font-weight: 400;
	color: var(--bbq-red);
	margin: 0 0 0.5rem;
}

.bbq-berry-modal__badge {
	position: static;
	display: inline-flex;
	margin-bottom: 0.75rem;
	background: #33a64f !important;
	color: #fff !important;
	font-size: 0.875rem;
	padding: 0.3rem 0.6rem;
	border-radius: 6px;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(51, 166, 79, 0.3);
}

.bbq-berry-modal__desc {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--bbq-gray-700);
	margin: 0;
}

@keyframes bbq-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes bbq-modal-in {
	from {
		transform: scale(0.9);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

@media (max-width: 500px) {
	.bbq-berry-modal {
		max-width: 100%;
		border-radius: var(--bbq-radius-lg) var(--bbq-radius-lg) 0 0;
		margin-top: auto;
		flex-direction: column;
	}

	.bbq-berry-modal__image-wrapper {
		width: 100%;
		border-radius: var(--bbq-radius-lg) var(--bbq-radius-lg) 0 0;
	}

	.bbq-berry-modal__backdrop {
		align-items: flex-end;
		padding: 0;
	}
}

/* ======================================================================
   TOAST NOTIFICATIONS
   ====================================================================== */

.bbq-toast-container {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	pointer-events: none;
}

.bbq-toast {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--bbq-chocolate);
	color: #fff;
	padding: 0.625rem 1rem;
	border-radius: var(--bbq-radius-sm);
	font-size: 0.8125rem;
	font-weight: 500;
	box-shadow: var(--bbq-shadow-lg);
	pointer-events: auto;
	animation: bbq-toast-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bbq-toast--add {
	border-left: 4px solid var(--bbq-green);
}

.bbq-toast--remove {
	border-left: 4px solid var(--bbq-red);
}

.bbq-toast__icon {
	font-size: 1rem;
	line-height: 1;
}

/* ======================================================================
   UPSELLS SECTION
   ====================================================================== */

.bbq-upsells {
	max-width: 1200px;
	margin: 32px auto;
	padding: 1.25rem;
	background: #fff;
	border: var(--bbq-section-border);
	border-radius: var(--bbq-section-radius);
	box-shadow: var(--bbq-section-shadow);
	overflow: hidden;
}

.bbq-upsells__title {
	font-family: 'Marck Script', cursive;
	font-size: 1.75rem;
	font-weight: 400;
	margin: 0 0 1.25rem;
	color: var(--bbq-red);
	text-align: center;
}

.bbq-upsells__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
}

.bbq-upsell-card {
	background: #fff;
	border: 1px solid var(--bbq-gray-200);
	border-radius: var(--bbq-radius);
	overflow: hidden;
	transition: all var(--bbq-transition);
	text-decoration: none;
	color: inherit;
	display: block;
}

.bbq-upsell-card:hover {
	box-shadow: var(--bbq-shadow-md);
	transform: translateY(-2px);
}

.bbq-upsell-card__image {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.bbq-upsell-card__body {
	padding: 0.625rem;
}

.bbq-upsell-card__name {
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 0.25rem;
}

.bbq-upsell-card__price {
	font-size: 0.8125rem;
	color: var(--bbq-green);
	font-weight: 700;
}

/* ======================================================================
   LOADING SKELETON
   ====================================================================== */

.bbq-skeleton {
	background: linear-gradient(90deg, var(--bbq-gray-200) 25%, var(--bbq-gray-100) 50%, var(--bbq-gray-200) 75%);
	background-size: 200% 100%;
	animation: bbq-shimmer 1.5s ease-in-out infinite;
	border-radius: var(--bbq-radius-sm);
}

.bbq-hero--skeleton {
	max-width: 1200px;
	margin: 32px auto;
	padding: 1.5rem;
	background: #fff;
	border: var(--bbq-section-border);
	border-radius: var(--bbq-section-radius);
	box-shadow: var(--bbq-section-shadow);
	overflow: hidden;
}

.bbq-skeleton--image {
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--bbq-radius-lg);
}

.bbq-skeleton--title {
	height: 2.5rem;
	width: 80%;
	margin-bottom: 1rem;
}

.bbq-skeleton--line {
	height: 1rem;
	width: 100%;
	margin-bottom: 0.75rem;
}

.bbq-skeleton--short {
	width: 60%;
}

.bbq-skeleton--btn {
	height: 3rem;
	width: 200px;
	margin-top: 1rem;
	border-radius: var(--bbq-radius);
}

/* ======================================================================
   ANIMATIONS
   ====================================================================== */

@keyframes bbq-pulse-border {
	0%, 100% {
		border-color: var(--bbq-red-light);
		opacity: 1;
	}
	50% {
		border-color: var(--bbq-red);
		opacity: 0.7;
	}
}

@keyframes bbq-slot-fill {
	0% {
		transform: scale(0.5);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes bbq-pop {
	0% { transform: scale(0); }
	100% { transform: scale(1); }
}

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

@keyframes bbq-toast-in {
	0% {
		transform: translateX(100%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes bbq-success-flash {
	0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5); }
	50% { box-shadow: 0 0 0 12px rgba(46, 125, 50, 0); }
	100% { box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3); }
}

@keyframes bbq-shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

/* ======================================================================
   RESPONSIVE — Small screens
   ====================================================================== */

@media (max-width: 500px) {
	.bbq-box-preview__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 4px;
	}

	.bbq-filter-tabs {
		gap: 0.25rem;
	}

	.bbq-filter-tabs__tab {
		padding: 0.3125rem 0.625rem;
		font-size: 0.75rem;
	}

	.bbq-toast-container {
		bottom: 1rem;
		right: 1rem;
		left: 1rem;
	}
}

/* ======================================================================
   MOBILE FAB — jump to "Your Box"
   ====================================================================== */

.bbq-fab {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--bbq-chocolate, #553024);
	color: #fff;
	border: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bbq-fab:hover,
.bbq-fab:focus-visible {
	transform: scale(1.05);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	outline: none;
}

.bbq-fab:active {
	transform: scale(0.96);
}

.bbq-fab__icon {
	width: 26px;
	height: 26px;
}

.bbq-fab__badge {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 28px;
	height: 22px;
	padding: 0 6px;
	border-radius: 11px;
	background: var(--bbq-red, #BB417C);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	font-family: 'Karla', sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	line-height: 1;
}

@media (max-width: 900px) {
	.bbq-fab {
		display: flex;
	}
}

/* ======================================================================
   BOX PREVIEW — VIEW TOGGLE + LIST VIEW
   ====================================================================== */

.bbq-box-preview__view-toggle {
	display: inline-flex;
	border: 1px solid var(--bbq-gray-200, #e5e5e5);
	border-radius: 6px;
	overflow: hidden;
	margin-right: 6px;
}

.bbq-box-preview__view-btn {
	background: #fff;
	border: none;
	padding: 4px 8px;
	cursor: pointer;
	color: var(--bbq-chocolate, #553024);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.bbq-box-preview__view-btn + .bbq-box-preview__view-btn {
	border-left: 1px solid var(--bbq-gray-200, #e5e5e5);
}

.bbq-box-preview__view-btn:hover {
	background: #f7f3ef;
}

.bbq-box-preview__view-btn--active {
	background: var(--bbq-red, #BB417C);
	color: #fff;
}

.bbq-box-preview__view-btn--active:hover {
	background: var(--bbq-red, #BB417C);
}

.bbq-box-preview__view-btn svg {
	width: 16px;
	height: 16px;
	display: block;
}

.bbq-box-preview__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bbq-box-preview__list-empty {
	padding: 16px;
	text-align: center;
	color: var(--bbq-gray-500, #888);
	font-style: italic;
}

.bbq-box-preview__list-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border: 1px solid var(--bbq-gray-200, #eee);
	border-radius: 8px;
	background: #fff;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.bbq-box-preview__list-item--removable {
	cursor: pointer;
}

.bbq-box-preview__list-item--removable:hover,
.bbq-box-preview__list-item--pending-remove {
	background: #fff4f7;
	border-color: var(--bbq-red, #BB417C);
}

.bbq-box-preview__list-image {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.bbq-box-preview__list-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bbq-box-preview__list-name {
	font-weight: 600;
	color: var(--bbq-chocolate, #553024);
	font-size: 14px;
	line-height: 1.3;
}

.bbq-box-preview__list-upcharge {
	font-size: 12px;
	color: var(--bbq-green, #33a64f);
	font-weight: 600;
}

.bbq-box-preview__list-locked {
	font-size: 11px;
	color: var(--bbq-gold, #b8860b);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.bbq-box-preview__list-remove {
	color: var(--bbq-red, #BB417C);
	font-size: 22px;
	line-height: 1;
	font-weight: 700;
	padding: 0 6px;
	opacity: 0.6;
}

.bbq-box-preview__list-item--removable:hover .bbq-box-preview__list-remove,
.bbq-box-preview__list-item--pending-remove .bbq-box-preview__list-remove {
	opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   ADD-ONS SELECTOR
   ═══════════════════════════════════════════════════════════ */

.bbq-add-ons-section {
	margin: 40px 0;
}

.bbq-add-ons__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--bbq-red, #BB417C);
	margin-bottom: 16px;
}

.bbq-add-ons__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.bbq-add-on-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	padding: 16px;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
	text-align: center;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

.bbq-add-on-card:hover {
	border-color: var(--bbq-red, #BB417C);
	box-shadow: 0 2px 8px rgba(187, 65, 124, 0.12);
}

.bbq-add-on-card--selected {
	border-color: var(--bbq-green, #33a64f);
	background: #f6fdf8;
	box-shadow: 0 2px 8px rgba(51, 166, 79, 0.15);
}

.bbq-add-on-card__image {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 12px;
}

.bbq-add-on-card__body {
	flex: 1;
}

.bbq-add-on-card__name {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 4px;
	color: var(--bbq-chocolate, #553024);
}

.bbq-add-on-card__desc {
	font-size: 0.85rem;
	color: #777;
	margin: 0 0 8px;
	line-height: 1.3;
}

.bbq-add-on-card__price {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bbq-green, #33a64f);
}

.bbq-add-on-card__check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--bbq-green, #33a64f);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s;
}

.bbq-add-on-card--selected .bbq-add-on-card__check {
	opacity: 1;
}

@media (max-width: 600px) {
	.bbq-add-ons__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.bbq-add-on-card {
		padding: 12px;
	}

	.bbq-add-on-card__image {
		width: 80px;
		height: 80px;
	}
}

/* ═══════════════════════════════════════════════════════════
   BOX PREVIEW — EDIBLE NOTES
   ═══════════════════════════════════════════════════════════ */

/* Slot state: has an assigned note — green border + thumbnail overlay */
.bbq-box-preview__slot--has-note {
	border-color: var(--bbq-green, #33a64f);
}

/* Slot state: note mode removed — notes are assigned via the panel below, not by clicking slots */

/* Note design thumbnail badge — shown on slots that have a note */
.bbq-box-preview__note-badge {
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 26px;
	height: 26px;
	border-radius: 6px;
	border: 2px solid #fff;
	cursor: pointer;
	z-index: 2;
	padding: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transition: transform 0.2s;
	background: #fff;
	font-family: inherit;
}

.bbq-box-preview__note-badge:hover {
	transform: scale(1.15);
}

.bbq-box-preview__note-badge--has-note img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ═══════════════════════════════════════════════════════════
   EDIBLE NOTES MODAL (single-step)
   ═══════════════════════════════════════════════════════════ */

.bbq-enmodal {
	background: #fff;
	border-radius: 16px;
	max-width: 560px;
	width: 92vw;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	position: relative;
	animation: bbq-modal-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow: hidden;
}

.bbq-enmodal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--bbq-gray-200, #eee);
	flex-shrink: 0;
}

.bbq-enmodal__header-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bbq-enmodal__back {
	background: none;
	border: none;
	color: var(--bbq-red, #BB417C);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
}

.bbq-enmodal__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--bbq-chocolate, #553024);
	margin: 0;
}

.bbq-enmodal__close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: var(--bbq-gray-100, #f5f5f5);
	color: var(--bbq-chocolate, #553024);
	font-size: 1.25rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.bbq-enmodal__close:hover {
	background: var(--bbq-gray-200, #eee);
}

.bbq-enmodal__body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.bbq-enmodal__subtitle {
	font-size: 0.9rem;
	color: var(--bbq-gray-600, #757575);
	margin: 0 0 16px;
}

/* Step 1: Design grid */
.bbq-enmodal__design-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.bbq-enmodal__design-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	border: 2px solid var(--bbq-gray-200, #eee);
	border-radius: 12px;
	padding: 8px;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
	font-family: inherit;
	color: inherit;
}

.bbq-enmodal__design-card:hover {
	border-color: var(--bbq-red, #BB417C);
	box-shadow: 0 2px 8px rgba(187, 65, 124, 0.12);
}

.bbq-enmodal__design-card--active {
	border-color: var(--bbq-red, #BB417C);
	box-shadow: 0 0 0 2px rgba(187, 65, 124, 0.2);
}

.bbq-enmodal__design-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 6px;
}

.bbq-enmodal__design-name {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--bbq-chocolate, #553024);
	text-align: center;
}

.bbq-enmodal__design-check {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--bbq-green, #33a64f);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Design preview (selected) */
.bbq-enmodal__preview {
	display: flex;
	align-items: center;
	gap: 16px;
	background: var(--bbq-red-bg, #fce8f1);
	border-radius: 12px;
	padding: 12px;
}

.bbq-enmodal__preview-img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.bbq-enmodal__preview-name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--bbq-chocolate, #553024);
}

/* Step 2: Selected design header */
.bbq-enmodal__selected-design {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bbq-red-bg, #fce8f1);
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 16px;
}

.bbq-enmodal__selected-design-img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}

.bbq-enmodal__selected-design-name {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--bbq-chocolate, #553024);
	flex: 1;
}

.bbq-enmodal__change-design {
	background: none;
	border: none;
	color: var(--bbq-red, #BB417C);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
	text-decoration: underline;
}

/* Berry checklist */
.bbq-enmodal__berry-list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	flex-wrap: wrap;
	gap: 6px;
}

.bbq-enmodal__berry-list-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bbq-chocolate, #553024);
}

.bbq-enmodal__toggle-all {
	background: none;
	border: none;
	color: var(--bbq-red, #BB417C);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
	text-decoration: underline;
}

.bbq-enmodal__berry-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbq-enmodal__berry-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s;
	border: 1px solid transparent;
}

.bbq-enmodal__berry-row:hover {
	background: var(--bbq-gray-50, #fafafa);
}

.bbq-enmodal__berry-row--checked {
	background: var(--bbq-green-light, #e8f5e9);
	border-color: var(--bbq-green, #33a64f);
}

.bbq-enmodal__berry-img {
	width: 40px;
	height: 40px;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
}

.bbq-enmodal__berry-info {
	flex: 1;
	min-width: 0;
}

.bbq-enmodal__berry-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bbq-chocolate, #553024);
	display: block;
}

.bbq-enmodal__berry-existing {
	font-size: 0.75rem;
	color: var(--bbq-red, #BB417C);
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
}

.bbq-enmodal__berry-existing-thumb {
	width: 18px;
	height: 18px;
	border-radius: 3px;
	object-fit: cover;
	flex-shrink: 0;
}

/* Berry row that has a different note — muted/greyed to show it's "taken" */
.bbq-enmodal__berry-row--has-other-note {
	background: var(--bbq-gray-50, #fafafa);
	opacity: 0.7;
}

.bbq-enmodal__berry-row--has-other-note:hover {
	opacity: 1;
}

/* Berry row that already has this exact design */
.bbq-enmodal__berry-row--has-same-note {
	background: var(--bbq-green-light, #e8f5e9);
	border-color: var(--bbq-green, #33a64f);
}

.bbq-enmodal__berry-current {
	font-size: 0.75rem;
	color: var(--bbq-green, #33a64f);
	font-weight: 600;
	display: block;
}

.bbq-enmodal__checkbox {
	width: 24px;
	height: 24px;
	border-radius: 6px;
	border: 2px solid var(--bbq-gray-300, #e0e0e0);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	color: transparent;
	flex-shrink: 0;
	transition: all 0.15s;
}

.bbq-enmodal__checkbox--checked {
	background: var(--bbq-green, #33a64f);
	border-color: var(--bbq-green, #33a64f);
	color: #fff;
}

/* Footer (sticky) */
.bbq-enmodal__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	border-top: 1px solid var(--bbq-gray-200, #eee);
	flex-shrink: 0;
	gap: 12px;
	flex-wrap: wrap;
}

.bbq-enmodal__footer-link {
	background: none;
	border: none;
	color: var(--bbq-red, #BB417C);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
	font-family: inherit;
	text-decoration: underline;
}

.bbq-enmodal__footer-btn {
	padding: 10px 24px;
	background: var(--bbq-green, #33a64f);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s, transform 0.1s;
	margin-left: auto;
}

.bbq-enmodal__footer-btn:hover {
	background: #2d904a;
}

.bbq-enmodal__footer-btn:active {
	transform: scale(0.97);
}

.bbq-enmodal__footer-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.bbq-enmodal__footer-summary {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--bbq-chocolate, #553024);
}

/* ── Responsive ── */
@media (max-width: 600px) {
	.bbq-enmodal {
		width: 100vw;
		max-width: 100vw;
		max-height: 100vh;
		border-radius: 0;
	}

	.bbq-enmodal__design-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.bbq-enmodal__footer {
		flex-direction: column;
		text-align: center;
	}

	.bbq-enmodal__footer-btn {
		width: 100%;
		margin-left: 0;
	}
}

/* (Old panel and note picker CSS removed — replaced by CTA + Modal above) */

/* ═══════════════════════════════════════════════════════════
   BERRY TILE — EDIBLE NOTE FLAG
   ═══════════════════════════════════════════════════════════ */

.bbq-berry-card__note-flag {
	position: absolute;
	left: 8px;
	bottom: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--bbq-red-light, #fe5bac);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	pointer-events: none;
}

.bbq-berry-card__note-flag-icon {
	font-size: 0.85rem;
	line-height: 1;
}

/* Editable note badge in My Box — clickable button */
.bbq-box-preview__note-badge--editable {
	border: none;
	padding: 0;
	background: transparent;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.bbq-box-preview__note-badge--editable:hover {
	transform: scale(1.1);
}

.bbq-box-preview__note-badge--editable:focus-visible {
	outline: 2px solid var(--bbq-red, #BB417C);
	outline-offset: 2px;
	border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════
   EDIBLE NOTES RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
	.bbq-note-picker__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.bbq-box-preview__note-badge {
		width: 20px;
		height: 20px;
	}
}
