/* ============================================
   Pelucas Virtual — Salon Premium Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
	--vwt-primary: #1e1518;
	--vwt-primary-warm: #2a1f22;
	--vwt-accent: #c9a87c;
	--vwt-accent-hover: #b8956a;
	--vwt-accent-soft: #d4b98e;
	--vwt-accent-light: rgba(201, 168, 124, 0.10);
	--vwt-accent-ring: rgba(201, 168, 124, 0.30);
	--vwt-rose: #c4908a;
	--vwt-rose-light: rgba(196, 144, 138, 0.10);
	--vwt-success: #5a9e7a;
	--vwt-success-light: #edf7f1;
	--vwt-error: #c44040;
	--vwt-bg: #faf8f5;
	--vwt-bg-warm: #f5f0eb;
	--vwt-surface: #ffffff;
	--vwt-text: #2a1f22;
	--vwt-text-secondary: #7a6b6b;
	--vwt-text-light: #a09494;
	--vwt-border: #e8e0d8;
	--vwt-border-light: #f0ebe5;
	--vwt-radius: 12px;
	--vwt-radius-sm: 8px;
	--vwt-radius-full: 9999px;
	--vwt-shadow: 0 1px 3px rgba(30, 21, 24, 0.05);
	--vwt-shadow-md: 0 2px 8px rgba(30, 21, 24, 0.06);
	--vwt-shadow-lg: 0 4px 16px rgba(30, 21, 24, 0.08);
	--vwt-shadow-accent: 0 4px 14px rgba(201, 168, 124, 0.20);
	--vwt-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--vwt-font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--vwt-transition: all 0.25s ease;
	--vwt-transition-fast: all 0.15s ease;
}

/* ── Reset & Container ── */
.vwt-container {
	font-family: var(--vwt-font-body);
	color: var(--vwt-text);
	background: var(--vwt-surface);
	padding: 0;
	border-radius: var(--vwt-radius);
	max-width: 700px;
	margin: 2rem auto;
	overflow: hidden;
	border: 1px solid var(--vwt-border);
	box-shadow: var(--vwt-shadow-lg);
	position: relative;
}

.vwt-container *,
.vwt-container *::before,
.vwt-container *::after {
	box-sizing: border-box;
}

/* ── Header ── */
.vwt-header {
	text-align: center;
	padding: 1.5rem 1.5rem 1.35rem;
	background: linear-gradient(135deg, var(--vwt-primary) 0%, var(--vwt-primary-warm) 100%);
	position: relative;
	overflow: hidden;
}

.vwt-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--vwt-accent), transparent);
}

.vwt-header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(201, 168, 124, 0.12);
	border: 1px solid rgba(201, 168, 124, 0.20);
	border-radius: 10px;
	margin-bottom: 0.5rem;
}

.vwt-header-icon svg {
	width: 20px;
	height: 20px;
	color: var(--vwt-accent);
}

.vwt-header h2 {
	font-family: var(--vwt-font-display);
	font-weight: 600;
	font-size: 1.15rem;
	color: #ffffff;
	margin: 0 0 0.2rem;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.vwt-header p {
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.78rem;
	font-weight: 400;
	margin: 0;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

/* ── Steps Indicator ── */
.vwt-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	padding: 0.65rem 1.5rem;
	background: var(--vwt-bg);
	border-bottom: 1px solid var(--vwt-border);
}

.vwt-step {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.65rem;
	position: relative;
	opacity: 0.35;
	transition: var(--vwt-transition);
	cursor: pointer;
}

.vwt-step.active {
	opacity: 1;
}

.vwt-step.completed {
	opacity: 0.65;
	cursor: pointer;
}

.vwt-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--vwt-border);
	color: var(--vwt-text-light);
	font-size: 0.65rem;
	font-weight: 700;
	flex-shrink: 0;
	transition: var(--vwt-transition);
}

