/* WATSON VAPE PWA — Apple-style bottom sheet */

.wvpwa-overlay {
	--wvpwa-text: #1d1d1f;
	--wvpwa-secondary: rgba(60, 60, 67, 0.6);
	--wvpwa-separator: rgba(60, 60, 67, 0.12);
	--wvpwa-fill: #1d1d1f;
	--wvpwa-radius: 12px;
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wvpwa-overlay[hidden] {
	display: none !important;
}

.wvpwa-overlay.is-visible .wvpwa-backdrop {
	opacity: 1;
}

.wvpwa-overlay.is-visible .wvpwa-sheet {
	transform: translateY(0);
}

.wvpwa-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.wvpwa-sheet {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: var(--wvpwa-radius) var(--wvpwa-radius) 0 0;
	padding: 0 20px calc(16px + env(safe-area-inset-bottom, 0px));
	transform: translateY(100%);
	transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
}

.wvpwa-sheet__handle {
	width: 36px;
	height: 5px;
	margin: 8px auto 20px;
	border-radius: 2.5px;
	background: rgba(60, 60, 67, 0.3);
}

.wvpwa-sheet__title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.022em;
	color: var(--wvpwa-text);
}

.wvpwa-sheet__text {
	margin: 0 0 24px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.47;
	letter-spacing: -0.009em;
	color: var(--wvpwa-secondary);
}

.wvpwa-steps {
	margin: 0 0 24px;
	padding: 0 0 0 20px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--wvpwa-text);
}

.wvpwa-steps li {
	margin-bottom: 6px;
	padding-left: 4px;
}

.wvpwa-steps li::marker {
	color: var(--wvpwa-secondary);
	font-weight: 500;
}

.wvpwa-actions {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.wvpwa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 0;
	border-radius: var(--wvpwa-radius);
	padding: 16px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.022em;
	cursor: pointer;
	transition: opacity 0.15s ease;
	-webkit-tap-highlight-color: transparent;
}

.wvpwa-btn:active {
	opacity: 0.72;
}

.wvpwa-btn--primary {
	background: var(--wvpwa-fill);
	color: #fff;
	margin-bottom: 8px;
}

.wvpwa-btn--secondary {
	background: transparent;
	color: var(--wvpwa-secondary);
	padding: 12px;
	font-weight: 400;
	font-size: 15px;
}

.wvpwa-btn--secondary:active {
	opacity: 0.5;
}

.wvpwa-view--hidden,
.wvpwa-view[hidden] {
	display: none !important;
}

.wvpwa-view {
	animation: wvpwa-in 0.2s ease;
}

@keyframes wvpwa-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (min-width: 641px) {
	.wvpwa-sheet {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (prefers-color-scheme: dark) {
	.wvpwa-sheet {
		background: #1c1c1e;
	}

	.wvpwa-overlay {
		--wvpwa-text: #f5f5f7;
		--wvpwa-secondary: rgba(235, 235, 245, 0.6);
		--wvpwa-fill: #f5f5f7;
	}

	.wvpwa-btn--primary {
		color: #1d1d1f;
	}

	.wvpwa-sheet__handle {
		background: rgba(235, 235, 245, 0.3);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wvpwa-backdrop,
	.wvpwa-sheet,
	.wvpwa-view,
	.wvpwa-btn {
		transition: none !important;
		animation: none !important;
	}
}
