.lifepod-pack-selector {
	--lifepod-pack-accent: #4b00c9;
	--lifepod-pack-accent-dark: #39009e;
	--lifepod-pack-border: #e6e0f5;
	--lifepod-pack-muted: #5a5470;
	--lifepod-pack-surface: #f8f5ff;
	position: relative;
	overflow: hidden;
	margin: 20px 0 14px;
	padding: 32px 26px 22px;
	border: 1px solid #ece7f8;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(60, 40, 110, 0.10);
}

.lifepod-pack-selector::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #6514df, #4b00c9);
}

.lifepod-pack-selector__header {
	margin-bottom: 22px;
	text-align: center;
}

.lifepod-pack-selector__title {
	margin: 0 0 5px;
	color: #14122a;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.2px;
}

.lifepod-pack-selector__subtitle {
	margin: 0;
	color: var(--lifepod-pack-muted);
	font-size: 15px;
}

.lifepod-pack-selector__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 14px;
}

/* Produto de 1 sabor (variavel): campo unico, sem resumo */
.lifepod-pack-selector--single .lifepod-pack-selector__grid {
	grid-template-columns: 1fr;
	max-width: 460px;
	margin: 0 auto;
}

.lifepod-pack-selector__field {
	display: block;
	min-width: 0;
	margin: 0;
}

.lifepod-pack-selector__label {
	display: block;
	margin-bottom: 7px;
	color: #6b6480;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lifepod-pack-selector__select {
	display: block;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 11px 34px 11px 13px;
	overflow: hidden;
	border: 1.5px solid var(--lifepod-pack-border);
	border-radius: 10px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234b00c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	background-size: 12px 8px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color: #1c2030;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lifepod-pack-selector__select:hover {
	border-color: #b9a4ea;
}

.lifepod-pack-selector__select:focus {
	border-color: var(--lifepod-pack-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(75, 0, 201, 0.13);
}

.lifepod-pack-selector__summary {
	margin-top: 22px;
	padding: 16px 18px 17px;
	border: 1px solid #efe9fb;
	border-radius: 13px;
	background: linear-gradient(135deg, #faf7ff 0%, #f3edff 100%);
}

.lifepod-pack-selector__summary-title {
	display: block;
	margin-bottom: 12px;
	color: var(--lifepod-pack-accent-dark);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lifepod-pack-selector__summary-list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 11.5px;
}

.lifepod-pack-selector__summary-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 4px 13px 4px 4px;
	border: 1px solid #e9e1fb;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(60, 40, 110, 0.05);
}

.lifepod-pack-selector__summary-number {
	display: inline-grid;
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(145deg, #6514df, var(--lifepod-pack-accent-dark));
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	box-shadow: 0 2px 5px rgba(75, 0, 201, 0.25);
}

.lifepod-pack-selector__summary-flavor {
	color: #3a3552;
	font-weight: 600;
	line-height: 1.2;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
}

.lifepod-pack-selector__summary-item--empty .lifepod-pack-selector__summary-number {
	background: #cfc7e8;
	box-shadow: none;
}

.lifepod-pack-selector__summary-item--empty .lifepod-pack-selector__summary-flavor {
	color: #a6a0c2;
	font-weight: 500;
}

.lifepod-pack-selector__notice {
	margin: 12px 0 0;
	color: #8a87a3;
	font-size: 13px;
	font-weight: 600;
}

.lifepod-pack-selector__notice--warning {
	color: #c0392b;
	font-size: 13.5px;
	font-weight: 700;
}

/* The source remains in the form and functional; only its visual layer is hidden. */
.lifepod-pack-source--visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.lifepod-pack-form--active .single_add_to_cart_button {
	display: block;
	width: 100%;
	min-height: 50px;
	margin-top: 10px;
	border: 0;
	border-radius: 11px;
	background: linear-gradient(90deg, #5a0bdf, #4300bd);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.3px;
	text-align: center;
	text-transform: uppercase;
	box-shadow: 0 8px 22px rgba(75, 0, 201, 0.28);
	transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lifepod-pack-form--active .single_add_to_cart_button:hover,
.lifepod-pack-form--active .single_add_to_cart_button:focus {
	background: linear-gradient(90deg, #4d00c4, #380099);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(75, 0, 201, 0.34);
}

.lifepod-pack-form--active .single_add_to_cart_button.lifepod-pack-add--disabled {
	background: #c9c3df;
	color: #fff;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
	opacity: 1;
}

.lifepod-pack-form--active .single_add_to_cart_button.lifepod-pack-add--disabled:hover {
	background: #c9c3df;
	transform: none;
	box-shadow: none;
}

.lifepod-pack-selector__notice {
	text-align: center;
}

@media (max-width: 767px) {
	.lifepod-pack-selector {
		padding: 24px 16px 16px;
		border-radius: 14px;
	}

	.lifepod-pack-selector__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.lifepod-pack-selector__field {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		align-items: center;
		padding: 7px 0;
		border-bottom: 1px solid #f1edfa;
	}

	.lifepod-pack-selector__field:last-child {
		border-bottom: 0;
	}

	.lifepod-pack-selector__label {
		margin: 0;
		padding-right: 10px;
		color: #2a2640;
		font-size: 12.5px;
	}

	.lifepod-pack-selector__summary-list {
		gap: 8px 10px;
	}

	.lifepod-pack-selector__select {
		min-height: 42px;
		border-radius: 9px;
		font-size: 13px;
	}

	.lifepod-pack-selector__title {
		font-size: 22px;
	}

	.lifepod-pack-selector__subtitle {
		font-size: 14px;
	}
}

@media (max-width: 420px) {
	.lifepod-pack-selector__field {
		grid-template-columns: 84px minmax(0, 1fr);
	}

	.lifepod-pack-selector__label {
		font-size: 12px;
	}
}