.vwt-step.active .vwt-step-number {
	background: var(--vwt-accent);
	color: #fff;
	box-shadow: 0 2px 8px rgba(201, 168, 124, 0.30);
}

.vwt-step.completed .vwt-step-number {
	background: var(--vwt-success);
	color: #fff;
}

.vwt-step-label {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--vwt-text-secondary);
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.vwt-step.active .vwt-step-label {
	color: var(--vwt-text);
}

.vwt-step-connector {
	width: 30px;
	height: 1.5px;
	background: var(--vwt-border);
	flex-shrink: 0;
	transition: var(--vwt-transition);
}

.vwt-step-connector.completed {
	background: var(--vwt-success);
}

/* ── Panels ── */
.vwt-panels {
	position: relative;
}

.vwt-panel {
	display: none;
	animation: vwt-fadeIn 0.3s ease;
}

.vwt-panel.vwt-panel-active {
	display: block;
}

.vwt-panel-header {
	padding: 1.1rem 1.35rem 0;
}

.vwt-panel-footer {
	padding: 0.85rem 1.35rem 1.35rem;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
}

/* ── Section Labels ── */
.vwt-section-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0;
}

.vwt-section-label-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--vwt-accent-light);
	border: 1px solid rgba(201, 168, 124, 0.12);
	border-radius: var(--vwt-radius-sm);
	flex-shrink: 0;
}

.vwt-section-label-icon svg {
	width: 14px;
	height: 14px;
	color: var(--vwt-accent);
}

.vwt-section-label h3 {
	font-family: var(--vwt-font-display);
	font-size: 0.92rem;
	font-weight: 600;
	margin: 0;
	color: var(--vwt-text);
	letter-spacing: 0.01em;
}

.vwt-section-label span {
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--vwt-text-light);
	margin-left: auto;
}

/* ── Catalog Gallery (Step 1) ── */
.vwt-catalog-gallery {
	position: relative;
	padding: 0.85rem 1.35rem;
}

.vwt-catalog-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.6rem;
	max-height: none;
	overflow: hidden;
	padding: 2px;
}

.vwt-wig-item {
	background: var(--vwt-surface);
	border: 1.5px solid var(--vwt-border-light);
	border-radius: var(--vwt-radius-sm);
	padding: 0;
	cursor: pointer;
	transition: var(--vwt-transition);
	text-align: center;
	overflow: hidden;
	position: relative;
}

.vwt-wig-item::after {
	content: '';
	position: absolute;
	top: 0.4rem;
	right: 0.4rem;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(4px);
	transition: var(--vwt-transition);
	z-index: 2;
}

.vwt-wig-item img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	transition: transform 0.4s ease, filter 0.3s ease;
}

.vwt-wig-item:hover img {
	transform: scale(1.05);
}

.vwt-wig-item-info {
	padding: 0.35rem 0.45rem 0.4rem;
	background: var(--vwt-surface);
	position: relative;
	z-index: 1;
}

.vwt-wig-item-info p {
	font-size: 0.7rem;
	font-weight: 600;
	margin: 0;
	color: var(--vwt-text);
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vwt-wig-item:hover {
	border-color: var(--vwt-accent-soft);
	box-shadow: var(--vwt-shadow-md);
}

.vwt-wig-item.selected {
	border-color: var(--vwt-accent);
	box-shadow: 0 0 0 2.5px var(--vwt-accent-ring);
}

.vwt-wig-item.selected::after {
	border-color: var(--vwt-accent);
	background: var(--vwt-accent);
	box-shadow: inset 0 0 0 2px #fff;
}

.vwt-wig-item.selected .vwt-wig-item-info {
	background: var(--vwt-accent-light);
}

/* Gallery arrows */
.vwt-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-70%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--vwt-surface);
	border: 1px solid var(--vwt-border);
	box-shadow: var(--vwt-shadow-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 5;
	transition: var(--vwt-transition);
	padding: 0;
}

