/* ------------------------------------------------------------------ */
/* Menukaart ([broodjes] shortcode)                                    */
/* ------------------------------------------------------------------ */

.bab-menu-list {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.bab-menu-item {
	width: 100%;
}

.bab-menu-item-row {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.bab-menu-item-name {
	font-weight: 700;
	font-size: 1.05em;
	white-space: nowrap;
	flex: 0 0 auto;
}

.bab-menu-item-dots {
	flex: 1 1 auto;
	border-bottom: 2px dotted currentColor;
	opacity: 0.35;
	height: 0;
	margin-bottom: 5px;
}

.bab-menu-item-price {
	font-weight: 700;
	flex: 0 0 auto;
	white-space: nowrap;
}

.bab-menu-item-content {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: 6px;
}

.bab-menu-item-description {
	margin: 0;
	opacity: 0.85;
	font-size: 0.95em;
	max-width: 80%;
}

.bab-menu-add-btn {
	flex: 0 0 auto !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	min-height: 40px !important;
	max-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	border: none !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	background: #ea559d !important;
	background-image: none !important;
	color: #fff !important;
	line-height: 1 !important;
	transition: transform 0.15s ease, background 0.15s ease;
}

.bab-menu-add-btn:hover {
	background: #d6478b !important;
	transform: scale(1.05);
}

.bab-menu-add-btn:disabled,
.bab-menu-add-btn.bab-loading {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

.bab-menu-add-btn::before,
.bab-menu-add-btn::after {
	display: none !important;
	content: none !important;
}

.bab-menu-add-btn svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	flex: 0 0 auto !important;
	color: #fff !important;
	stroke: #fff !important;
	fill: none !important;
	pointer-events: none;
	position: relative;
	z-index: 1;
}

.bab-menu-empty {
	opacity: 0.7;
	font-style: italic;
}

/* ------------------------------------------------------------------ */
/* Add-on popup                                                        */
/* ------------------------------------------------------------------ */

.bab-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 20px;
}

.bab-popup-overlay[hidden] {
	display: none;
}

body.bab-popup-open {
	overflow: hidden;
}

.bab-popup-box {
	background: #fff;
	border-radius: 14px;
	max-width: 480px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	padding: 28px 24px 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.bab-popup-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: #f3f3f3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #333;
}

.bab-popup-close:hover {
	background: #e4e4e4;
}

.bab-popup-close svg {
	width: 16px;
	height: 16px;
}

.bab-popup-loading {
	text-align: center;
	padding: 40px 0;
	opacity: 0.7;
}

.bab-popup-product-name {
	margin: 0 0 18px;
	padding-right: 30px;
	font-size: 1.3em;
}

.bab-popup-group {
	margin-bottom: 18px;
}

.bab-popup-group-title {
	font-weight: 600;
	margin: 0 0 4px;
}

.bab-popup-required {
	color: #c0392b;
}

.bab-popup-group-desc {
	font-size: 0.85em;
	opacity: 0.7;
	margin: 0 0 8px;
}

.bab-popup-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bab-popup-option {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: normal;
}

.bab-popup-option input[type="checkbox"]:disabled + .bab-popup-option-name {
	opacity: 0.4;
}

.bab-popup-option-price {
	opacity: 0.7;
	font-size: 0.9em;
}

.bab-popup-group-error {
	color: #c0392b;
	font-size: 0.85em;
	margin: 6px 0 0;
}

.bab-popup-group-has-error .bab-popup-group-title {
	color: #c0392b;
}

.bab-popup-total-row {
	display: flex;
	justify-content: space-between;
	font-weight: 700;
	font-size: 1.1em;
	border-top: 1px solid #eee;
	padding-top: 14px;
	margin-top: 6px;
}

.bab-popup-submit {
	width: 100%;
	margin-top: 18px;
	padding: 13px 20px;
	border: none;
	border-radius: 50px;
	background: #ea559d;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	font-size: 1em;
}

.bab-popup-submit:hover {
	background: #d6478b;
}
