/* FTBL: country and currency selector, and the small notes beside prices. */

.ftbl-cx-switch {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 11px;
	border: 1px solid rgba(0, 0, 0, .14);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .01em;
	white-space: nowrap;
	box-shadow: none !important;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
.ftbl-cx-switch:hover { border-color: rgba(0, 0, 0, .45); background: transparent; color: inherit; }
.ftbl-cx-switch:focus, .ftbl-cx-switch:active, .ftbl-cx-switch:focus-visible { background: transparent !important; color: inherit !important; }
.ftbl-cx-switch:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ftbl-cx-switch__chev { opacity: .6; flex: none; }
.ftbl-cx-switch--compact { height: 28px; padding: 0 8px; font-size: 12px; gap: 4px; }

.ftbl-cx-foot { margin: 0; font-size: 13px; line-height: 1.5; opacity: .85; }
.ftbl-cx-foot__change {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.ftbl-cx-foot__change:hover { background: none; color: inherit; opacity: .75; }

.ftbl-cx-note {
	margin: 6px 0 0 !important;
	font-size: 12.5px !important;
	line-height: 1.45 !important;
	color: #6b7280 !important;
	text-wrap: pretty;
}
.cart_totals .ftbl-cx-note { margin: 10px 0 14px !important; }

/* The dialog */
.ftbl-cx-locked, .ftbl-cx-locked body { overflow: hidden; }
.ftbl-cx-modal[hidden] { display: none; }
.ftbl-cx-modal { position: fixed; inset: 0; z-index: 2147483000; }
.ftbl-cx-modal__scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); animation: ftbl-cx-fade .15s ease; }
.ftbl-cx-modal__box {
	position: absolute;
	top: 12vh;
	left: 50%;
	width: min(420px, calc(100vw - 32px));
	max-height: 76vh;
	display: flex;
	flex-direction: column;
	transform: translateX(-50%);
	background: #fff;
	color: #111;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
	animation: ftbl-cx-rise .18s ease;
	font-family: inherit;
}
.ftbl-cx-modal__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 10px; }
.ftbl-cx-modal__title { margin: 0 !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; color: #111 !important; text-transform: none !important; letter-spacing: 0 !important; }
.ftbl-cx-modal__x {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f3f4f6;
	color: #111;
	box-shadow: none !important;
	cursor: pointer;
}
.ftbl-cx-modal__x:hover { background: #e5e7eb; color: #111; }
.ftbl-cx-modal__search {
	flex: none;
	margin: 0 18px 8px;
	width: auto !important;
	height: 42px !important;
	padding: 0 14px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 10px !important;
	background: #fafafa !important;
	color: #111 !important;
	font: inherit;
	font-size: 15px !important;
	box-shadow: none !important;
}
.ftbl-cx-modal__search:focus { outline: none; border-color: #111 !important; background: #fff !important; }
.ftbl-cx-modal__list { flex: 1 1 auto; min-height: 0; list-style: none; margin: 0 !important; padding: 0 10px 12px !important; overflow-y: auto; overscroll-behavior: contain; }
.ftbl-cx-modal__list li { margin: 0; padding: 0; list-style: none; }
.ftbl-cx-modal__list li[hidden] { display: none; }
.ftbl-cx-row {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 10px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: #111 !important;
	font: inherit;
	font-size: 15px !important;
	font-weight: 400 !important;
	text-align: left;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}
.ftbl-cx-row:hover, .ftbl-cx-row:focus-visible { background: #f3f4f6 !important; outline: none; }
.ftbl-cx-row.is-on { font-weight: 700 !important; }
.ftbl-cx-row.is-on .ftbl-cx-row__name::after {
	content: "";
	display: inline-block;
	width: 10px;
	height: 6px;
	margin-left: 8px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(-45deg);
}
.ftbl-cx-row__cur { color: #6b7280; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ftbl-cx-modal__empty { margin: 4px 20px 18px; font-size: 14px; color: #6b7280; }

@media (max-width: 767px) {
	.ftbl-cx-modal__box {
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
		max-height: 82vh;
		transform: none;
		border-radius: 16px 16px 0 0;
		padding-bottom: env(safe-area-inset-bottom);
		animation: ftbl-cx-up .2s ease;
	}
	.ftbl-cx-modal__head::before {
		content: "";
		position: absolute;
		top: 7px;
		left: 50%;
		width: 36px;
		height: 4px;
		margin-left: -18px;
		border-radius: 4px;
		background: #e5e7eb;
	}
	.ftbl-cx-modal__search { font-size: 16px !important; }
}

@keyframes ftbl-cx-fade { from { opacity: 0; } }
@keyframes ftbl-cx-rise { from { opacity: 0; transform: translate(-50%, 8px); } }
@keyframes ftbl-cx-up { from { transform: translateY(24px); opacity: .6; } }
@media (prefers-reduced-motion: reduce) {
	.ftbl-cx-modal__scrim, .ftbl-cx-modal__box { animation: none; }
}

/* The add-on line in cart and checkout prints the struck and the sale price with no space between. */
.wcpa_cart_price del { margin-right: .35em; }

/* Footer bar: the line sits centred above the copyright, like the rest of that bar. */
.elementor-element.elementor-element-ftblcx3 { align-self: center; width: auto; margin: 6px 0 2px; }
.elementor-element-ftblcx3 .ftbl-cx-foot { text-align: center; }

/* Phone header: the button sits in the icon row beside the wishlist and the bag, code only. */
@media (max-width: 1024px) {
	.elementor-element-99201cd { flex-wrap: nowrap !important; align-items: center !important; gap: 6px !important; }
	.ftbl-cx-switch--compact { height: 24px; padding: 0 7px; font-size: 11px; gap: 0; margin-right: 2px; }
	.ftbl-cx-switch--compact .ftbl-cx-switch__chev { display: none; }
}
.ftbl-cx-modal__list li { box-shadow: none !important; border: 0 !important; background: none !important; }