.vwt-gallery-arrow:hover {
	background: var(--vwt-bg);
	border-color: var(--vwt-accent);
	box-shadow: var(--vwt-shadow-accent);
}

.vwt-gallery-arrow svg {
	width: 16px;
	height: 16px;
	color: var(--vwt-text-secondary);
}

.vwt-gallery-arrow:hover svg {
	color: var(--vwt-accent);
}

.vwt-gallery-prev {
	left: 0.25rem;
}

.vwt-gallery-next {
	right: 0.25rem;
}

/* Gallery dots */
.vwt-gallery-dots {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	padding-top: 0.7rem;
}

.vwt-gallery-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--vwt-border);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: var(--vwt-transition);
}

.vwt-gallery-dot:hover {
	background: var(--vwt-accent-soft);
}

.vwt-gallery-dot.active {
	background: var(--vwt-accent);
	width: 20px;
	border-radius: var(--vwt-radius-full);
}

/* ── Selected Wig Preview (Step 2) ── */
.vwt-selected-wig-preview {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0.85rem 1.35rem 0.85rem;
	padding: 0.55rem 0.75rem;
	background: var(--vwt-accent-light);
	border: 1px solid rgba(201, 168, 124, 0.18);
	border-radius: var(--vwt-radius-sm);
}

.vwt-selected-wig-preview img {
	width: 42px;
	height: 42px;
	border-radius: var(--vwt-radius-sm);
	object-fit: cover;
	border: 2px solid rgba(201, 168, 124, 0.25);
}

.vwt-selected-wig-info {
	flex: 1;
	min-width: 0;
}

.vwt-selected-wig-label {
	display: block;
	font-size: 0.6rem;
	font-weight: 600;
	color: var(--vwt-text-light);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.vwt-selected-wig-info span:last-child {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--vwt-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vwt-btn-sm {
	padding: 0.3rem 0.65rem !important;
	font-size: 0.68rem !important;
	min-width: 0 !important;
	flex: 0 0 auto !important;
}

/* ── Upload Section (Step 2) ── */
.vwt-upload-section {
	padding: 0 1.35rem;
}

.vwt-upload-box {
	border: 2px dashed var(--vwt-border);
	border-radius: var(--vwt-radius);
	padding: 1.75rem 1.25rem;
	text-align: center;
	cursor: pointer;
	background: var(--vwt-bg);
	transition: var(--vwt-transition);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 210px;
	position: relative;
}

.vwt-upload-box:hover,
.vwt-upload-box.dragover {
	border-color: var(--vwt-accent);
	background: var(--vwt-accent-light);
}

.vwt-upload-box.dragover {
	border-style: solid;
}

.vwt-upload-icon-wrapper {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--vwt-surface);
	border: 1.5px solid var(--vwt-border);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.75rem;
	transition: var(--vwt-transition);
	box-shadow: var(--vwt-shadow);
}

.vwt-upload-box:hover .vwt-upload-icon-wrapper {
	border-color: var(--vwt-accent);
	box-shadow: var(--vwt-shadow-accent);
}

.vwt-upload-icon-wrapper svg {
	color: var(--vwt-accent);
	width: 22px;
	height: 22px;
}

.vwt-upload-box .vwt-upload-title {
	font-family: var(--vwt-font-display);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--vwt-text);
	margin: 0 0 0.25rem;
}

.vwt-upload-box .vwt-upload-hint {
	font-size: 0.75rem;
	color: var(--vwt-text-light);
	margin: 0;
	line-height: 1.4;
}

.vwt-upload-formats {
	display: flex;
	gap: 0.35rem;
	margin-top: 0.7rem;
}

.vwt-upload-format-tag {
	font-size: 0.58rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.18rem 0.45rem;
	background: var(--vwt-surface);
	color: var(--vwt-text-light);
	border: 1px solid var(--vwt-border);
	border-radius: 4px;
}

