/* CS Flavor Picker v2. Tokens from the site's Elementor kit. */
.csb {
	max-width: 100%;
	min-width: 0;
	--csb-bg: #FBFEEA;
	--csb-ink: #04303E;
	--csb-cta: #007BAA;
	--csb-sel: #E1F5F9;
	--csb-line: #C9D8D2;
	--csb-muted: #4E6B73;
	color: var(--csb-ink);
	font-family: "Instrument Sans", Helvetica, Arial, sans-serif;
	width: 100%;
}
.csb *, .csb *::before, .csb *::after { box-sizing: border-box; }

.csb-price-row { display: flex; align-items: baseline; gap: 12px; padding-top: 6px; margin-bottom: 22px; }
.csb-price { font-family: "Druk Wide Bold", sans-serif; font-size: 30px; line-height: 1.1; letter-spacing: .01em; }
.csb-per { font-size: 16px; }

.csb-title { font-family: "Instrument Sans", Helvetica, Arial, sans-serif !important; font-weight: 700 !important; font-size: 24px !important; line-height: 1.2 !important; text-transform: none !important; color: var(--csb-ink) !important; margin: 0 0 6px !important; }
.csb-sub-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.csb-sub { margin: 0 !important; font-size: 16px; }
.csb-count { font-weight: 700; color: var(--csb-cta); font-size: 16px; white-space: nowrap; }

.csb-unavailable { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #FFF1F0; color: #8A1C12; font-weight: 600; }

.csb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; min-width: 0; max-width: 100%; }
.csb-card {
	min-width: 0; display: flex; align-items: center; gap: 8px;
	min-height: 62px; padding: 6px 8px 6px 6px;
	background: #fff; border: 1.5px solid var(--csb-line); border-radius: 10px;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.csb-card:hover { border-color: var(--csb-cta); }
.csb-card.is-on { background: var(--csb-sel); border-color: var(--csb-cta); box-shadow: 0 0 0 1px var(--csb-cta) inset; }
.csb-card.is-out { opacity: .5; }
.csb-card.is-out:hover { border-color: var(--csb-line); }
.csb-card.is-bad { border-color: #C0392B; background: #FFF4F2; box-shadow: none; }
.csb-card.is-bad .csb-state { color: #A93226; font-weight: 600; }

.csb .csb-pick {
	all: unset; box-sizing: border-box;
	display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; min-height: 48px;
	padding: 2px 4px; border-radius: 8px; cursor: pointer; color: var(--csb-ink); text-align: left;
}
.csb .csb-pick:disabled { cursor: not-allowed; }
.csb .csb-pick:focus-visible { outline: 2px solid var(--csb-cta); outline-offset: 2px; }
.csb-pick img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.csb-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.csb-name { font-family: "Instrument Sans", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 16px; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: none; }
.csb-state { font-family: "Instrument Sans", Helvetica, Arial, sans-serif; font-size: 13px; color: var(--csb-muted); line-height: 1.3; }
.csb-card.is-on .csb-state { color: var(--csb-cta); font-weight: 600; }

.csb-step { flex: none; display: flex; align-items: center; border: 1.5px solid var(--csb-line); border-radius: 999px; background: #fff; }
.csb-card.is-on .csb-step { border-color: var(--csb-cta); }
.csb .csb-step button {
	all: unset; box-sizing: border-box;
	width: 34px; height: 36px; display: grid; place-items: center; cursor: pointer;
	font-family: "Instrument Sans", Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 600; line-height: 1;
	color: var(--csb-cta); border-radius: 999px;
}
.csb .csb-step button:hover:not(:disabled) { background: var(--csb-sel); }
.csb .csb-step button:disabled { color: #B7C4C7; cursor: default; }
.csb .csb-step button:focus-visible { outline: 2px solid var(--csb-cta); outline-offset: 1px; }
.csb-qty { min-width: 22px; text-align: center; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }

.csb-msg { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.csb-msg.is-error { background: #FFF1F0; color: #8A1C12; }
.csb-msg.is-ok { background: var(--csb-sel); color: var(--csb-ink); }
.csb-msg a { color: var(--csb-cta); text-decoration: underline; }

.csb-actions { margin-top: 16px; }
.csb-bar-info { display: none; }
.csb .csb-btn {
	display: block; width: 100%; min-height: 52px; border: 0; border-radius: 40px; cursor: pointer;
	background: var(--csb-cta) !important; color: #fff !important;
	font-family: "Instrument Sans", Helvetica, Arial, sans-serif !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: normal !important;
	padding: 12px 24px !important; transition: filter .15s;
}
.csb .csb-btn:hover { filter: brightness(1.08); }
.csb .csb-btn:disabled { background: #DCE3CF !important; color: #04303E !important; cursor: default; filter: none; }
.csb .csb-btn.is-busy { opacity: .75; cursor: progress; }
.csb-note { margin: 8px 0 0 !important; font-size: 13px; }

@media (max-width: 1024px) and (min-width: 768px) {
	.csb-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.csb-price { font-size: 26px; }
	.csb-title { font-size: 22px !important; }
	.csb-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.csb-pick img { width: 36px; height: 36px; }
	.csb-name { font-size: 15px; }
	.csb .csb-step button { width: 44px; height: 44px; }
	.csb-note { display: none; }
	.csb-actions {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; margin: 0;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: var(--csb-bg); border-top: 1px solid var(--csb-line);
		box-shadow: 0 -6px 18px rgba(4, 48, 62, .08);
	}
	.csb-bar-info { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 16px; }
	.csb-bar-info strong { font-weight: 700; }
	.csb-bar-info [data-csb-picked] { font-weight: 700; color: var(--csb-cta); }
	body.csb-has-bar { padding-bottom: calc(130px + env(safe-area-inset-bottom)); }
}
