.reprint-widget {
	width: min(100%, 580px);
	margin-left: auto;
}

.reprint-widget__card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #dbeafe;
	box-shadow: 0 12px 48px rgba(30, 64, 175, 0.12);
	height: 520px;
	position: relative;
	overflow: hidden;
}

.reprint-widget__top-bar {
	height: 4px;
	background: #1d4ed8;
}

.reprint-widget__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 10;
	background: #1d4ed8;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.reprint-widget__panel {
	position: absolute;
	inset: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.38s ease;
}

.reprint-widget__panel.active {
	opacity: 1;
	pointer-events: auto;
}

.reprint-widget__eyebrow {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #93c5fd;
}

.reprint-widget__title {
	font-size: 15px;
	font-weight: 900;
	color: #1e293b;
	letter-spacing: -0.01em;
	margin-top: 2px;
}

.reprint-widget__sub {
	font-size: 11px;
	color: #64748b;
	margin-top: 1px;
}

.reprint-widget__dots {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
	margin-top: 16px;
}

.reprint-widget__dot-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.reprint-widget__dot {
	height: 6px;
	border-radius: 999px;
	background: #bfdbfe;
	transition: width 0.3s, background 0.3s;
	width: 6px;
}

.reprint-widget__dot.active {
	width: 28px;
	background: #1d4ed8;
}

.reprint-widget__dot-label {
	font-size: 9px;
	font-weight: 600;
	color: #bfdbfe;
	transition: color 0.3s;
}

.reprint-widget__dot-label.active {
	color: #1d4ed8;
}

.reprint-widget__scan-row {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
	height: 148px;
}

.reprint-widget__scan-half {
	flex: 1;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
}

.reprint-widget__scan-inner {
	position: absolute;
	inset: 8px;
	border: 2px double;
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px;
}

.reprint-widget__scan-lbl {
	position: absolute;
	bottom: 6px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 8px;
	font-weight: 700;
}

.reprint-widget__scan-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	flex-shrink: 0;
}

.reprint-widget__check-row,
.reprint-widget__qc-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 12px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	animation: reprintWidgetSlideLeft 0.4s ease both;
}

.reprint-widget__check-row:nth-of-type(1) { animation-delay: 0.3s; }
.reprint-widget__check-row:nth-of-type(2) { animation-delay: 0.42s; }
.reprint-widget__check-row:nth-of-type(3) { animation-delay: 0.54s; }
.reprint-widget__check-row:nth-of-type(4) { animation-delay: 0.66s; }
.reprint-widget__qc-row:nth-of-type(1) { animation-delay: 0.35s; }
.reprint-widget__qc-row:nth-of-type(2) { animation-delay: 0.46s; }
.reprint-widget__qc-row:nth-of-type(3) { animation-delay: 0.57s; }
.reprint-widget__qc-row:nth-of-type(4) { animation-delay: 0.68s; }
.reprint-widget__qc-row:nth-of-type(5) { animation-delay: 0.79s; }

.reprint-widget__check-icon,
.reprint-widget__qc-icon,
.reprint-widget__p-check {
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	animation: reprintWidgetPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.reprint-widget__check-icon {
	width: 20px;
	height: 20px;
}

.reprint-widget__qc-icon,
.reprint-widget__p-check {
	width: 16px;
	height: 16px;
}

.reprint-widget__check-text,
.reprint-widget__qc-text {
	font-size: 11px;
	font-weight: 600;
	color: #334155;
	flex: 1;
}

.reprint-widget__match-tag {
	font-size: 9px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
	background: #dcfce7;
	color: #16a34a;
	animation: reprintWidgetFadeIn 0.3s ease both;
}

.reprint-widget__stats-bar {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 8px 16px;
	border-radius: 12px;
	background: #eff6ff;
	border: 1.5px solid #bfdbfe;
	animation: reprintWidgetFadeUp 0.4s ease 1.1s both;
	flex-shrink: 0;
}

.reprint-widget__stat-item {
	flex: 1;
	text-align: center;
}

.reprint-widget__stat-val {
	font-size: 20px;
	font-weight: 900;
	color: #1d4ed8;
}

.reprint-widget__stat-lbl {
	font-size: 9px;
	color: #64748b;
	margin-top: 1px;
}

.reprint-widget__stat-div {
	width: 1px;
	align-self: stretch;
	background: #dbeafe;
}

.reprint-widget__ba-box {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	height: 170px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	animation: reprintWidgetScaleIn 0.4s ease 0.1s both;
}

.reprint-widget__ba-before,
.reprint-widget__ba-after {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 16px;
}

.reprint-widget__ba-before {
	left: 0;
	background: #f1f5f9;
	border-right: 1px dashed #cbd5e1;
}

.reprint-widget__ba-after {
	right: 0;
	background: #fff;
}

.reprint-widget__ba-lbl {
	position: absolute;
	bottom: 8px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 8px;
	font-weight: 700;
}

.reprint-widget__ba-handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	animation: reprintWidgetFadeIn 0.3s ease 0.3s both;
}

.reprint-widget__slider-row {
	animation: reprintWidgetSlideLeft 0.4s ease both;
}

.reprint-widget__slider-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
}

.reprint-widget__slider-lbl {
	font-size: 10px;
	font-weight: 600;
	color: #475569;
}

.reprint-widget__slider-val {
	font-size: 10px;
	font-weight: 900;
}