/* ── Preview ── */
.vwt-preview {
	position: relative;
	border-radius: var(--vwt-radius);
	overflow: hidden;
	border: 1px solid var(--vwt-border);
	background: var(--vwt-surface);
	animation: vwt-fadeIn 0.3s ease;
	box-shadow: var(--vwt-shadow);
}

.vwt-preview img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 320px;
	object-fit: contain;
	background: var(--vwt-bg);
}

.vwt-preview-actions {
	display: flex;
	gap: 0.4rem;
	padding: 0.5rem;
	background: var(--vwt-bg);
	border-top: 1px solid var(--vwt-border);
}

.vwt-preview-badge {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	display: flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.22rem 0.55rem;
	background: var(--vwt-success);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 600;
	border-radius: 5px;
	letter-spacing: 0.01em;
	box-shadow: 0 2px 6px rgba(90, 158, 122, 0.25);
}

.vwt-preview-badge svg {
	width: 10px;
	height: 10px;
}

/* ── Buttons ── */
.vwt-btn {
	padding: 0.62rem 1.5rem;
	font-family: var(--vwt-font-body);
	font-size: 0.82rem;
	font-weight: 600;
	border-radius: var(--vwt-radius-sm);
	border: none;
	cursor: pointer;
	transition: var(--vwt-transition);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	text-decoration: none;
	line-height: 1;
}

.vwt-btn svg {
	width: 15px;
	height: 15px;
}

.vwt-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.vwt-btn-primary {
	background: linear-gradient(135deg, var(--vwt-accent) 0%, var(--vwt-accent-hover) 100%);
	color: #fff;
	min-width: 160px;
	box-shadow: 0 2px 8px rgba(201, 168, 124, 0.25);
}

.vwt-btn-primary:not(:disabled):hover {
	background: linear-gradient(135deg, var(--vwt-accent-hover) 0%, #a6825a 100%);
	box-shadow: var(--vwt-shadow-accent);
	transform: translateY(-1px);
}

.vwt-btn-primary:not(:disabled):active {
	transform: translateY(0);
	box-shadow: 0 1px 4px rgba(201, 168, 124, 0.20);
}

.vwt-btn-secondary {
	background: var(--vwt-surface);
	color: var(--vwt-text-secondary);
	border: 1px solid var(--vwt-border);
	padding: 0.45rem 0.8rem;
	font-size: 0.75rem;
	min-width: 0;
	flex: 1;
}

.vwt-btn-secondary:hover {
	background: var(--vwt-bg);
	border-color: var(--vwt-accent-soft);
	color: var(--vwt-text);
}

.vwt-btn-outline {
	background: transparent;
	color: var(--vwt-text-secondary);
	border: 1.5px solid var(--vwt-border);
	padding: 0.55rem 1.1rem;
	font-size: 0.8rem;
	min-width: 0;
}

.vwt-btn-outline:hover {
	border-color: var(--vwt-accent-soft);
	color: var(--vwt-accent-hover);
	background: var(--vwt-accent-light);
}

.vwt-btn-accent {
	background: linear-gradient(135deg, var(--vwt-accent) 0%, var(--vwt-accent-hover) 100%);
	color: #fff;
	flex: 1;
	box-shadow: 0 2px 8px rgba(201, 168, 124, 0.25);
}

.vwt-btn-accent:not(:disabled):hover {
	background: linear-gradient(135deg, var(--vwt-accent-hover) 0%, #a6825a 100%);
	box-shadow: var(--vwt-shadow-accent);
	transform: translateY(-1px);
}

.vwt-btn-accent:not(:disabled):active {
	transform: translateY(0);
}

/* ── Results (Step 3) ── */
#vwt-panel-3 {
	padding: 1.5rem 1.35rem;
	text-align: center;
	background: linear-gradient(180deg, var(--vwt-bg-warm) 0%, var(--vwt-bg) 100%);
}

.vwt-result-container {
	position: relative;
	max-width: 440px;
	margin: 0 auto 1.1rem;
	min-height: 260px;
	background: var(--vwt-surface);
	border-radius: var(--vwt-radius);
	overflow: hidden;
	border: 1px solid var(--vwt-border);
	box-shadow: var(--vwt-shadow-lg);
}

.vwt-result-container img {
	width: 100%;
	height: auto;
	display: block;
}

.vwt-result-actions {
	display: flex;
	gap: 0.6rem;
	justify-content: center;
	max-width: 440px;
	margin: 0 auto;
}

/* ── Loader Overlay ── */
.vwt-loader-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.94);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 10;
	gap: 0.85rem;
}

