/**
 * PXS Related Products Widget styles
 */
.pxs-related-products-heading {
	margin: 0 0 20px 0;
}

.pxs-related-products-wrap {
	display: grid;
	gap: 20px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pxs-related-product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.pxs-related-product-image-link {
	display: block;
	line-height: 0;
}

.pxs-related-product-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.pxs-related-product-countdown {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 8px;
	gap: 12px;
}

.pxs-related-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pxs-related-countdown-number {
	display: block;
	line-height: 1.2;
}

.pxs-related-countdown-label {
	display: block;
	line-height: 1.2;
	margin-top: 2px;
}

.pxs-related-countdown-separator {
	display: inline-block;
	width: 1px;
	min-width: 1px;
	height: 24px;
	background-color: currentColor;
	flex-shrink: 0;
}

.pxs-related-product-end-date {
	margin-bottom: 6px;
}

.pxs-related-product-cash-alternative {
	margin-bottom: 6px;
}

.pxs-related-product-cash-alternative:empty {
	background-color: transparent !important;
	border: none !important;
}

.pxs-related-product-tickets-bar {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pxs-related-product-tickets-bar-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}

.pxs-related-product-tickets-bar-text {
	position: relative;
	z-index: 1;
}

.pxs-related-product-price {
	margin-bottom: 8px;
	font-weight: 600;
}

.pxs-related-product-price-suffix {
	font-weight: 400;
	opacity: 0.85;
}

.pxs-related-product-title {
	margin: 0 0 12px 0;
	font-size: 16px;
	line-height: 1.3;
	flex-grow: 1;
}

.pxs-related-product-title a {
	text-decoration: none;
	color: inherit;
}

.pxs-related-product-title a:hover {
	text-decoration: underline;
}

.pxs-related-product-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pxs-related-product-button-icon {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.pxs-related-product-button-icon svg {
	width: 1em;
	height: 1em;
	max-width: 1em;
	max-height: 1em;
	flex-shrink: 0;
}

.pxs-related-product-button:hover {
	opacity: 0.95;
}
