.mlb-lead-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0;
}

.mlb-lead-button,
.mlb-form__submit {
	align-items: center;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1;
	min-height: 46px;
	padding: 14px 24px;
	text-align: center;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.mlb-lead-button:hover,
.mlb-form__submit:hover {
	opacity: 1;
}

.mlb-lead-button--callback,
.mlb-lead-button--calculator,
.mlb-form__submit {
	background: #629c00;
	color: #fff;
}

.mlb-lead-button--callback:hover,
.mlb-lead-button--calculator:hover,
.mlb-form__submit:hover {
	background: #446b00;
	color: #fff;
}

.mlb-modal {
	align-items: center;
	bottom: 0;
	display: none;
	justify-content: center;
	left: 0;
	padding: 20px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999;
}

.mlb-modal.is-open {
	display: flex;
}

.mlb-modal__overlay {
	background: rgba(0, 0, 0, 0.55);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.mlb-modal__dialog {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
	max-width: 460px;
	padding: 28px;
	position: relative;
	width: min(100%, 460px);
	z-index: 1;
}

.mlb-modal__close {
	background: transparent;
	border: 0;
	color: #111827;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
	position: absolute;
	right: 16px;
	top: 14px;
}

.mlb-modal__title {
	font-size: 24px;
	margin: 0 32px 20px 0;
}

.mlb-modal--calculator .mlb-modal__dialog {
	max-width: 780px;
	width: min(100%, 780px);
}

.mlb-form__field {
	margin-bottom: 14px;
}

.mlb-form__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.mlb-form__field label span {
	color: #dc2626;
}

.mlb-form__field input,
.mlb-form__field textarea {
	border: 1px solid #d1d5db;
	border-radius: 4px;
	box-sizing: border-box;
	display: block;
	min-height: 42px;
	padding: 10px 12px;
	width: 100%;
}

.mlb-form__field textarea {
	resize: vertical;
}

.mlb-form__field--calculator {
	display: none;
}

.mlb-modal--calculator .mlb-form__field--calculator {
	display: block;
}

.mlb-calculator {
	margin: 4px 0 14px;
}

.mlb-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.mlb-tab {
	align-items: center;
	background: #f7f7f7;
	border: 1px solid #e6e6e6;
	border-radius: 999px;
	color: #111;
	cursor: pointer;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	padding: 8px 12px;
}

.mlb-tab span {
	color: #666;
	font-size: 11px;
	font-weight: 700;
}

.mlb-tab.is-active {
	background: #629c00;
	border-color: #629c00;
	color: #fff;
}

.mlb-tab.is-active span {
	color: rgba(255, 255, 255, 0.9);
}

.mlb-order-note {
	background: #f6fbec;
	border: 1px solid rgba(98, 156, 0, 0.25);
	border-radius: 12px;
	color: #2b2b2b;
	font-size: 12px;
	margin-bottom: 10px;
	padding: 10px 12px;
}

.mlb-calc {
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 12px;
}

.mlb-calc__head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 10px;
}

.mlb-calc__title {
	color: #111;
	font-size: 13px;
	font-weight: 900;
}

.mlb-calc__check {
	align-items: center;
	color: #333;
	display: inline-flex;
	font-size: 12px;
	gap: 8px;
	margin: 0;
	user-select: none;
}

.mlb-calc__items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mlb-calc__item {
	align-items: center;
	display: grid;
	gap: 8px;
	grid-template-columns: 1.3fr 0.7fr 0.55fr 0.45fr auto;
}

.mlb-calc__select,
.mlb-calc__variation,
.mlb-calc__price,
.mlb-calc__qty {
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-radius: 12px !important;
	font-size: 13px !important;
	min-height: 40px;
	padding: 10px !important;
	width: 100% !important;
}

.mlb-calc__select,
.mlb-calc__variation {
	appearance: none;
	-webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%) !important;
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50% !important;
	background-repeat: no-repeat !important;
	background-size: 5px 5px, 5px 5px !important;
	cursor: pointer;
	padding-right: 34px !important;
}

.mlb-calc__variation:disabled {
	background-color: #f5f5f5 !important;
	color: #777 !important;
}

.single-product form.variations_form .variations tr:has([name="attribute_pa_volume"]),
.single-product form.variations_form .variations tr:has([data-attribute_name="attribute_pa_volume"]),
.single-product .woocommerce-product-attributes-item--attribute_pa_volume {
	display: none !important;
}

.single-product div.product .summary > .price,
.single-product div.product .summary p.price,
.single-product div.product .summary span.price,
.single-product div.product .woocommerce-variation-price,
.single-product div.product form.cart,
.single-product div.product .woocommerce-tabs,
.single-product .woocommerce-tabs.wc-tabs-wrapper,
.single-product div.product .woocommerce-tabs .additional_information_tab,
.single-product div.product .woocommerce-tabs #tab-additional_information,
.single-product div.product .woocommerce-tabs:has(#tab-additional_information:empty),
.single-product div.product .woocommerce-tabs:has(.woocommerce-product-attributes:empty) {
	display: none !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.products .product .price,
.product-block .price,
.product-list .price,
.product-caption .price {
	display: none !important;
}

.mlb-calc__remove {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 10px;
	cursor: pointer;
	height: 34px;
	opacity: 0.85;
	width: 34px;
}

.mlb-calc__remove:hover {
	opacity: 1;
}

.mlb-calc__price[readonly] {
	background: #f5f5f5 !important;
	color: #555 !important;
	cursor: not-allowed;
}

.mlb-calc__add {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 999px;
	color: #111;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	margin-top: 10px;
	padding: 12px 18px;
	text-transform: uppercase;
}

.mlb-calc__add:hover {
	background: #629c00;
	border-color: #629c00;
	color: #fff;
}

.mlb-calc__summary {
	border-top: 1px dashed #e2e2e2;
	margin-top: 10px;
	padding-top: 10px;
}

.mlb-calc__line {
	color: #333;
	display: flex;
	font-size: 12px;
	gap: 10px;
	justify-content: space-between;
	margin: 6px 0;
}

.mlb-calc__total {
	color: #111;
	font-size: 14px;
}

.mlb-calc__total b {
	font-weight: 900;
}

.mlb-calc__warn {
	background: #fff3f3;
	border: 1px solid rgba(255, 0, 0, 0.12);
	border-radius: 12px;
	color: #7a1f1f;
	font-size: 12px;
	margin-top: 10px;
	padding: 10px 12px;
}

.mlb-form__consent {
	align-items: flex-start;
	display: flex;
	font-size: 13px;
	gap: 8px;
	line-height: 1.4;
	margin: 10px 0 18px;
}

.mlb-form__consent input {
	margin-top: 3px;
}

.mlb-form__submit {
	color: #fff;
	width: 100%;
}

.mlb-form__submit:disabled {
	cursor: wait;
	opacity: 0.7;
	transform: none;
}

.mlb-form__message {
	font-size: 14px;
	margin-top: 12px;
	min-height: 20px;
}

.mlb-form__message--success {
	color: #15803d;
}

.mlb-form__message--error {
	color: #b91c1c;
}

@media (max-width: 480px) {
	.mlb-lead-buttons {
		flex-direction: column;
	}

	.mlb-lead-button {
		width: 100%;
	}

	.mlb-modal__dialog {
		padding: 24px 18px;
	}

	.mlb-tab {
		justify-content: center;
		width: 100%;
	}

	.mlb-calc__item {
		grid-template-columns: 1fr 1fr;
	}
}