.reprint-widget__slider-track {
	position: relative;
	height: 8px;
	border-radius: 999px;
	background: #e2e8f0;
}

.reprint-widget__slider-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	border-radius: 999px;
	animation: reprintWidgetFillBar 0.7s ease both;
	width: 0;
}

.reprint-widget__slider-thumb {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
	animation: reprintWidgetThumbMove 0.7s ease both;
	left: 0;
}

.reprint-widget__color-badge {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-radius: 12px;
	background: #eff6ff;
	border: 1.5px solid #bfdbfe;
	flex-shrink: 0;
	animation: reprintWidgetFadeIn 0.4s ease 1s both;
}

.reprint-widget__swatch-row {
	display: flex;
	gap: 6px;
}

.reprint-widget__swatch {
	width: 18px;
	height: 18px;
	border-radius: 50%;
}

.reprint-widget__profile-name {
	font-size: 10px;
	font-weight: 900;
	color: #1d4ed8;
	text-align: right;
}

.reprint-widget__profile-sub {
	font-size: 9px;
	color: #64748b;
	text-align: right;
}

.reprint-widget__paper-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 12px;
	animation: reprintWidgetSlideLeft 0.4s ease both;
}

.reprint-widget__paper-card:nth-of-type(1) { animation-delay: 0.1s; }
.reprint-widget__paper-card:nth-of-type(2) { animation-delay: 0.2s; }
.reprint-widget__paper-card:nth-of-type(3) { animation-delay: 0.3s; }
.reprint-widget__paper-card:nth-of-type(4) { animation-delay: 0.4s; }

.reprint-widget__paper-icon {
	width: 40px;
	height: 48px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 6px;
	flex-shrink: 0;
}

.reprint-widget__paper-line {
	border-radius: 1px;
	background: #e2e8f0;
}

.reprint-widget__paper-name {
	font-size: 12px;
	font-weight: 700;
}

.reprint-widget__paper-use {
	font-size: 10px;
	color: #94a3b8;
	margin-top: 1px;
}

.reprint-widget__paper-gsm {
	font-size: 10px;
	font-weight: 900;
	text-align: right;
	flex-shrink: 0;
}

.reprint-widget__qty-section {
	flex-shrink: 0;
	animation: reprintWidgetFadeUp 0.4s ease 0.7s both;
}

.reprint-widget__qty-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
	margin-bottom: 8px;
}

.reprint-widget__qty-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
}

.reprint-widget__qty-btn {
	padding: 8px 0;
	border-radius: 10px;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	animation: reprintWidgetPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.reprint-widget__qc-cert {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	height: 190px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 32px rgba(30, 64, 175, 0.1);
	animation: reprintWidgetScaleIn 0.5s ease 0.1s both;
}

.reprint-widget__scan-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(29, 78, 216, 0.2);
	z-index: 5;
	animation: reprintWidgetScanLine 2.5s ease-in-out infinite;
}

.reprint-widget__magnifier {
	position: absolute;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid #1d4ed8;
	box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
	z-index: 10;
	animation: reprintWidgetMagnMove 4s linear infinite;
}

.reprint-widget__mag-h {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(29, 78, 216, 0.25);
	transform: translateY(-50%);
}

.reprint-widget__mag-v {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(29, 78, 216, 0.25);
	transform: translateX(-50%);
}

.reprint-widget__qc-stamp {
	position: absolute;
	bottom: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #dcfce7;
	border: 1.5px solid #86efac;
	animation: reprintWidgetStampIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s both;
}

.reprint-widget__qc-stamp span {
	font-size: 9px;
	font-weight: 900;
	color: #16a34a;
}

.reprint-widget__qc-score {
	font-size: 9px;
	font-weight: 900;
}

.reprint-widget__cta-btn {
	border-radius: 12px;
	padding: 12px;
	background: #1d4ed8;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	animation: reprintWidgetFadeUp 0.4s ease 1.1s both;
}

.reprint-widget__cta-btn span {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

@keyframes reprintWidgetFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes reprintWidgetFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reprintWidgetSlideLeft { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes reprintWidgetScaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes reprintWidgetSpringIn { from { opacity: 0; transform: scale(0) rotate(-90deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes reprintWidgetPopIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes reprintWidgetStampIn { from { opacity: 0; transform: scale(0) rotate(-15deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes reprintWidgetSpin { to { transform: rotate(360deg); } }
@keyframes reprintWidgetFillBar { to { width: var(--w); } }
@keyframes reprintWidgetThumbMove { to { left: var(--x); } }
@keyframes reprintWidgetScanLine { 0%, 100% { top: 10%; } 50% { top: 88%; } }
@keyframes reprintWidgetMagnMove { 0% { left: 10%; top: 15%; } 25% { left: 58%; top: 15%; } 50% { left: 58%; top: 55%; } 75% { left: 10%; top: 55%; } 100% { left: 10%; top: 15%; } }
@keyframes reprintWidgetGrowX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 921px) {
	.reprint-widget {
		width: min(100%, 520px);
		margin: 0 auto;
	}

	.reprint-widget__card {
		height: 430px;
	}
}

@media (max-width: 640px) {
	.reprint-widget {
		width: 100%;
	}

	.reprint-widget__card {
		height: 408px;
	}

	.reprint-widget__panel {
		padding: 16px;
	}

	.reprint-widget__scan-row {
		height: 132px;
		gap: 8px;
	}

	.reprint-widget__qty-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.reprint-widget__dots {
		gap: 10px;
	}
}
