.wagon-extras {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
	gap: 36px 48px;
	align-items: start;
}

.wagon-extras__eyebrow {
	margin: 0 0 8px;
	text-align: center;
	line-height: 1 !important;
}

.wagon-extras .wagon-extras__heading {
	text-align: center;
	margin: 0;
	text-wrap: balance;
}

.wagon-extras__list-card {
	border: 1px solid #E3E3E3;
	margin-top: 40px;
	padding: 0;
	border-radius: 24px;
	overflow: hidden;
}

.wagon-extras__list-title {
	background: #f3f3f3;
	margin: 0;
	padding: 16px;
	border-bottom: 1px solid rgba(21, 44, 18, 0.12);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.wagon-extras .wagon-extras__list {
	margin: 0 16px;
	padding: 0;
	list-style: none;
}

.wagon-extras__list li + li {
	border-top: 1px solid rgba(21, 44, 18, 0.1);
}

.wagon-extras__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 12px;
	align-items: center;
	padding: 16px 0;
	margin: 0;
	cursor: pointer;
}

.wagon-extras__item:has(.wagon-extras__desc) {
	align-items: start;
}

.wagon-extras__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.wagon-extras__name,
.wagon-extras__price {
	font-size: 18px;
	line-height: 1.35;
}

.wagon-extras__desc {
	color: var(--e-global-color-9f11c60);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.wagon-extras__price {
	white-space: nowrap;
	font-weight: 700;
}

.wagon-extras__switch {
	position: relative;
	display: block;
	width: 50px;
	height: 25px;
}

.wagon-extras__switch input {
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	cursor: pointer;
	opacity: 0;
}

.wagon-extras__switch-ui {
	display: block;
	width: 50px;
	height: 25px;
	background: #e4e4e4;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.wagon-extras__switch-ui::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 21px;
	height: 21px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
	transition: transform 0.2s ease;
}

.wagon-extras__switch input:checked + .wagon-extras__switch-ui {
	background: var(--e-global-color-accent);
}

.wagon-extras__switch input:checked + .wagon-extras__switch-ui::after {
	transform: translateX(25px);
}

.wagon-extras__switch input:focus-visible + .wagon-extras__switch-ui {
	outline: 2px solid var(--e-global-color-thmv_dark);
	outline-offset: 3px;
}

.wagon-extras__summary {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px;
	background: #f3f3f3;
	border: 1px solid var(--e-global-color-accent);
	border-radius: 24px;
}

.wagon-extras__wagon,
.wagon-extras__addons,
.wagon-extras__total {
	background: #fff;
	border-radius: 24px;
	border: 1px solid #E3E3E3;
}

.wagon-extras__wagon {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 8px;
}

.wagon-extras img.wagon-extras__photo {
	width: 120px;
	height: 80px;
	max-width: 120px;
	object-fit: cover;
	border-radius: 16px;
}

.wagon-extras__wagon-name,
.wagon-extras__total-label {
	font-family: var(--e-global-typography-primary-font-family), sans-serif;
	font-size: 40px;
	font-weight: var(--e-global-typography-primary-font-weight);
	line-height: 110%;
	text-transform: var(--e-global-typography-primary-text-transform);
	margin: 0;
}

.wagon-extras__wagon-price {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.wagon-extras__addons {
	padding: 0;
	overflow: hidden;
}

.wagon-extras button.wagon-extras__addons-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 16px;
	color: var(--e-global-color-text);
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #E3E3E3;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.wagon-extras__chevron {
	transition: transform 0.2s ease;
}

.wagon-extras__addons-toggle[aria-expanded="false"] .wagon-extras__chevron {
	transform: rotate(-90deg);
}

.wagon-extras__addons-list,
.wagon-extras__addons-empty {
	background-color: #f3f3f3;
}
.wagon-extras__addons-list {
	margin: 0;
	padding: 0 !important;
	list-style: none;
}

.wagon-extras__addon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 12px;
	align-items: center;
	padding: 16px 0;
	margin: 0 16px;
	font-size: 18px;
	border-top: 1px solid rgba(21, 44, 18, 0.08);
}

.wagon-extras__addon-price {
	white-space: nowrap;
}

.wagon-extras button.wagon-extras__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #c0c0c0;
	width: 20px;
	height: 14px;
	margin: 0;
	padding: 0;
	font-size: 0;
	line-height: 1;
	text-transform: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	cursor: pointer;
}

.wagon-extras button.wagon-extras__remove:hover {
	background: transparent;
	transform: none;
}

.wagon-extras button.wagon-extras__remove:focus {
	outline: 2px solid var(--e-global-color-thmv_dark);
	outline-offset: 3px;
}

.wagon-extras button.wagon-extras__remove img {
	display: block;
	width: 22px;
	height: 16px;
}

.wagon-extras__addons-empty {
	margin: 0;
	padding: 16px;
	color: var(--e-global-color-text);
	font-size: 18px;
}

.wagon-extras__addons-empty[hidden],
.wagon-extras__addons-list[hidden] {
	display: none;
}

.wagon-extras__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
}

.wagon-extras__total-value {
	white-space: nowrap;
}

.wagon-extras .elementor-button {
	align-self: center;
	margin: 0;
}

@media (min-width: 901px) {
	.wagon-extras__summary {
		position: sticky;
		top: 120px;
		margin-top: 47px;
	}
}

@media (max-width: 900px) {
	.wagon-extras {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.wagon-extras .elementor-button {
		align-self: stretch;
		text-align: center;
	}
}

html[lang="pt-PT"] .wagon-extras__wagon-name,
html[lang="pt-PT"] .wagon-extras__total-label {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 600;
	letter-spacing: 0.02em;
}
