@charset "utf-8";

.checkbox {
	height: 10px;
	background: transparent url(../images/checkbox.gif) no-repeat;
}

/*-------------impromptu---------- */
.jqifade {
	position: absolute;
	background-color: #aaaaaa;
}

div.jqi .jqicontainer {
	font-weight: bold;
}

div.jqi .jqiclose {
	position: absolute;
	top: 4px;
	right: -2px;
	width: 18px;
	cursor: default;
	color: #bbbbbb;
	font-weight: bold;
}

div.jqi .jqimessage {
	padding: 10px;
	line-height: 20px;
	color: #444444;
}

div.jqi .jqibuttons {
	text-align: right;
	padding: 5px 0 5px 0;
	border: solid 1px #eeeeee;
	background-color: #f4f4f4;
}

div.jqi button {
	padding: 3px 10px;
	margin: 0 10px;
	background-color: #2F6073;
	border: solid 1px #f4f4f4;
	color: #ffffff;
	font-weight: bold;
	font-size: 12px;
}

div.jqi button:hover {
	background-color: #728A8C;
}

div.jqi button.jqidefaultbutton {
	background-color: #BF5E26;
}

.jqiwarning .jqi .jqibuttons {
	background-color: #BF5E26;
}

div.jqi a.jqidefaultbutton {
	background-color: #BF5E26;
}

a:link {
	text-decoration: none
}

/*-------------------------------- */
.addonNoticePending {
	background: #FFDEA1;
	border: solid 1px #FFC55C;
	padding: 2px;
	margin: 2px;
	font-style: italic;
}

.addonNoticeSuccess {
	background: #B8FFA1;
	border: solid 1px #5CFF8A;
	padding: 2px;
	margin: 2px;
	font-style: italic;
}

.addonNoticeFailed {
	background: #FFA1A1;
	border: solid 1px #FF5C5C;
	padding: 2px;
	margin: 2px;
	font-style: italic;
}

/* CSS Document */
#overlay_back {
	width: 100%;
	background-color: #333;
	height: 100%;
	z-index: 1000;
	display: none;
	background-repeat: repeat;
	position: fixed;
	left: 0;
	top: 0;
	opacity: 0.8;
	filter: alpha(opacity=80);
}

#loading {
	display: none;
	width: auto;
	height: auto;
	padding: 0;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1001;
	opacity: 1;
	transform: translate(-50%, -50%);
}

#topping {
	background-color: #FFF;
	width: 50%;
	padding: 3px;
	height: auto;
	display: none;
	position: fixed;
	border: 2px solid #333;
	top: 10%;
	left: 0px;
	/* right: 0px; */
	margin: 0 auto;
	z-index: 1009;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	-moz-box-shadow: 0 0 10px #000;
	-webkit-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;

}

@media only screen and (max-width:767px) {
	#topping {
		width: 90%;
	}
}

.radio,
.checkbox {
	display: block;
	min-height: 20px;
	margin-top: -7px;
	margin-bottom: 10px;
	padding-left: 28px;
}

/* Enhanced Addon UI */
.addon-item-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 10px;
	margin-bottom: 8px;
	background: #ffffff;
	border-radius: 5px;
	border: 1px solid #eeeeee;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.addon-main {
	flex-grow: 1;
	display: flex;
	align-items: center;
	font-size: 13px;
	color: #444;
}

.no-option-wrapper {
	display: flex;
	align-items: center;
	padding-left: 8px;
	border-left: 1px solid #f0f0f0;
}

.no-option-toggle {
	display: flex;
	align-items: center;
	background: #fdf2f2;
	padding: 2px 6px;
	border: 1px solid #fbd5d5;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s;
}

.no-option-toggle:hover {
	background: #fee2e2;
}

.no-option-toggle.active {
	background: #e53e3e !important;
	border-color: #c53030 !important;
}

.no-option-toggle.active .no-label {
	color: #ffffff !important;
}

.no-label {
	color: #c53030;
	font-size: 10px;
	font-weight: 800;
	margin-left: 3px;
	letter-spacing: 0.5px;
}

.checkbox2 {
	margin-right: 8px !important;
}

/* Responsive Popup Table */
@media only screen and (max-width: 767px) {

	.popup_tbl tr,
	.popup_tbl td {
		display: block !important;
		width: 100% !important;
	}

	.popup_tbl td {
		padding: 5px 0 !important;
	}
}

.popup_tbl td {
	padding: 0;
	box-sizing: border-box;
}

.popup_tbl {
	border-collapse: collapse;
}

.popup_title {
	color: #ffffff !important;
	padding: 15px !important;
	margin: 0 !important;
}

.popup_title h4,
.popup_title span,
.popup_title div {
	color: black !important;
	margin: 0 !important;
	font-weight: bold;
}

/* +/- quantity stepper for multi-type addons */
.qty-stepper {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	user-select: none;
}

.qty-stepper .qty-btn {
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	border: 2px solid var(--template-color, #e87722);
	background: #ffffff;
	color: var(--template-color, #e87722);
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}

.qty-stepper .qty-btn:hover {
	background: var(--template-color, #e87722);
	color: #ffffff;
}

.qty-stepper .qty-btn:active {
	transform: scale(0.94);
}

.qty-stepper .qty-val {
	min-width: 22px;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	color: #ffffff;
	background: var(--template-color, #e87722);
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* When nothing is selected, show only the round "+" button */
.qty-stepper.qty-zero .qty-minus,
.qty-stepper.qty-zero .qty-val {
	display: none;
}

/* Keep addon quantity controls inside the card when item names are long. */
#topping .addon-item-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 12px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

#topping .addon-card-left,
#topping .addon-info-text {
	min-width: 0;
}

#topping .addon-info-text {
	width: 100%;
}

#topping .addon-name-val {
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#topping .addon-card-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: max-content;
	padding-left: 0;
}

#topping .qty-stepper {
	flex-wrap: nowrap;
	flex-shrink: 0;
}

@media only screen and (max-width: 767px) {
	.qty-stepper {
		gap: 6px;
	}

	#topping .addon-item-card {
		column-gap: 8px;
	}

	.qty-stepper .qty-btn {
		width: 30px;
		height: 30px;
		min-width: 30px;
		font-size: 18px;
	}

	.qty-stepper .qty-val {
		width: 26px;
		height: 26px;
		font-size: 14px;
	}
}