.vwt-spinner-ring {
	width: 44px;
	height: 44px;
}

.vwt-spinner-ring svg {
	width: 44px;
	height: 44px;
	animation: vwt-spin 1.2s linear infinite;
}

.vwt-spinner-ring circle {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
}

.vwt-spinner-ring .track {
	stroke: var(--vwt-border);
}

.vwt-spinner-ring .progress {
	stroke: var(--vwt-accent);
	stroke-dasharray: 120;
	stroke-dashoffset: 80;
}

.vwt-loading-info {
	text-align: center;
}

.vwt-loading-info p {
	margin: 0;
}

.vwt-loading-info .vwt-loading-title {
	font-family: var(--vwt-font-display);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--vwt-text);
	margin-bottom: 0.2rem;
}

.vwt-loading-info .vwt-loading-subtitle {
	font-size: 0.75rem;
	color: var(--vwt-text-light);
}

.vwt-progress-bar {
	width: 150px;
	height: 3px;
	background: var(--vwt-border);
	border-radius: var(--vwt-radius-full);
	overflow: hidden;
}

.vwt-progress-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--vwt-accent), var(--vwt-accent-soft));
	border-radius: var(--vwt-radius-full);
	animation: vwt-progress-indeterminate 2s ease-in-out infinite;
	width: 35%;
}

/* ── Skeleton Loading ── */
.vwt-catalog-skeleton {
	display: contents;
}

.vwt-skeleton-item {
	background: var(--vwt-surface);
	border: 1.5px solid var(--vwt-border-light);
	border-radius: var(--vwt-radius-sm);
	overflow: hidden;
	animation: vwt-pulse 1.5s ease-in-out infinite;
}

.vwt-skeleton-img {
	width: 100%;
	height: 130px;
	background: linear-gradient(90deg, var(--vwt-border-light) 25%, var(--vwt-border) 50%, var(--vwt-border-light) 75%);
	background-size: 200% 100%;
	animation: vwt-shimmer 1.5s infinite;
}

.vwt-skeleton-text {
	height: 10px;
	margin: 0.5rem;
	background: var(--vwt-border-light);
	border-radius: 4px;
}

/* ── Toast ── */
.vwt-toast {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%) translateY(80px);
	padding: 0.65rem 1.1rem;
	background: var(--vwt-primary);
	color: #fff;
	font-family: var(--vwt-font-body);
	font-size: 0.8rem;
	font-weight: 600;
	border-radius: var(--vwt-radius-sm);
	box-shadow: var(--vwt-shadow-lg);
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 0.45rem;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
	pointer-events: none;
	white-space: nowrap;
}

.vwt-toast.visible {
	transform: translateX(-50%) translateY(0);
}

.vwt-toast.error {
	background: var(--vwt-error);
}

.vwt-toast.success {
	background: var(--vwt-success);
}

.vwt-toast svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

/* ── Empty State ── */
.vwt-empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: 2.5rem 1rem;
}

.vwt-empty-state svg {
	width: 40px;
	height: 40px;
	color: var(--vwt-border);
	margin-bottom: 0.6rem;
}

.vwt-empty-state p {
	color: var(--vwt-text-light);
	font-size: 0.82rem;
	margin: 0;
}

/* ── Animations ── */
@keyframes vwt-spin {
	to { transform: rotate(360deg); }
}

