/* ============================================================
   Mèo Vay — Design tokens (từ HANDOFF.md Claude Design)
   ============================================================ */
:root {
	/* Màu chính */
	--vm-yellow: #FFC729;        /* vàng chính (brand) */
	--vm-cream: #F4F5F7;         /* nền kem */
	--vm-ink: #23262B;           /* chữ chính */
	--vm-sub: #5C6470;           /* chữ phụ */
	--vm-muted: #8A919C;         /* muted */
	--vm-pink: #B0345F;          /* hồng link/accent */
	--vm-pink-dark: #8A2549;     /* hồng hover */
	--vm-green: #3E8A4E;         /* xanh lá tin cậy */
	--vm-amber: #E89B0C;         /* hổ phách icon */
	--vm-amber-text: #B07E06;    /* chữ hổ phách */
	--vm-error: #C2452D;         /* lỗi */
	--vm-paper: #FFFFFF;         /* nền card sáng (trắng kem) */

	/* Viền */
	--vm-border-card: #E8EAEE;
	--vm-border-input: #E4E7EB;
	--vm-border-chip: #DFE3E8;

	/* Radius */
	--vm-r-card: 24px;
	--vm-r-panel: 36px;
	--vm-r-input: 13px;
	--vm-r-pill: 999px;

	/* Font */
	--vm-font-head: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
	--vm-font-body: 'Be Vietnam Pro', system-ui, sans-serif;

	/* Shadow button vàng */
	--vm-btn-shadow: 0 2px 0 rgba(31, 34, 39, .18);
	--vm-btn-shadow-hover: 0 10px 22px rgba(232, 155, 12, .42);

	/* Focus ring input */
	--vm-focus-ring: 0 0 0 4px rgba(255, 199, 41, .22);
}

/* Base (port từ helmet style của design) */
html {
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--vm-cream);
	font-family: var(--vm-font-body);
	color: var(--vm-ink);
	-webkit-font-smoothing: antialiased;
}
a {
	color: var(--vm-pink);
}
a:hover {
	color: var(--vm-pink-dark);
}
::selection {
	background: var(--vm-yellow);
	color: var(--vm-ink);
}
img {
	max-width: 100%;
	height: auto;
}
[hidden] {
	display: none !important;
}
/* Mobile: mọi ô nhập ≥16px để iOS Safari KHÔNG tự phóng to (zoom + kéo lệch
   màn hình) khi bấm vào input. Không dùng maximum-scale để giữ pinch-zoom. */
@media (max-width: 900px) {
	input[type=text],
	input[type=email],
	input[type=tel],
	input[type=search],
	input[type=number],
	input[type=password],
	textarea,
	select {
		font-size: 16px !important;
	}
}
button {
	font-family: inherit;
	cursor: pointer;
}
input,
select,
textarea {
	font-family: inherit;
}

/* Keyframes (design gốc) */
@keyframes vmFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
@keyframes vmFloat2 {
	0%, 100% { transform: translateY(0) rotate(-1.5deg); }
	50% { transform: translateY(-9px) rotate(1.5deg); }
}
@keyframes vmSpin {
	to { transform: rotate(360deg); }
}
@keyframes vmPop {
	0% { transform: translate(-50%, 14px) scale(.92); opacity: 0; }
	100% { transform: translate(-50%, 0) scale(1); opacity: 1; }
}
@keyframes vmFadeUp {
	0% { transform: translateY(18px); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

/* Range slider — thumb chân mèo (design gốc) */
input[type=range].vm-range {
	-webkit-appearance: none;
	appearance: none;
	height: 10px;
	border-radius: 999px;
	outline: none;
	cursor: pointer;
	margin: 0;
}
input[type=range].vm-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2323262B'%3E%3Cellipse cx='6.2' cy='8' rx='2.4' ry='3'/%3E%3Cellipse cx='12' cy='6.4' rx='2.5' ry='3.1'/%3E%3Cellipse cx='17.8' cy='8' rx='2.4' ry='3'/%3E%3Cpath d='M12 11c3.6 0 6.4 2.6 6.4 5.2 0 1.9-1.5 3.2-3.4 3.2-1.1 0-2-.5-3-.5s-1.9.5-3 .5c-1.9 0-3.4-1.3-3.4-3.2C5.6 13.6 8.4 11 12 11z'/%3E%3C/svg%3E") center/15px no-repeat;
	border: 3px solid #23262B;
	box-shadow: 0 3px 8px rgba(31, 34, 39, .28);
	cursor: grab;
}
input[type=range].vm-range::-webkit-slider-thumb:active {
	cursor: grabbing;
}
input[type=range].vm-range::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #FFFFFF;
	border: 3px solid #23262B;
	box-shadow: 0 3px 8px rgba(31, 34, 39, .28);
	cursor: grab;
}

/* FAQ summary (design gốc) */
summary.vm-sum {
	list-style: none;
	cursor: pointer;
}
summary.vm-sum::-webkit-details-marker {
	display: none;
}
details[open] .vm-chev {
	transform: rotate(45deg);
	background: var(--vm-yellow);
	border-color: var(--vm-yellow);
}
