/* Shared story strip and fullscreen viewer. */
.store-wrapper {
	overflow: hidden;
	padding: 1rem 0;
}
.store-wrapper .swiper-container {
	overflow: visible !important;
}
.store-wrapper .swiper-slide {
	width: 98px !important;
	margin-left: 12px !important;
}
.store-wrapper button {
	all: unset;
	cursor: pointer;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}
.store-wrapper button figure {
	width: 98px;
	height: 98px;
	border-radius: 50em;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: linear-gradient(
		36deg,
		color-mix(in srgb, var(--clr-1) 50%, #f9349a),
		color-mix(in srgb, var(--clr-1) 50%, #eee42a),
		color-mix(in srgb, var(--clr-1) 50%, #d72828)
	);
	;
}
.store-wrapper button img {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: 50em;
}
.store-wrapper button span {
	display: -webkit-box;
	overflow: hidden;
	line-height: 1.25rem;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	font-size: 12px;
	text-align: center;
}
.story-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100dvh;
	background-color: #111;
	z-index: 9999;
	display: none;
	justify-content: center;
	align-items: center;
}
.story-modal.active {
	display: flex;
}
.story-modal-content {
	position: relative;
	width: 100%;
	max-width: 450px;
	height: 100%;
	max-height: 900px;
	background-color: #000;
	overflow: hidden;
}
.story-progress-container {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	gap: 4px;
	z-index: 10;
}
.story-progress-bar {
	flex: 1;
	height: 3px;
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	overflow: hidden;
}
.story-progress-fill {
	width: 0%;
	height: 100%;
	background-color: #fff;
	transform-origin: right;
}
.story-media-container {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.story-media-container::before {
	position: absolute;
	content: '';
	inset: 0;
	background-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent 20% 90%,rgba(0,0,0,0.5));
}
.story-media-container img,
.story-media-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.story-nav-prev,
.story-nav-next {
	position: absolute;
	top: 0;
	height: 100%;
	z-index: 5;
	cursor: pointer;
}
.story-nav-prev {
	right: 0;
	width: 50%;
}
.story-nav-next {
	left: 0;
	width: 50%;
}
.story-close {
	position: absolute;
	top: 24px;
	left: 12px;
	background: none;
	border: none;
	color: white;
	z-index: 26;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.story-close svg {
	width: 24px;
	height: 24px;
}
.cta-story {
	position: absolute;
	z-index: 25;
	inset: auto 1rem 1rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}
.cta-story a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: #fff;
	border-radius: 50em;
	font-size: 1rem;
	font-weight: 500;
	color: #000;
	padding: 1rem 2rem;
	transition: 0.3s;
}
.cta-story a:hover {
	background: rgb(223, 222, 222);
}
.story-product-link {
	flex: 1;
}
.story-product-link svg {
	width: 1.5rem;
	height: 1.5rem;
}
