/* Anchor price and lowest price lines. Themes can override every rule below. */
.c-anchor-price,
.c-lowest-price {
	display: block;
	position: relative;
	margin-top: 0.25em;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.4;
	opacity: 0.85;
}

.c-anchor-price__amount .woocommerce-Price-amount,
.c-anchor-price__amount bdi,
.c-lowest-price__amount .woocommerce-Price-amount,
.c-lowest-price__amount bdi {
	font-weight: inherit;
}

.c-anchor-price--has-tooltip {
	cursor: help;
}

.c-anchor-price__tooltip {
	position: absolute;
	bottom: calc(100% + 0.5em);
	left: 0;
	z-index: 20;
	width: max-content;
	max-width: 18rem;
	padding: 0.5em 0.75em;
	border-radius: 4px;
	background: #1d2327;
	color: #fff;
	font-size: 0.75rem;
	line-height: 1.4;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.c-anchor-price--has-tooltip:hover .c-anchor-price__tooltip,
.c-anchor-price--has-tooltip:focus .c-anchor-price__tooltip,
.c-anchor-price--has-tooltip:focus-within .c-anchor-price__tooltip {
	opacity: 1;
	visibility: visible;
}

/* Price list page content ([anchor_price_list], the selected page or the standalone page). */
.c-anchor-price-list {
	text-align: left;
}

.c-anchor-price-list__section + .c-anchor-price-list__section {
	margin-top: 2.5em;
}

.c-anchor-price-list__store {
	margin: 0 0 0.5em;
	font-weight: 600;
}

.c-anchor-price-list__intro,
.c-anchor-price-list__empty {
	margin: 0;
	line-height: 1.6;
}

.c-anchor-price-list__title {
	margin: 0 0 0.75em;
	font-size: 1.25em;
	font-weight: 600;
	line-height: 1.3;
}

.c-anchor-price-list__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin: 0;
}

.c-anchor-price-list__links + .c-anchor-price-list__links {
	margin-top: 0.75em;
}

.c-anchor-price-list__store-name {
	flex: 1 1 16em;
	align-self: center;
}

.c-anchor-price-list__button {
	display: inline-block;
	padding: 0.6em 1.4em;
	border: 1px solid currentColor;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: opacity 0.15s ease;
}

.c-anchor-price-list__button:hover,
.c-anchor-price-list__button:focus-visible,
.c-anchor-price-list__link:hover,
.c-anchor-price-list__link:focus-visible {
	opacity: 0.7;
}

.c-anchor-price-list__table {
	width: 100%;
	border-collapse: collapse;
}

.c-anchor-price-list__table th,
.c-anchor-price-list__table td {
	padding: 0.75em 1em 0.75em 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	text-align: left;
	vertical-align: middle;
}

.c-anchor-price-list__table th {
	font-weight: 600;
}

.c-anchor-price-list__link {
	margin-right: 1em;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
