.tmpb {
	--tmpb-navy: #002d72;
	--tmpb-border: #dbe3ef;
	--tmpb-field-background: #ffffff;
	--tmpb-field-radius: 18px;
	--tmpb-button-radius: 14px;
	--tmpb-icon-gap: 10px;
	--tmpb-disabled-add-button-background: #334D7C99;
	--tmpb-disabled-add-button-border: #334D7C99;
	--tmpb-disabled-add-button-color: #ffffff;
	color: var(--tmpb-navy);
}

.tmpb *,
.tmpb *::before,
.tmpb *::after {
	box-sizing: border-box;
}

.tmpb__form {
	margin: 0;
}

.tmpb__fields-row {
	display: grid;
	grid-template-columns: repeat(var(--tmpb-option-columns, 1), minmax(0, 1fr)) auto;
	align-items: end;
	gap: 16px;
	width: 100%;
}

.tmpb__fields-row--simple {
	grid-template-columns: auto;
}

.tmpb__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.tmpb__label {
	color: var(--tmpb-navy);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
}

.tmpb__select,
.tmpb .qty {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--tmpb-border);
	border-radius: var(--tmpb-field-radius);
	background: var(--tmpb-field-background);
	color: var(--tmpb-navy);
	font: inherit;
	line-height: 1.2;
}

.tmpb__select {
	appearance: auto;
	padding: 0 16px;
}

.tmpb__quantity-field {
	width: 64px;
	flex: 0 0 auto;
}

.tmpb .quantity {
	display: block;
	width: 100%;
}

.tmpb .qty {
	text-align: center;
	padding: 0 8px;
}

.tmpb__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
}

.tmpb .tmpb__button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0;
	min-height: 56px;
	border-radius: var(--tmpb-button-radius);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.tmpb__add-button,
.tmpb__add-button.button {
	padding: 14px 26px;
	border: 1px solid var(--tmpb-navy);
	background: var(--tmpb-navy);
	color: #ffffff;
}

.tmpb__login-button {
	padding: 14px 30px;
	border: 1px solid var(--tmpb-navy);
	background: transparent;
	color: var(--tmpb-navy);
}

.tmpb__add-button:hover,
.tmpb__add-button:focus {
	background: #001f50;
	border-color: #001f50;
	color: #ffffff;
}

.tmpb__login-button:hover,
.tmpb__login-button:focus {
	background: rgba(0, 45, 114, 0.06);
	color: var(--tmpb-navy);
}

.tmpb__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0;
}

.tmpb__button-text {
	display: inline-block;
	margin: 0;
}

.tmpb__button-icon + .tmpb__button-text,
.tmpb__button-text + .tmpb__button-icon {
	margin-left: var(--tmpb-icon-gap);
}

.tmpb__button-icon svg {
	width: 1.1em;
	height: 1.1em;
	fill: currentColor;
	display: block;
	margin: 0;
}

.tmpb__button-icon i {
	font-size: 1.1em;
	line-height: 1;
	margin: 0;
}

.tmpb .reset_variations.tmpb__reset {
	display: none !important;
}

.tmpb__variation-summary {
	margin: 12px 0 0;
}

.tmpb:not(.tmpb--show-variation-summary) .tmpb__variation-summary {
	display: none !important;
}

.tmpb__variation-summary:empty {
	display: none;
}

.tmpb .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button,
.tmpb .single_add_to_cart_button.disabled {
	background-color: var(--tmpb-disabled-add-button-background) !important;
	border-color: var(--tmpb-disabled-add-button-border) !important;
	color: var(--tmpb-disabled-add-button-color) !important;
	opacity: 1 !important;
	cursor: not-allowed;
}

.tmpb .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button svg,
.tmpb .single_add_to_cart_button.disabled svg {
	fill: var(--tmpb-disabled-add-button-color) !important;
}

.tmpb__notice {
	padding: 12px 14px;
	border: 1px solid var(--tmpb-border);
	border-radius: 8px;
	background: #ffffff;
	color: var(--tmpb-navy);
}

.tmpb__professional-only-message,
.tmpb-price__professional-only-message,
.tmpb-professional-only-price {
	color: var(--tmpb-navy);
	font-weight: 700;
	line-height: 1.3;
}

.tmpb__professional-only-buttons {
	margin-top: 0;
}

.tmpb-price__html {
	color: var(--tmpb-navy);
	font-weight: 700;
	line-height: 1.2;
}