@keyframes vwt-fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes vwt-progress-indeterminate {
	0% { transform: translateX(-100%); }
	50% { transform: translateX(300%); }
	100% { transform: translateX(-100%); }
}

@keyframes vwt-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

@keyframes vwt-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

/* ── Responsive — Tablet ── */
@media (min-width: 768px) {
	.vwt-catalog-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.vwt-wig-item img {
		height: 140px;
	}

	.vwt-gallery-arrow {
		width: 38px;
		height: 38px;
	}

	.vwt-gallery-arrow svg {
		width: 18px;
		height: 18px;
	}
}

/* ── Responsive — Mobile ── */
@media (max-width: 767px) {
	.vwt-container {
		margin: 0.75rem;
		border-radius: var(--vwt-radius);
	}

	.vwt-header {
		padding: 1.15rem 1rem 1rem;
	}

	.vwt-header-icon {
		width: 34px;
		height: 34px;
		margin-bottom: 0.35rem;
	}

	.vwt-header-icon svg {
		width: 17px;
		height: 17px;
	}

	.vwt-header h2 {
		font-size: 1rem;
	}

	.vwt-header p {
		font-size: 0.72rem;
	}

	.vwt-steps {
		padding: 0.5rem 0.75rem;
	}

	.vwt-step {
		padding: 0.2rem 0.4rem;
	}

	.vwt-step-label {
		font-size: 0.64rem;
	}

	.vwt-step-connector {
		width: 20px;
	}

	.vwt-step-number {
		width: 22px;
		height: 22px;
		font-size: 0.6rem;
	}

	.vwt-panel-header {
		padding: 0.85rem 1rem 0;
	}

	.vwt-catalog-gallery {
		padding: 0.65rem 1rem;
	}

	.vwt-catalog-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 0.45rem;
	}

	.vwt-wig-item img {
		height: 110px;
	}

	.vwt-wig-item-info {
		padding: 0.25rem 0.35rem 0.3rem;
	}

	.vwt-wig-item-info p {
		font-size: 0.64rem;
	}

	.vwt-wig-item::after {
		width: 18px;
		height: 18px;
		top: 0.3rem;
		right: 0.3rem;
	}

	.vwt-gallery-arrow {
		width: 30px;
		height: 30px;
	}

	.vwt-gallery-arrow svg {
		width: 14px;
		height: 14px;
	}

	.vwt-gallery-prev {
		left: 0.15rem;
	}

	.vwt-gallery-next {
		right: 0.15rem;
	}

	.vwt-panel-footer {
		padding: 0.65rem 1rem 1.1rem;
	}

	.vwt-btn-primary {
		width: 100%;
		min-width: 0;
	}

	.vwt-upload-section {
		padding: 0 1rem;
	}

	.vwt-upload-box {
		min-height: 170px;
		padding: 1.35rem 0.85rem;
	}

	.vwt-upload-icon-wrapper {
		width: 44px;
		height: 44px;
		margin-bottom: 0.55rem;
	}

	.vwt-upload-icon-wrapper svg {
		width: 18px;
		height: 18px;
	}

	.vwt-upload-box .vwt-upload-title {
		font-size: 0.85rem;
	}

	.vwt-upload-box .vwt-upload-hint {
		font-size: 0.7rem;
	}

	.vwt-selected-wig-preview {
		margin: 0 1rem 0.65rem;
	}

	#vwt-panel-3 {
		padding: 1.1rem 1rem;
	}

	.vwt-result-actions {
		flex-direction: column;
	}

	.vwt-result-actions .vwt-btn {
		width: 100%;
	}

	.vwt-preview-actions {
		gap: 0.3rem;
		padding: 0.4rem;
	}

	.vwt-preview img {
		max-height: 260px;
	}
}

@media (max-width: 380px) {
	.vwt-header h2 {
		font-size: 0.92rem;
	}

	.vwt-step-label {
		display: none;
	}

	.vwt-catalog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.vwt-wig-item img {
		height: 120px;
	}
}
