/*
 * Flexahosting checkout conversion enhancements.
 * Scoped to the selected Flexahosting order forms by JavaScript.
 */

.hf-checkout-body .hf-start-conversion,
.hf-checkout-body .hf-start-conversion * {
	box-sizing: border-box;
}

.hf-checkout-body .hf-start-conversion {
	display: grid;
	gap: 12px;
	width: 100%;
	margin: 14px 0 0;
	padding: 0 !important;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hf-checkout-body .hf-start-benefits,
.hf-checkout-body .hf-start-trustpilot,
.hf-checkout-body .hf-start-faq {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
}

.hf-checkout-body .hf-start-conversion div,
.hf-checkout-body .hf-start-conversion p,
.hf-checkout-body .hf-start-conversion span {
	padding-bottom: 0 !important;
}

.hf-checkout-body .hf-start-conversion p {
	margin: 0 !important;
}

/* Keep the Flexahosting guarantee bar compact, but never at micro-copy size. */
.hf-checkout-body[data-hf-domain-deal="1"] .bestelform_header {
	min-height: 40px;
	gap: 20px;
	padding: 8px 16px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

.hf-checkout-body .hf-package-choice-heading {
	display: grid;
	gap: 2px;
	margin: 18px 0 8px;
	padding: 16px 2px 0;
	border-top: 1px solid #dedbe3;
}

.hf-checkout-body .hf-package-choice-heading span {
	color: #c20b5c;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.hf-checkout-body .hf-package-choice-heading strong {
	color: #161421;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.hf-checkout-body .hf-package-choice-heading small {
	color: #666473;
	font-size: 12px;
	line-height: 1.4;
}

.hf-checkout-body .o_form .hf-start-conversion h2 {
	margin: 4px 0 8px !important;
	padding: 0 !important;
	font-size: clamp(22px, 2.6vw, 30px) !important;
	line-height: 1.14 !important;
}

.hf-checkout-body .o_form .hf-start-conversion h2::before {
	display: none !important;
}

.hf-checkout-body .hf-start-kicker {
	display: block;
	color: #d4558d;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.hf-checkout-body .hf-start-benefits {
	display: block;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .06);
	border-radius: 16px;
	background:
		radial-gradient(circle at 88% 10%, rgba(194, 11, 92, .24), transparent 18rem),
		#171522;
	box-shadow: 0 16px 42px rgba(22, 20, 33, .10);
	color: #fff;
}

.hf-checkout-body .hf-start-usps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.hf-checkout-body .hf-start-usp {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	min-width: 0;
	min-height: 78px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: 10px;
	background: rgba(255, 255, 255, .055);
}

.hf-checkout-body .hf-start-usp__icon {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 1px solid rgba(97, 211, 156, .34);
	border-radius: 9px;
	background: rgba(97, 211, 156, .10);
	color: #61d39c;
	font-size: 12px;
	font-weight: 850;
	line-height: 1;
}

.hf-checkout-body .o_form .hf-start-usp h3 {
	margin: 0 0 3px !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 760 !important;
	letter-spacing: -.01em;
	line-height: 1.3;
}

.hf-checkout-body .hf-start-usp p {
	color: rgba(255, 255, 255, .62);
	font-size: 11px;
	line-height: 1.4;
}

.hf-checkout-body .hf-start-trustpilot,
.hf-checkout-body .hf-start-faq {
	padding: 20px;
	border: 1px solid #e7e5eb;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(22, 20, 33, .06);
}

.hf-checkout-body .o_form .hf-start-faq__header h2 {
	margin-bottom: 0 !important;
	font-size: clamp(20px, 2.3vw, 26px) !important;
}

.hf-checkout-body .hf-start-trustpilot {
	display: grid;
	grid-template-areas: "review summary";
	grid-template-columns: minmax(0, 1.35fr) minmax(210px, .65fr);
	gap: 18px;
	align-items: stretch;
}

.hf-checkout-body .hf-start-trustpilot__summary,
.hf-checkout-body .hf-start-trustpilot__review {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: 16px;
	border: 1px solid #e7e5eb;
	border-radius: 11px;
	background: #fafafd;
}

.hf-checkout-body .hf-start-trustpilot__summary {
	grid-area: summary;
}

.hf-checkout-body .hf-start-trustpilot__review {
	grid-area: review;
}

.hf-checkout-body .hf-start-trustpilot__brand {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 8px;
	color: #181622;
	font-size: 18px;
	line-height: 1;
}

.hf-checkout-body .hf-start-trustpilot__brand-star {
	color: #00b67a;
	font-size: 22px;
	line-height: 1;
}

.hf-checkout-body .hf-start-trustpilot__score {
	color: #25222c;
	font-size: 14px;
	line-height: 1.35;
}

.hf-checkout-body .hf-start-trustpilot__stars {
	display: flex;
	gap: 3px;
	margin: 8px 0 7px;
}

.hf-checkout-body .hf-start-trustpilot__stars span {
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	background: #00b67a;
	color: #fff;
	font-size: 14px;
	line-height: 1;
}

.hf-checkout-body .hf-start-trustpilot__count {
	color: #706d78;
	font-size: 12px;
	line-height: 1.4;
}

.hf-checkout-body .hf-start-trustpilot__review {
	margin: 0;
}

.hf-checkout-body .hf-start-trustpilot__review p {
	margin-top: 7px !important;
	color: #292631;
	font-size: 14px;
	font-weight: 630;
	line-height: 1.5;
}

.hf-checkout-body .hf-start-faq__header {
	margin-bottom: 14px;
}

.hf-checkout-body .hf-start-faq__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.hf-checkout-body .hf-start-faq__item {
	min-width: 0;
	padding: 0 13px;
	border: 1px solid #e7e5eb;
	border-radius: 10px;
	background: #fafafd;
}

.hf-checkout-body .hf-start-faq__item summary {
	position: relative;
	padding: 13px 22px 13px 0;
	color: #272430;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
}

.hf-checkout-body .hf-start-faq__item summary::-webkit-details-marker {
	display: none;
}

.hf-checkout-body .hf-start-faq__item summary::after {
	position: absolute;
	top: 50%;
	right: 0;
	color: #c20b5c;
	content: "+";
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	transform: translateY(-50%);
}

.hf-checkout-body .hf-start-faq__item[open] summary::after {
	content: "−";
}

.hf-checkout-body .hf-start-faq__item p {
	padding: 0 0 13px !important;
	color: #666473;
	font-size: 12px;
	line-height: 1.5;
}

@media (min-width: 1024px) {
	.hf-checkout-body .progress.hf-start-sidebar-active::after {
		display: none;
	}

	.hf-checkout-body .progress .hf-start-sidebar-label {
		margin: 30px 0 10px !important;
		padding: 18px 0 0 !important;
		border-top: 1px solid rgba(255, 255, 255, .10);
		color: rgba(255, 255, 255, .72);
		font-size: 12px;
		font-weight: 750;
		line-height: 1.35;
	}

	.hf-checkout-body .progress .hf-start-benefits,
	.hf-checkout-body .progress .hf-start-benefits * {
		box-sizing: border-box;
	}

	.hf-checkout-body .progress .hf-start-benefits {
		width: 100% !important;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.hf-checkout-body .progress .hf-start-usps {
		grid-template-columns: minmax(0, 1fr);
		gap: 7px;
	}

	.hf-checkout-body .progress .hf-start-usp {
		grid-template-columns: 30px minmax(0, 1fr);
		gap: 8px;
		min-height: 0;
		padding: 9px 8px;
		border-color: rgba(255, 255, 255, .09);
		background: rgba(255, 255, 255, .045);
	}

	.hf-checkout-body .progress .hf-start-usp__icon {
		width: 30px;
		height: 30px;
		border-radius: 8px;
	}

	.hf-checkout-body .progress .hf-start-usp h3 {
		font-size: 13px !important;
	}

	.hf-checkout-body .progress .hf-start-usp p {
		margin: 0 !important;
		padding: 0 !important;
		font-size: 11.5px;
		line-height: 1.4;
	}
}

@media (max-width: 859px) {
	.hf-checkout-body .hf-package-choice-heading {
		margin-top: 16px;
		padding-top: 14px;
	}

	.hf-checkout-body .hf-package-choice-heading strong {
		font-size: 19px;
	}

	.hf-checkout-body .hf-package-choice-heading small {
		font-size: 13px;
	}

	.hf-checkout-body[data-hf-domain-deal="1"] .domain_table table.cart td.hf-domain-price,
	.hf-checkout-body[data-hf-domain-deal="1"] .domain_tr td.hf-domain-price {
		min-width: 80px;
		align-items: baseline;
		justify-content: flex-end;
		flex-direction: row !important;
		gap: 6px;
		white-space: nowrap;
	}

	.hf-checkout-body[data-hf-domain-deal="1"] .bestelform_header {
		padding: 9px 12px !important;
		font-size: 12px !important;
		line-height: 1.45 !important;
	}

	.hf-checkout-body[data-hf-domain-deal="1"] .bestelform_header p + p {
		margin-top: 3px !important;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] .progress__summary {
		font-size: 12px !important;
		line-height: 1.3;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] .progress__summary strong {
		font-size: 13px !important;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] .o_form > h2 {
		font-size: 23px !important;
		line-height: 1.18 !important;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] .hf-domain-deal {
		font-size: 13px !important;
		line-height: 1.45;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] .hf-domain-deal strong {
		font-size: 12px !important;
	}

	.hf-checkout-body .hf-start-conversion {
		gap: 10px;
		margin-top: 10px;
	}

	.hf-checkout-body .hf-start-benefits {
		padding: 18px 16px;
		border-radius: 14px;
	}

	.hf-checkout-body .hf-start-usps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hf-checkout-body .hf-start-usp p {
		font-size: 12px;
		line-height: 1.4;
	}

	.hf-checkout-body .hf-start-trustpilot,
	.hf-checkout-body .hf-start-faq {
		padding: 17px 16px;
		border-radius: 14px;
	}

	.hf-checkout-body .hf-start-trustpilot {
		grid-template-areas:
			"summary"
			"review";
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.hf-checkout-body .hf-start-faq__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 420px) {
	.hf-checkout-body .o_form .hf-start-conversion h2 {
		font-size: 22px !important;
	}

	.hf-checkout-body .hf-start-benefits {
		padding: 16px 13px;
	}

	.hf-checkout-body .hf-start-usps {
		gap: 7px;
	}

	.hf-checkout-body .hf-start-usp {
		grid-template-columns: 30px minmax(0, 1fr);
		gap: 8px;
		min-height: 100px;
		padding: 11px 9px;
	}

	.hf-checkout-body .hf-start-usp__icon {
		width: 30px;
		height: 30px;
		border-radius: 8px;
	}

	.hf-checkout-body .hf-start-usp h3 {
		font-size: 13px !important;
	}

	.hf-checkout-body .hf-start-usp p {
		font-size: 12px;
		line-height: 1.4;
	}

	.hf-checkout-body .hf-start-trustpilot,
	.hf-checkout-body .hf-start-faq {
		padding: 15px 13px;
	}

	.hf-checkout-body .hf-start-trustpilot__summary,
	.hf-checkout-body .hf-start-trustpilot__review {
		padding: 13px;
	}

	.hf-checkout-body .hf-start-trustpilot__review p {
		font-size: 13px;
	}
}
/* Keep the optional company details aligned inside the 12-column customer grid. */
.hf-checkout-body[data-hf-start-initialized="true"] #NewCustomerDiv > #CustomerCompanyDiv {
	grid-column: 1 / -1 !important;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0;
	margin: 4px 0 8px !important;
	padding: 13px 14px !important;
	border: 1px solid #e4dfe6;
	border-left: 3px solid #c20b5c;
	border-radius: 0 10px 10px 0;
	background: #fff8fb !important;
}

.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > input,
.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > select {
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
}

.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > label {
	margin: 0 !important;
}

@media (min-width: 720px) {
	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv:not([style*="display:none"]):not([style*="display: none"]) {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 5px 12px;
		align-items: end;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > br {
		display: none !important;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > label:nth-of-type(1),
	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > input[name="CompanyNumber"] {
		grid-column: 1;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > label:nth-of-type(2),
	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > input[name="TaxNumber"] {
		grid-column: 2;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > label:nth-of-type(3),
	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > select[name="LegalForm"] {
		grid-column: 3;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > label {
		grid-row: 1;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > input,
	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > select {
		grid-row: 2;
	}
}

@media (max-width: 719px) {
	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv:not([style*="display:none"]):not([style*="display: none"]) {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 5px;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > br {
		display: none !important;
	}

	.hf-checkout-body[data-hf-start-initialized="true"] #CustomerCompanyDiv > label:not(:first-child) {
		margin-top: 5px !important;
	}
}