.tmpb-price__line {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.tmpb-price__line[hidden] {
	display: none;
}

.tmpb-price__vat-message {
	color: var(--tmpb-navy);
	font-size: 0.875em;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

.tmpb-price__html ins {
	text-decoration: none;
}

.tmpb-price__html del {
	opacity: 0.65;
}

.tmpb-price__professional-only-button {
	margin-top: 16px;
}

.tmpb-loop-filter {
	--tmpb-filter-navy: #002d72;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	color: var(--tmpb-filter-navy);
	font-size: 14px;
	line-height: 1.2;
}

.tmpb-loop-filter *,
.tmpb-loop-filter *::before,
.tmpb-loop-filter *::after {
	box-sizing: border-box;
}

.tmpb-loop-filter__label {
	font-weight: 700;
}

.tmpb-loop-filter__select {
	appearance: none;
	width: auto;
	min-width: 132px;
	height: 50px;
	margin: 0;
	border: 1px solid var(--tmpb-filter-navy);
	border-radius: 0;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23002d72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 19px center;
	background-size: 16px 16px;
	color: var(--tmpb-filter-navy);
	font: inherit;
	padding: 0 48px 0 20px;
}

.tmpb-loop-filter__condition {
	min-width: 146px;
}

.tmpb-loop-filter__select:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.tmpb-loop-filter__select:focus,
.tmpb-loop-filter__clear:focus {
	outline: 2px solid var(--tmpb-filter-navy);
	outline-offset: 2px;
}

.tmpb-loop-filter__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--tmpb-filter-navy);
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: none;
}

.tmpb-loop-filter__clear:hover,
.tmpb-loop-filter__clear:focus {
	background: transparent;
	color: var(--tmpb-filter-navy);
	text-decoration: underline;
}

.tmpb-loop-filter__empty {
	flex: 0 0 100%;
	margin-top: 6px;
	color: var(--tmpb-filter-navy);
	font-weight: 600;
	line-height: 1.4;
}

.tmpb-loop-filter__empty[hidden] {
	display: none !important;
}

.tmpb-loop-filter__item-hidden {
	display: none !important;
}

.tmpb-loop-filter .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.tmpb-prescribers {
	--tmpb-prescriber-navy: #002d72;
	--tmpb-prescriber-border: #dbe3ef;
	--tmpb-prescriber-muted: #52627a;
	--tmpb-prescriber-heading-colour: var(--tmpb-prescriber-navy);
	--tmpb-prescriber-text-colour: var(--tmpb-prescriber-muted);
	color: var(--tmpb-prescriber-text-colour);
	font-size: 15px;
	line-height: 1.45;
}

.tmpb-prescribers *,
.tmpb-prescribers *::before,
.tmpb-prescribers *::after {
	box-sizing: border-box;
}

.tmpb-prescribers__controls {
	display: grid;
	grid-template-columns: minmax(220px, 1.5fr) minmax(150px, 0.7fr) minmax(120px, 0.5fr) auto;
	align-items: end;
	gap: 14px;
	margin: 0 0 22px;
}

.tmpb-prescribers__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--tmpb-prescriber-heading-colour);
	font-weight: 700;
}

.tmpb-prescribers__location,
.tmpb-prescribers__radius,
.tmpb-prescribers__results {
	width: 100%;
	min-height: 50px;
	border: 1px solid var(--tmpb-prescriber-navy);
	border-radius: 0;
	background: #ffffff;
	color: var(--tmpb-prescriber-text-colour);
	font: inherit;
	font-weight: 400;
	padding: 0 16px;
}

.tmpb-prescribers__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tmpb-prescribers__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	border: 1px solid var(--tmpb-prescriber-navy);
	border-radius: 16px;
	background: var(--tmpb-prescriber-navy);
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0 18px;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.tmpb-prescribers__button:hover,
.tmpb-prescribers__button:focus {
	background: #001f50;
	color: #ffffff;
}

.tmpb-prescribers__button--secondary {
	background: #ffffff;
	color: var(--tmpb-prescriber-navy);
}

.tmpb-prescribers__button--secondary:hover,
.tmpb-prescribers__button--secondary:focus {
	background: rgba(0, 45, 114, 0.06);
	color: var(--tmpb-prescriber-navy);
}

.tmpb-prescribers__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 22px;
	align-items: stretch;
}

.tmpb-prescribers__map {
	min-height: 520px;
	border: 1px solid var(--tmpb-prescriber-border);
	background: #f7f9fc;
}

