/* Neo Tools Call dropdown: a button that opens a small panel of locations to call. */

.ndet-call {
	--ndet-call-offset: 12px;
	--ndet-call-divider: rgba(17, 24, 39, 0.1);
	position: relative;
	display: inline-block;
}
/* Themes and the Elementor kit style every button; these selectors outrank them in every state.
 * The widget's own style controls outrank these. */
.ndet-call .ndet-call__button[type="button"],
.ndet-call .ndet-call__button[type="button"]:hover,
.ndet-call .ndet-call__button[type="button"]:focus,
.ndet-call .ndet-call__button[type="button"]:active {
	font: inherit;
	color: inherit;
	background: none;
	border: 0 solid currentColor;
	border-radius: 0;
	margin: 0;
	padding: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: inherit;
	line-height: 1.2;
	cursor: pointer;
}
.ndet-call .ndet-call__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
	transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
.ndet-call .ndet-call__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.ndet-call__icon,
.ndet-call__chev {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}
.ndet-call__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.ndet-call__chev {
	font-size: 16px;
	transition: transform 0.25s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.ndet-call__chev svg {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: var(--ndet-call-stroke, 2);
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ndet-call.is-open .ndet-call__chev {
	transform: rotate(180deg);
}

.ndet-call__panel {
	position: absolute;
	top: calc(100% + var(--ndet-call-offset));
	right: 0;
	z-index: 1000;
	box-sizing: border-box;
	width: 340px;
	max-width: calc(100vw - 32px);
	padding: 18px;
	border-radius: 16px;
	background: #fff;
	color: #1d1d1f;
	box-shadow: 0 24px 60px rgba(17, 24, 39, 0.22);
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.25s cubic-bezier(0.22, 0.7, 0.2, 1), visibility 0s linear 0.25s;
}
.ndet-call--start .ndet-call__panel {
	right: auto;
	left: 0;
}
.ndet-call--center .ndet-call__panel {
	right: auto;
	left: 50%;
	translate: -50% 0;
}
.ndet-call.is-open .ndet-call__panel {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.ndet-call__label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}
.ndet-call__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ndet-call__row + .ndet-call__row {
	border-top: 1px solid var(--ndet-call-divider);
}
.ndet-call .ndet-call__link,
.ndet-call .ndet-call__link:hover,
.ndet-call .ndet-call__link:focus,
.ndet-call .ndet-call__link:visited {
	color: inherit;
	text-decoration: none;
}
.ndet-call__link {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 16px;
	row-gap: 2px;
	padding: 12px 0;
	transition: background-color 0.15s;
}
.ndet-call__name {
	grid-column: 1;
	font-size: 18px;
	line-height: 1.25;
}
.ndet-call__status,
.ndet-call__address {
	grid-column: 1;
	font-size: 13px;
	line-height: 1.35;
	opacity: 0.75;
}
.ndet-call__status[hidden] {
	display: none;
}
.ndet-call__phone {
	grid-column: 2;
	grid-row: 1 / span 3;
	font-weight: 600;
	white-space: nowrap;
}

.ndet-call-empty {
	padding: 12px 14px;
	border: 1px dashed rgba(17, 24, 39, 0.25);
	border-radius: 6px;
	font-size: 13px;
	color: #6b7280;
}

@media (prefers-reduced-motion: reduce) {
	.ndet-call__panel,
	.ndet-call__chev {
		transition-duration: 0.01s;
	}
}

/* Find my nearest showroom in the panel (nearest.css styles the rest): small, under the heading.
 * Themes and the kit style every button; these outrank them, the widget's controls outrank these. */
.ndet-call .ndet-call__nearest {
	gap: 6px 10px;
	margin: 0 0 10px;
}
/* Gone once the visitor's location is found (nearest.js). */
.ndet-call .ndet-call__nearest[hidden] {
	display: none;
}
.ndet-call .ndet-call__nearest .ndet-nearest__btn[type="button"] {
	min-height: 0;
	margin: 0;
	padding: 0.45em 0.95em;
	border: 1px solid currentColor;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: inherit;
	text-transform: none;
	box-shadow: none;
}
.ndet-call .ndet-call__nearest .ndet-nearest__btn[type="button"]:where(:hover) {
	background: rgba(17, 24, 39, 0.06);
	color: inherit;
}
/* Its own rule: Safari before 15.4 drops a whole rule that names :focus-visible. */
.ndet-call .ndet-call__nearest .ndet-nearest__btn[type="button"]:where(:focus-visible) {
	background: rgba(17, 24, 39, 0.06);
	color: inherit;
}
.ndet-call .ndet-call__nearest .ndet-nearest__note,
.ndet-call .ndet-call__nearest .ndet-nearest__status {
	flex-basis: 100%;
	font-size: 12px;
	line-height: 1.35;
	opacity: 0.75;
}

/* The "Nearest to you" label on a row: a small pill on its own line above the name. */
.ndet-call__link .ndet-nearest__tag {
	grid-column: 1;
	justify-self: start;
	margin: 0 0 2px;
	font-size: 11px;
	white-space: nowrap;
}
