.ic-entry[hidden],
.ic-entry [hidden] {
	display: none !important;
}

html.ic-entry-open,
html.ic-entry-open body {
	overflow: hidden;
}

.ic-entry {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: clamp(18px, 4vw, 44px);
	opacity: 0;
	transition: opacity 320ms ease;
}

.ic-entry.is-visible {
	opacity: 1;
}

.ic-entry__backdrop {
	position: absolute;
	inset: 0;
	background: #070606;
}

html.ic-entry-open .ic-configurator-hero *,
html.ic-entry-open .ic-configurator-hero *::before,
html.ic-entry-open .ic-configurator-hero *::after {
	animation-play-state: paused !important;
}

.ic-entry__panel {
	position: relative;
	width: min(100%, 480px);
	padding: clamp(26px, 5vw, 42px);
	border: 1px solid rgba(235, 186, 134, .2);
	border-radius: 8px;
	background:
		linear-gradient(145deg, rgba(31, 30, 27, .98), rgba(13, 13, 12, .99));
	box-shadow:
		0 34px 90px rgba(0, 0, 0, .52),
		inset 0 1px rgba(255, 255, 255, .06);
	color: #f7f4ed;
	transform: translateY(10px) scale(.985);
	transition: transform 420ms cubic-bezier(.22, 1, .36, 1);
}

.ic-entry.is-visible .ic-entry__panel {
	transform: none;
}

.ic-entry__panel:focus {
	outline: none;
}

.ic-entry__brand {
	display: grid;
	width: 34px;
	height: 34px;
	margin-bottom: 24px;
	place-items: center;
	border: 1px solid rgba(235, 186, 134, .36);
	border-radius: 50%;
	color: #efbd84;
	font: 600 11px/1 system-ui, sans-serif;
}

.ic-entry__step {
	animation: ic-entry-step-in 360ms ease both;
}

.ic-entry__eyebrow {
	margin: 0 0 7px;
	color: rgba(239, 189, 132, .82);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ic-entry h1,
.ic-entry h2 {
	max-width: 390px;
	margin: 0 0 24px;
	color: #fff;
	font-family: var(--ic-display, Georgia, serif);
	font-size: clamp(27px, 6vw, 38px);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.08;
}

.ic-entry__step[data-ic-entry-step="country"] h1 {
	margin-bottom: 11px;
}

.ic-entry__intro {
	max-width: 390px;
	margin: 0 0 20px;
	color: rgba(255, 255, 255, .66);
	font-size: 14px;
	line-height: 1.55;
}

.ic-entry__country-picker,
.ic-entry__country {
	position: relative;
	display: block;
}

.ic-entry__country-search {
	display: none;
}

.ic-entry__country select,
.ic-entry__country-search {
	width: 100%;
	height: 52px;
	padding: 0 46px 0 54px;
	appearance: none;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 6px;
	outline: 0;
	background: rgba(255, 255, 255, .055);
	color: #fff;
	font: 600 15px/1.2 system-ui, sans-serif;
	letter-spacing: 0;
}

.ic-entry.is-country-search-ready .ic-entry__country select {
	display: none;
}

.ic-entry.is-country-search-ready .ic-entry__country-search {
	display: block;
}

.ic-entry__country-search::placeholder {
	color: rgba(255, 255, 255, .48);
}

.ic-entry__country-search::-webkit-search-cancel-button {
	filter: invert(1);
	opacity: .58;
}

.ic-entry__country-flag {
	position: absolute;
	top: 50%;
	left: 16px;
	z-index: 1;
	display: grid;
	width: 25px;
	height: 20px;
	place-items: center;
	font: 20px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	transform: translateY(-50%);
	pointer-events: none;
}

.ic-entry__country select:focus,
.ic-entry__country-search:focus {
	border-color: rgba(239, 189, 132, .72);
	box-shadow: 0 0 0 3px rgba(239, 189, 132, .11);
}

.ic-entry__country > svg {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 18px;
	transform: translateY(-50%);
	pointer-events: none;
	fill: none;
	stroke: #efbd84;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.ic-entry__country-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 8;
	width: 100%;
	max-height: min(260px, 38svh);
	padding: 5px;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid rgba(239, 189, 132, .24);
	border-radius: 7px;
	background: rgba(16, 15, 14, .99);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .48);
	-webkit-overflow-scrolling: touch;
}

