/* WooCommerce product strip under each story slide (LTR bar: buy left, text right). */
.wpstory-product-strip {
	direction: ltr;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	max-width: 100%;
	margin-top: 10px;
	padding: 10px 12px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.45);
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	line-height: 1.35;
	z-index: 25;
	position: relative;
}

/*
 * Modal: .wpstory-appended has overflow:hidden and the media block is height:100%.
 * A in-flow strip after the media is clipped. Pin to bottom of the slide and sit
 * above the default story CTA (.wpstory-story-action is bottom:20px; z-index:50).
 */
.wpstory-story-modal .wpstory-appended-items .wpstory-slider-page .wpstory-product-strip {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 72px;
	width: auto;
	max-width: none;
	margin-top: 0;
	z-index: 60;
	pointer-events: auto;
}

.wpstory-product-strip__info {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	min-width: 0;
	flex: 1;
}

.wpstory-product-strip__title {
	font-weight: 600;
	display: block;
	word-break: break-word;
}

.wpstory-product-strip__price {
	display: block;
	opacity: 0.9;
	font-size: 13px;
	margin-top: 2px;
}

.wpstory-product-strip__buy {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
	color: #111;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}

.wpstory-product-strip__buy:hover,
.wpstory-product-strip__buy:focus {
	background: #f2f2f2;
	color: #000;
}
