/* [doses_calculator] — Elementor-aligned product installment UI */
.doses-calculator-shell {
	--doses-red: #F40000;
	--doses-red-dark: #B20002;
	--doses-grey: #a79f9f;
	--doses-border: #ddd;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	max-width: 1155px;
	margin: 0 auto 100px;
	padding: 0 15px;
	box-sizing: border-box;
	overflow: visible;
}

.doses-calculator-shell *,
.doses-calculator-shell *::before,
.doses-calculator-shell *::after {
	box-sizing: border-box;
}
h3.doses-calculator-card__title, .doses-calculator-card__subtitle {
    text-align: center;
}
.doses-calculator-layout {
	display: flex;
	
	align-items: center;
	justify-content: center;
	gap: 30px;
	padding-right: 30px;
}

.doses-calculator-main {
	flex: 0 1 535px;
	max-width: 535px;
	position: relative;
	z-index: 1;
}

.doses-calculator-card {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 535px;
	background: #fff;
	border-radius: 30px;
	padding: 50px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.doses-calculator-card__figure {
	position: absolute;
	right: -200px;
	top: 50%;
	transform: translateY(-50%);
	width: min(461px, 42vw);
	max-width: 461px;
	height: auto;
	pointer-events: none;
	z-index: 3;
}

.doses-calculator-card__title {
	font-family: "Century Gothic", sans-serif;
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
	text-align: left;
}

.doses-calculator-card__subtitle {
	font-family: "Century Gothic", sans-serif;
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #4b5563;
	text-align: center;
	font-weight:400;
}

.doses-calculator-fields {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.doses-calculator-field {
	width: 100%;
}

.doses-calculator-field select {
	display: none;
}

.doses-calculator-shell .doses-custom-select {
	position: relative;
	width: 100%;
	text-align: left;
}

.doses-calculator-shell .doses-custom-select-trigger {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	min-height: 44px;
	padding: 10px 40px 10px 10px;
	border: 1px solid var(--doses-border);
	border-radius: 20px;
	background: #fff;
	color: var(--doses-grey);
	text-align: left;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	position: relative;
	line-height: 1.3;
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
}

.doses-calculator-shell .doses-custom-select-trigger.has-value {
	border: 2px solid var(--doses-red);
	color: #000;
	font-weight: 600;
}

.doses-calculator-shell .doses-custom-select-trigger::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #888;
	border-bottom: 1.5px solid #888;
	transform: translateY(-60%) rotate(45deg);
	pointer-events: none;
}

.doses-calculator-shell .doses-custom-select-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 100%;
	max-height: 260px;
	overflow-y: auto;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	padding: 10px 0;
	z-index: 9999;
	display: none;
	scrollbar-width: thin;
	scrollbar-color: var(--doses-red) transparent;
}

.doses-calculator-shell .doses-custom-select.is-open .doses-custom-select-dropdown {
	display: block;
}

.doses-calculator-shell .doses-custom-select-option {
	display: block;
	width: 100%;
	background: #fff;
	border: 0;
	padding: 12px 18px;
	text-align: left;
	font-size: 16px;
	color: #222;
	cursor: pointer;
}

.doses-calculator-shell .doses-custom-select-option:hover,
.doses-calculator-shell .doses-custom-select-option.is-selected {
	background: #f5f5f5;
}

.doses-calculator-shell .doses-custom-select-option.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.doses-calculator-shell .doses-custom-select-dropdown::-webkit-scrollbar {
	width: 1px;
}

.doses-calculator-shell .doses-custom-select-dropdown::-webkit-scrollbar-thumb {
	background: var(--doses-red);
	border-radius: 999px;
}

.doses-calculator-panel__result {
	margin: 4px 0 0;
	text-align: center;
}

.doses-calculator-panel__result-num {
	display: block;
	font-size: clamp(2rem, 5vw, 2.35rem);
	font-weight: 700;
	color: #111;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.doses-calculator-panel__result-label {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	color: #111;
}

.doses-calculator-panel__result.is-pending .doses-calculator-panel__result-num,
.doses-calculator-panel__result.is-pending .doses-calculator-panel__result-label {
	visibility: hidden;
}

.doses-calculator-panel__cta {
	display: block;
	width: 100%;
	text-align: center;
	text-decoration: none;
	background: linear-gradient(180deg, var(--doses-red), var(--doses-red-dark));
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	padding: 14px 26px;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
	transition: opacity 0.2s;
	max-width: 216px;
    margin: auto;

}

.doses-calculator-panel__cta:hover {
	opacity: 0.95;
	color: #fff !important;
}

.doses-calculator-banks-section {
	margin-top: 6px;
	width: 100%;
}

.doses-calculator-banks-section__title {
	margin: 0 0 12px;
	font-family: "Century Gothic", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: #111;
	text-align: center;
}

.doses-calculator-banks-marquee {
	overflow: hidden;
	width: 100%;
	margin-top: 0;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.doses-calculator-banks-marquee__track {
	display: flex;
	align-items: center;
	gap: 50px;
	width: max-content;
	animation: doses-banks-marquee 30s linear infinite;
}

.doses-calculator-banks-marquee__track img {
	height: 56px;
	width: auto;
	max-width: 182px;
	object-fit: contain;
	flex-shrink: 0;
}

@keyframes doses-banks-marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.doses-calculator-sidebar {
	flex: 0 0 313px;
	max-width: 313px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 0;
}

.doses-calculator-sidebar__img {
	display: block;
	width: 100%;
	max-width: 315px;
	height: auto;
}

.doses-calculator-mobile-banner {
	display: none;
	width: 100%;
	flex: 1 1 100%;
	justify-content: center;
}

.doses-calculator-mobile-banner__img {
	display: block;
	width: 100%;
	max-width: 874px;
	height: auto;
	margin: 0 auto;
}

@media (max-width: 1200px) {
	.doses-calculator-card__figure {
		right: -140px;
		width: min(380px, 36vw);
	}
}

.doses-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 1024px) {
	.doses-calculator-layout {
		padding-right: 0;
		gap: 20px;
	}

	.doses-calculator-main {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.doses-calculator-card {
		max-width: 100%;
		padding: 40px 30px;
		border-radius: 14px;
	}

	.doses-calculator-card__figure {
		display: none;
	}

	.doses-calculator-sidebar {
		display: none;
	}

	.doses-calculator-mobile-banner {
		display: flex;
		order: -1;
		margin-bottom: -70px;
	}
}

@media (max-width: 600px) {
	.doses-calculator-shell {
		margin-bottom: 60px;
	}

	.doses-calculator-card {
		padding: 30px 20px;
	}

	.doses-calculator-card__title {
		font-size: 22px;
		text-align: center;
	}

	.doses-calculator-card__subtitle {
		text-align: center;
		font-size: 14px;
	}
}

/* Section heading before calculator (shortcode output) */
#installementCalc {
	margin-top: 180px;
}

#installementCalc .elementor-heading-title {
	font-size: 50px;
	font-weight: 600;
	margin: 0;
	line-height: 1.2;
	margin-bottom: 73px;
	text-align:center;
}