.ic-entry__country-result {
	display: grid;
	width: 100%;
	min-height: 42px;
	grid-template-columns: 28px 1fr;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	color: rgba(255, 255, 255, .84);
	font: 600 14px/1.2 system-ui, sans-serif;
	text-align: left;
	cursor: pointer;
}

.ic-entry__country-result > span:first-child {
	font: 20px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

.ic-entry__country-result:is(:hover, .is-active) {
	background: rgba(239, 189, 132, .12);
	color: #fff;
}

.ic-entry__country-empty {
	padding: 13px 11px;
	color: rgba(255, 255, 255, .55);
	font-size: 13px;
}

.ic-entry__country-suggestion {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
	padding: 9px 11px;
	border: 1px solid rgba(239, 189, 132, .18);
	border-radius: 6px;
	background: rgba(239, 189, 132, .07);
	color: rgba(255, 255, 255, .58);
	font: 600 11px/1.25 system-ui, sans-serif;
	text-align: left;
	cursor: pointer;
}

.ic-entry__country-suggestion strong {
	color: #efbd84;
	font-size: 12px;
	text-align: right;
}

.ic-entry__country-suggestion:hover {
	border-color: rgba(239, 189, 132, .45);
	background: rgba(239, 189, 132, .11);
}

.ic-entry__country-detecting {
	display: flex;
	min-height: 38px;
	align-items: center;
	gap: 9px;
	margin-top: 8px;
	padding: 9px 11px;
	border: 1px solid rgba(239, 189, 132, .2);
	border-radius: 6px;
	background: rgba(239, 189, 132, .07);
	color: rgba(255, 245, 231, .72);
	font: 650 11px/1.25 system-ui, sans-serif;
}

.ic-entry__country-spinner {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	border: 2px solid rgba(239, 189, 132, .24);
	border-top-color: #efbd84;
	border-radius: 50%;
	animation: ic-entry-country-detecting 720ms linear infinite;
}

.ic-entry__currency,
.ic-entry__dealer-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.ic-entry__currency {
	padding: 13px 2px 15px;
	color: rgba(255, 255, 255, .62);
	font-size: 12px;
}

.ic-entry__currency strong {
	color: #fff;
	font-size: 13px;
}

.ic-entry__dealer {
	display: grid;
	gap: 10px;
	margin: 0 0 16px;
	padding: 11px 13px;
	border: 1px solid rgba(102, 165, 122, .24);
	border-radius: 6px;
	background: rgba(77, 129, 92, .08);
	font-size: 12px;
}

.ic-entry__dealer-record {
	display: grid;
	gap: 10px;
}

.ic-entry__dealer-order-notice {
	display: grid;
	margin: 0;
	padding: 10px 11px;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 9px;
	border: 1px solid rgba(255, 102, 102, .46);
	border-left: 3px solid #ff6b6b;
	border-radius: 5px;
	background: rgba(159, 32, 32, .18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
	color: #ffd6d6;
}

.ic-entry__dealer-order-notice svg {
	width: 18px;
	height: 18px;
	margin-top: 1px;
	fill: rgba(255, 107, 107, .14);
	stroke: #ff7d7d;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ic-entry__dealer-order-notice strong {
	font-size: 12px;
	font-weight: 750;
	line-height: 1.4;
}

.ic-entry__dealer-heading {
	justify-content: flex-start;
}

.ic-entry__dealer-heading > span:not(.ic-entry__status-dot) {
	color: rgba(255, 255, 255, .6);
}

.ic-entry__dealer-heading strong {
	margin-left: auto;
	color: #fff;
	text-align: right;
}

.ic-entry__status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #75c48b;
	box-shadow: 0 0 12px rgba(117, 196, 139, .62);
}

.ic-entry__dealer-contacts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.ic-entry__dealer-contact {
	display: grid;
	min-width: 0;
	gap: 3px;
	padding: 8px 9px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 5px;
	background: rgba(0, 0, 0, .16);
	color: #fff;
	text-decoration: none;
}

a.ic-entry__dealer-contact:hover {
	border-color: rgba(239, 189, 132, .5);
	background: rgba(239, 189, 132, .08);
}

button.ic-entry__dealer-contact {
	width: 100%;
	font: inherit;
	text-align: left;
	cursor: copy;
}

button.ic-entry__dealer-contact:hover {
	border-color: rgba(239, 189, 132, .5);
	background: rgba(239, 189, 132, .08);
}

.ic-entry__dealer-contact small {
	color: rgba(255, 255, 255, .56);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.ic-entry__dealer-contact strong {
	overflow: hidden;
	color: #efbd84;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ic-entry__primary,
.ic-entry__secondary {
	display: flex;
	width: 100%;
	height: 50px;
	align-items: center;
	justify-content: center;
	gap: 11px;
	border-radius: 6px;
	font: 700 13px/1 system-ui, sans-serif;
	letter-spacing: 0;
	cursor: pointer;
}

.ic-entry__back {
	justify-self: center;
	padding: 7px 10px;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, .58);
	font: 700 11px/1.2 system-ui, sans-serif;
	cursor: pointer;
}

.ic-entry-reopen {
	position: fixed;
	right: 16px;
	bottom: max(16px, env(safe-area-inset-bottom, 0px));
	z-index: 9990;
	display: flex;
	max-width: min(320px, calc(100vw - 32px));
	min-height: 40px;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border: 1px solid rgba(239, 189, 132, .28);
	border-radius: 999px;
	background: rgba(13, 13, 12, .9);
	box-shadow: 0 12px 34px rgba(0, 0, 0, .34);
	color: rgba(255, 255, 255, .62);
	font: 700 11px/1.2 system-ui, sans-serif;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	cursor: pointer;
	transition: opacity 180ms ease, transform 180ms ease;
}

.ic-entry-reopen[hidden],
html.ic-entry-open .ic-entry-reopen {
	display: none !important;
}

.ic-entry-reopen.is-footer-hidden {
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
}

.ic-entry-reopen strong {
	overflow: hidden;
	color: #efbd84;
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ic-entry-reopen:focus-visible {
	outline: 2px solid #efbd84;
	outline-offset: 3px;
}

.ic-entry__primary {
	border: 1px solid rgba(255, 255, 255, .18);
	background: linear-gradient(135deg, #f1c18a, #c68e51);
	box-shadow: 0 10px 28px rgba(151, 96, 43, .18);
	color: #19130d;
}

.ic-entry__primary:disabled {
	opacity: .42;
	cursor: not-allowed;
	box-shadow: none;
}

.ic-entry__primary svg {
	width: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ic-entry__choices {
	display: grid;
	gap: 9px;
}

.ic-entry__secondary {
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .04);
	color: rgba(255, 255, 255, .76);
}

.ic-entry :is(button, select, input):focus-visible {
	outline: 2px solid #efbd84;
	outline-offset: 3px;
}

@keyframes ic-entry-step-in {
	from { opacity: 0; transform: translateY(7px); }
	to { opacity: 1; transform: none; }
}

@keyframes ic-entry-country-detecting {
	to { transform: rotate(1turn); }
}

@media (max-width: 600px) {
	.ic-entry {
		place-items: center;
		padding:
			max(12px, env(safe-area-inset-top, 0px))
			12px
			max(12px, env(safe-area-inset-bottom, 0px));
	}

	.ic-entry__panel {
		width: 100%;
		max-height: calc(100svh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
		padding: 25px 20px 21px;
		overflow-y: auto;
		overscroll-behavior: contain;
		border-radius: 8px;
	}

	.ic-entry__brand {
		margin-bottom: 18px;
	}

	.ic-entry h1,
	.ic-entry h2 {
		margin-bottom: 20px;
		font-size: clamp(26px, 8vw, 32px);
	}

	.ic-entry-reopen {
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom, 0px));
		width: 44px;
		height: 44px;
		min-height: 44px;
		justify-content: center;
		padding: 0;
	}

	.ic-entry-reopen > span:not([data-ic-entry-reopen-flag]),
	.ic-entry-reopen > strong {
		display: none;
	}

	.ic-entry-reopen [data-ic-entry-reopen-flag] {
		font: 22px/1 "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
	}
}

@media (max-width: 340px) {
	.ic-entry__dealer-contacts {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ic-entry,
	.ic-entry__panel,
	.ic-entry__step {
		animation: none !important;
		transition: none !important;
	}

	.ic-entry__country-spinner {
		animation: none !important;
	}
}
