/**
 * Configurator steps 1–3 — shared mobile + desktop mockup layout.
 */

body.jsm-cro-active .jsm-cro-configurator {
	--jsm-cro-cfg-blue: #0b3d91;
	--jsm-cro-cfg-gray-700: #4b5361;
	--jsm-cro-cfg-gray-500: #7a8291;
	--jsm-cro-cfg-gray-300: #dfe3ea;
	--jsm-cro-cfg-gray-100: #f6f7f9;
	--jsm-cro-cfg-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	text-align: left;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step {
	margin: 20px 0 0;
	width: 100%;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step {
	margin: 20px 16px 0;
	width: auto;
}

/* Always-expanded step headers (left-aligned) */
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__details {
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__summary {
	list-style: none;
	text-align: left;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--minimized .jsm-cro-step__summary,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--audience .jsm-cro-step__summary {
	pointer-events: auto;
	cursor: pointer;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__summary::after {
	display: none !important;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__summary-main {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	min-width: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__value {
	display: none !important;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border-radius: 50%;
	background: var(--jsm-cro-cfg-blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__title {
	margin: 0;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--jsm-cro-navy, #002b5c);
	text-align: left;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__body {
	padding: 0;
	text-align: left;
}

/* Step 1 — bottle options */
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 0;
	padding: 12px;
	border: 1.5px solid var(--jsm-cro-cfg-gray-300);
	border-radius: var(--jsm-cro-cfg-radius);
	background: #fff;
	box-shadow: none;
	text-align: left;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle.is-selected {
	border-color: var(--jsm-cro-cfg-blue);
	background: #f6f9ff;
	box-shadow: none;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__radio {
	display: none !important;
}

/* Shared option icon slot */
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-option-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 52px;
	min-width: 52px;
	height: 52px;
	border-radius: 10px;
	background: rgba(11, 61, 145, 0.06);
	color: var(--jsm-cro-cfg-blue);
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle.is-selected .jsm-cro-option-icon,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan.is-selected .jsm-cro-option-icon {
	background: rgba(11, 61, 145, 0.1);
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-option-icon__img {
	display: block;
	width: auto;
	height: 42px;
	max-width: 46px;
	object-fit: contain;
	image-rendering: -webkit-optimize-contrast;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-option-icon__svg {
	display: block;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	min-width: 52px;
	color: var(--jsm-cro-cfg-blue);
	flex-shrink: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__icon .jsm-cro-option-icon__svg {
	display: block;
	width: auto;
	height: 40px;
	max-width: 28px;
	flex-shrink: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	min-height: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__title {
	display: flex;
	flex-direction: column;
	gap: 0;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--jsm-cro-navy, #002b5c);
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__name,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__name-sub {
	display: block;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__price {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--jsm-cro-cfg-blue) !important;
	letter-spacing: -0.01em;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__desc {
	display: none !important;
}

/* Step 2 — plans */
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plans {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
	min-height: 0;
	padding: 14px;
	border: 1.5px solid var(--jsm-cro-cfg-gray-300);
	border-radius: var(--jsm-cro-cfg-radius);
	background: #fff;
	text-align: left;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan.is-selected {
	border-color: var(--jsm-cro-cfg-blue);
	background: #f6f9ff;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__radio {
	display: none !important;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	min-width: 52px;
	height: 52px;
	color: var(--jsm-cro-cfg-blue);
	margin-top: 0;
	flex-shrink: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__body {
	flex: 1 1 calc(100% - 62px);
	min-width: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__row strong {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-badge {
	background: var(--jsm-cro-cfg-blue);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 20px;
	letter-spacing: 0.3px;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__desc {
	margin-top: 2px;
	font-size: 11.5px;
	color: var(--jsm-cro-cfg-gray-500);
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__body > strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-frequency {
	display: flex;
	flex: 1 1 100%;
	width: 100%;
	margin-top: 12px;
	padding: 3px;
	gap: 2px;
	border-radius: 8px;
	background: var(--jsm-cro-cfg-gray-100);
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-frequency__btn {
	flex: 1;
	min-height: 40px !important;
	height: auto !important;
	padding: 10px 4px !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: transparent !important;
	color: var(--jsm-cro-cfg-gray-700) !important;
	font-size: 11.5px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	white-space: normal;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-frequency__btn.is-active {
	background: var(--jsm-cro-cfg-blue) !important;
	color: #fff !important;
}

/* Step 3 — quantity */
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-panel {
	display: flex;
	flex-direction: column;
	gap: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin-bottom: 6px;
	width: 100%;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-stack {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-stepper-wrap {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	width: 100%;
	max-width: 100%;
	padding-top: 0;
	box-sizing: border-box;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick-wrap {
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick__label {
	display: none;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 8px;
	width: 100%;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick__btn {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	min-height: 44px !important;
	height: auto !important;
	padding: 11px 8px !important;
	border: 1.5px solid var(--jsm-cro-cfg-gray-300) !important;
	border-radius: 20px !important;
	background: #fff !important;
	color: var(--jsm-cro-cfg-gray-700) !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick__btn.is-active {
	background: var(--jsm-cro-cfg-blue) !important;
	border-color: var(--jsm-cro-cfg-blue) !important;
	color: #fff !important;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls {
	display: block !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	min-height: 0;
	box-sizing: border-box;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .quantity {
	display: flex !important;
	align-items: center;
	width: 100% !important;
	height: auto;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1.5px solid var(--jsm-cro-cfg-gray-300) !important;
	border-radius: 8px !important;
	overflow: hidden;
	background: #fff;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .minus,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .plus,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls button.minus,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls button.plus {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 48px !important;
	min-width: 48px !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	flex: 0 0 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: var(--jsm-cro-cfg-gray-700) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	cursor: pointer;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .minus::before,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .plus::before,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls button.minus::before,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls button.plus::before {
	display: none !important;
	content: none !important;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .minus.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls input.qty {
	flex: 1 1 auto;
	width: 100% !important;
	min-width: 2.75rem !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	padding: 0 !important;
	border: 0 !important;
	border-left: 1px solid var(--jsm-cro-cfg-gray-300) !important;
	border-right: 1px solid var(--jsm-cro-cfg-gray-300) !important;
	background: #fff !important;
	color: var(--jsm-cro-navy, #002b5c) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 48px !important;
	text-align: center !important;
	-moz-appearance: textfield;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls input.qty::-webkit-outer-spin-button,
body.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-note {
	margin: 0;
	font-size: 11px;
	color: var(--jsm-cro-cfg-gray-500);
	text-align: left;
	line-height: 1.35;
}

/* Mobile compact — tighter option cards */
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step {
	margin: 14px 12px 0;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__summary {
	margin-bottom: 8px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__title {
	font-size: 13.5px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle-grid {
	gap: 8px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle {
	gap: 8px;
	padding: 9px 10px !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-option-icon,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__icon,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__icon {
	width: 44px;
	min-width: 44px;
	height: 44px;
	border-radius: 8px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-option-icon__img,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__icon .jsm-cro-option-icon__img {
	display: none;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-option-icon__svg,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__icon .jsm-cro-option-icon__svg,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__icon .jsm-cro-option-icon__svg {
	width: auto;
	height: 32px;
	max-width: 24px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__title {
	font-size: 11.5px;
	line-height: 1.2;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle__price {
	font-size: 14px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plans {
	gap: 8px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan {
	gap: 8px;
	padding: 10px 11px !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__row strong,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__body > strong {
	font-size: 12px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan__desc {
	font-size: 10.5px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-badge {
	font-size: 8px;
	padding: 2px 6px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-frequency {
	margin-top: 8px;
	padding: 2px;
	gap: 1px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-frequency__btn {
	padding: 10px 4px !important;
	font-size: 11.5px !important;
	line-height: 1.25 !important;
	min-height: 40px !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-row {
	gap: 10px;
	margin-bottom: 0;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick {
	gap: 6px;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick__btn {
	padding: 7px 4px !important;
	font-size: 11px !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-note {
	font-size: 10px;
}

@media (max-width: 520px) {
	body.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle-grid {
		grid-template-columns: 1fr;
	}
}

/* Override legacy mobile.css fat-thumb / grid rules inside configurator */
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle-grid {
	grid-template-columns: 1fr 1fr !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	grid-template-columns: none !important;
	width: 100% !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-qty-quick__btn {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 42px !important;
	padding: 10px 4px !important;
	font-size: 10.5px !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step__summary {
	min-height: 0 !important;
	padding: 0 !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-bottle,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-plan {
	min-height: 0 !important;
	padding: 12px 14px !important;
}

body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .minus,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls .plus,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls button.minus,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls button.plus,
body.jsm-cro-is-mobile.jsm-cro-active .jsm-cro-configurator .jsm-cro-step--qty .jsm-cro-qty-controls input.qty {
	min-height: 48px !important;
	max-height: 48px !important;
	height: 48px !important;
}


/* Fixed special offer (Glacier CC cooler + 4 bottles) */
.jsm-cro-configurator--special-offer .jsm-cro-special-offer__price {
	margin: 0 0 8px;
	font-size: 1.25rem;
	color: #0b3d91;
}
.jsm-cro-configurator--special-offer .jsm-cro-special-offer__price span {
	font-weight: 500;
	color: #4b5361;
	font-size: 0.95rem;
}
.jsm-cro-configurator--special-offer .jsm-cro-special-offer__includes {
	margin: 0 0 16px;
	color: #4b5361;
	font-size: 0.92rem;
	line-height: 1.45;
}
.jsm-cro-configurator--special-offer .jsm-cro-special-offer__deposit-title {
	margin: 0 0 10px;
	font-size: 1rem;
}
.jsm-cro-configurator--special-offer .jsm-cro-special-offer__deposit-opt {
	display: block;
	margin: 0 0 10px;
	line-height: 1.4;
	cursor: pointer;
}