.tmpb-prescribers__map-message {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 520px;
	padding: 24px;
	color: var(--tmpb-prescriber-text-colour);
	text-align: center;
}

.tmpb-prescribers__list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 520px;
	overflow: auto;
	padding-right: 4px;
}

.tmpb-prescribers__summary {
	margin: 0;
	color: var(--tmpb-prescriber-text-colour);
	font-size: 14px;
}

.tmpb-prescribers__card {
	border: 1px solid var(--tmpb-prescriber-border);
	background: #ffffff;
	padding: 18px;
}

.tmpb-prescribers__card h3 {
	margin: 0 0 8px;
	color: var(--tmpb-prescriber-heading-colour);
	font-size: 18px;
	line-height: 1.25;
}

.tmpb-prescribers__address,
.tmpb-prescribers__distance {
	margin: 0 0 10px;
}

.tmpb-prescribers__address {
	color: var(--tmpb-prescriber-text-colour);
}

.tmpb-prescribers__distance {
	color: var(--tmpb-prescriber-heading-colour);
	font-weight: 700;
}

.tmpb-prescribers__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
}

.tmpb-prescribers__links a {
	color: var(--tmpb-prescriber-heading-colour);
	font-weight: 700;
	text-decoration: underline;
}

.tmpb-prescribers__empty,
.tmpb-prescribers__notice {
	border: 1px solid var(--tmpb-prescriber-border);
	background: #ffffff;
	color: var(--tmpb-prescriber-text-colour);
	padding: 16px;
}

.tmpb-prescribers__info-window {
	color: var(--tmpb-prescriber-text-colour);
	line-height: 1.4;
}

.tmpb-prescribers__info-window strong,
.tmpb-prescribers__info-window a {
	color: var(--tmpb-prescriber-heading-colour);
}

.tmpb-prescribers--editor-placeholder {
	border: 1px dashed var(--tmpb-prescriber-border);
	background: #f7f9fc;
	padding: 20px;
}

.tmpb-prescribers__editor-placeholder {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--tmpb-prescriber-text-colour);
}

.tmpb-prescribers__editor-placeholder strong {
	color: var(--tmpb-prescriber-heading-colour);
	font-size: 18px;
	line-height: 1.25;
}

.tmpb-location-map {
	--tmpb-location-map-height: 420px;
	width: 100%;
}

.tmpb-location-map,
.tmpb-location-map * {
	box-sizing: border-box;
}

.tmpb-location-map__canvas {
	width: 100%;
	height: var(--tmpb-location-map-height);
	min-height: 260px;
	background: #f7f9fc;
	border: 1px solid #dbe3ef;
}

.tmpb-location-map__message {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 260px;
	padding: 24px;
	color: #52627a;
	text-align: center;
}

.tmpb-location-map__info-window {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #52627a;
	line-height: 1.4;
}

.tmpb-location-map__info-window strong {
	color: #002d72;
}

.tmpb-location-map__directions {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-height: 38px;
	margin-top: 8px;
	padding: 0 16px;
	border: 1px solid #002d72;
	border-radius: 16px;
	background: #002d72;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.tmpb-location-map__directions:hover,
.tmpb-location-map__directions:focus {
	background: #001f50;
	color: #ffffff;
}

.tmpb-location-map--editor-placeholder {
	border: 1px dashed #dbe3ef;
	background: #f7f9fc;
	padding: 20px;
}

.tmpb-location-map__editor-placeholder {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #52627a;
}

.tmpb-location-map__editor-placeholder strong {
	color: #002d72;
	font-size: 18px;
	line-height: 1.25;
}

@media (max-width: 640px) {
	.tmpb__fields-row {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
	}

	.tmpb__buttons {
		gap: 12px;
	}

	.tmpb__button {
		flex: 1 1 180px;
	}

	.tmpb-loop-filter {
		gap: 10px;
	}

	.tmpb-loop-filter__label {
		flex: 0 0 100%;
	}

	.tmpb-loop-filter__select {
		flex: 1 1 180px;
		min-width: min(100%, 180px);
	}

	.tmpb-loop-filter__clear {
		min-height: 42px;
	}

	.tmpb-prescribers__controls,
	.tmpb-prescribers__layout {
		grid-template-columns: 1fr;
	}

	.tmpb-prescribers__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.tmpb-prescribers__map,
	.tmpb-prescribers__map-message {
		min-height: 360px;
	}

	.tmpb-prescribers__list {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}

	.tmpb-location-map__canvas {
		height: min(var(--tmpb-location-map-height), 360px);
	}
}
