.wsh-stories-wrap {
	--wsh-circle-size: 72px;
	--wsh-ring-1: #ff5858;
	--wsh-ring-2: #e64848;
	width: 100%;
	direction: rtl;
	padding: 14px 0;
	box-sizing: border-box;
}
.wsh-stories-row {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 16px 10px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.wsh-stories-row::-webkit-scrollbar {
	height: 4px;
}
.wsh-stories-row::-webkit-scrollbar-thumb {
	background: #ddd;
	border-radius: 4px;
}
.wsh-story-circle {
	flex: 0 0 auto;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(var(--wsh-circle-size) + 14px);
	text-align: center;
}
.wsh-story-circle .wsh-ring {
	width: var(--wsh-circle-size);
	height: var(--wsh-circle-size);
	border-radius: 50%;
	padding: 3px;
	background: linear-gradient(135deg, var(--wsh-ring-1), var(--wsh-ring-2));
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease;
}
.wsh-story-circle:hover .wsh-ring,
.wsh-story-circle:focus .wsh-ring {
	transform: scale(1.04);
}
.wsh-story-circle.wsh-seen .wsh-ring {
	background: #d9d9d9;
}
.wsh-thumb {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #f0f0f1;
	background-size: cover;
	background-position: center;
	border: 2px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wsh-thumb .dashicons {
	color: #999;
	font-size: 22px;
}
.wsh-story-title {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.3;
	color: #222;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* ---------------- Story viewer (fullscreen) ---------------- */
.wsh-story-viewer {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: #000;
	display: none;
	direction: rtl;
}
.wsh-story-viewer.wsh-open {
	display: block;
}
.wsh-story-viewer-inner {
	position: relative;
	width: 100%;
	max-width: 460px;
	height: 100%;
	margin: 0 auto;
	background: #000;
	overflow: hidden;
}
.wsh-progress-row {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	gap: 4px;
	z-index: 5;
}
.wsh-progress-bar {
	display: block;
	flex: 1 1 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.35);
	border-radius: 3px;
	overflow: hidden;
}
.wsh-progress-bar-fill {
	display: block;
	height: 100%;
	width: 0;
	background: #fff;
	border-radius: 3px;
	will-change: width;
}
.wsh-progress-bar.wsh-done .wsh-progress-bar-fill {
	width: 100%;
}
.wsh-story-header {
	position: absolute;
	top: 22px;
	left: 10px;
	right: 10px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.wsh-story-header-title {
	color: #fff;
	font-size: 13px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.wsh-close-btn {
	background: none;
	border: none;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
}
.wsh-slide-stage {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}
.wsh-slide-stage img,
.wsh-slide-stage video {
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}
.wsh-nav-zone {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 30%;
	z-index: 4;
	cursor: pointer;
}
.wsh-nav-prev {
	right: 0;
}
.wsh-nav-next {
	left: 0;
}
.wsh-product-btn {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	background: #fff;
	color: #111;
	padding: 10px 22px;
	border-radius: 24px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	display: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.wsh-product-btn.wsh-visible {
	display: block;
}
@media (max-width: 480px) {
	.wsh-story-viewer-inner {
		max-width: 100%;
	}
}

/* ---------------- Extras ---------------- */
html.wsh-noscroll,
html.wsh-noscroll body {
	overflow: hidden;
	touch-action: none;
}

.wsh-story-viewer.wsh-loading .wsh-slide-stage::after {
	content: "";
	width: 34px;
	height: 34px;
	border: 3px solid rgba(255, 255, 255, 0.25);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wsh-spin 0.8s linear infinite;
}

@keyframes wsh-spin {
	to {
		transform: rotate(360deg);
	}
}

.wsh-story-viewer * {
	-webkit-tap-highlight-color: transparent;
}

.wsh-slide-stage img,
.wsh-slide-stage video {
	user-select: none;
	-webkit-user-select: none;
	pointer-events: none;
}

.wsh-stories-row::-webkit-scrollbar-track {
	background: transparent;
}
