/* Fansidea-style Bulk Order phone + hover tooltip */

.fi-bulk-phone {
	--fi-bp-ink: #fff;
	--fi-bp-tip-bg: #fff;
	--fi-bp-tip-text: #111;
	--fi-bp-accent: #e91e8c;
	position: relative;
	display: inline-flex;
	align-items: center;
	font-family: "Outfit", system-ui, sans-serif;
	z-index: 40;
}

.fi-bulk-phone__trigger {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	color: var(--fi-bp-ink) !important;
	line-height: 1.15;
	padding: 2px 0;
}

.fi-bulk-phone__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	color: #fff;
}

.fi-bulk-phone__icon svg {
	display: block;
}

.fi-bulk-phone__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.fi-bulk-phone__title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #fff;
	white-space: nowrap;
}

.fi-bulk-phone__line {
	font-size: 12px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.92);
	white-space: nowrap;
}

.fi-bulk-phone__num {
	font-weight: 600;
	color: #fff;
}

/* Hover / focus tooltip — matches Fansidea white card under the phone */
.fi-bulk-phone__tip {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	transform: translateX(-50%) translateY(4px);
	width: 220px;
	padding: 16px 14px 18px;
	background: var(--fi-bp-tip-bg);
	color: var(--fi-bp-tip-text);
	text-align: center;
	border: 1px solid #e8e8e8;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 1000;
}

.fi-bulk-phone__tip::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 50%;
	margin-left: -7px;
	width: 12px;
	height: 12px;
	background: #fff;
	border-left: 1px solid #e8e8e8;
	border-top: 1px solid #e8e8e8;
	transform: rotate(45deg);
}

.fi-bulk-phone:hover .fi-bulk-phone__tip,
.fi-bulk-phone:focus-within .fi-bulk-phone__tip {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.fi-bulk-phone__tip-copy {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 400;
	color: #111;
}

.fi-bulk-phone__tip-ico {
	display: inline-grid;
	place-items: center;
	margin: 2px 0 6px;
}

.fi-bulk-phone__tip-ico svg {
	display: block;
}

.fi-bulk-phone__tip-num {
	display: block;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #111 !important;
	text-decoration: none !important;
	margin: 0 0 8px;
	line-height: 1.2;
}

.fi-bulk-phone__tip-num:hover {
	color: var(--fi-bp-accent) !important;
}

.fi-bulk-phone__tip-hours {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: #222;
}

/* Keep Elementor header phone column from clipping the tip */
.elementor-location-header .elementor-widget-etheme_icon_list,
.elementor-location-header .elementor-widget-etheme_icon_list .elementor-widget-container {
	overflow: visible !important;
}

.elementor-location-header .e-con,
.elementor-location-header .e-con-inner {
	overflow: visible;
}

@media (max-width: 900px) {
	.fi-bulk-phone__title {
		font-size: 12px;
	}

	.fi-bulk-phone__line {
		font-size: 11px;
	}

	.fi-bulk-phone__tip {
		width: 200px;
		left: auto;
		right: 0;
		transform: translateX(0) translateY(4px);
	}

	.fi-bulk-phone:hover .fi-bulk-phone__tip,
	.fi-bulk-phone:focus-within .fi-bulk-phone__tip {
		transform: translateX(0) translateY(0);
	}

	.fi-bulk-phone__tip::before {
		left: auto;
		right: 28px;
		margin-left: 0;
	}
}
