/* Nagawa base styles — design tokens và layout chung (giai đoạn 3).
 * Nguồn số đo: docs/design-tokens.md. */
:root {
	/* Màu */
	--color-text: #333333;
	--color-text-alt: #484338;
	--color-primary: #264c5d;
	--color-muted: #888888;
	--color-bg: #ffffff;
	--color-surface: #e1e0e0;
	--color-surface-2: #f0f0f0;
	--color-footer-bg: #f4f3f0;
	--color-border: #eeeeee;
	--color-black: #111111;

	/* Font */
	--font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-display: "PoppinsVN", sans-serif;

	/* Layout */
	--container: 1360px;
	--gutter: 16px;
	--header-h: 128px;
}

@font-face {
	font-family: "PoppinsVN";
	src: url("../fonts/PoppinsVN-400.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "PoppinsVN";
	src: url("../fonts/PoppinsVN-500.woff2") format("woff2");
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "PoppinsVN";
	src: url("../fonts/PoppinsVN-600.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
}

@font-face {
	font-family: "PoppinsVN";
	src: url("../fonts/PoppinsVN-700.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text-alt);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-text);
	text-decoration: none;
}

a:hover {
	color: var(--color-primary);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	font-weight: 400;
}

h2 {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 5px;
}

p {
	margin: 0 0 5px;
}

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	border: 1px solid var(--color-primary);
	border-radius: 0;
	cursor: pointer;
}

/* Nút "Nhận báo giá": nền kem #ecd4a8, chữ #003f55, bo 9px (đo trên bản gốc: 98×40). */
.btn--primary {
	background: #ecd4a8;
	color: #003f55;
	border: 0;
	border-radius: 9px;
	font-size: 13px;
	text-transform: none;
	padding: 11px 16px;
}

.btn--primary:hover {
	background: #003f55;
	color: #ecd4a8;
}

/* Ô tìm kiếm trên header (đo trên bản gốc: placeholder "Nhập từ khóa...", rộng 269px). */
.site-search {
	display: flex;
	align-items: center;
	width: 269px;
	max-width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 9px;
	overflow: hidden;
}

.site-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 9px 12px;
	font: inherit;
	font-size: 13px;
	outline: none;
}

.site-search button {
	border: 0;
	background: none;
	padding: 0 12px;
	cursor: pointer;
	color: var(--color-primary);
}

@media (max-width: 1024px) {

.site-search {
		display: none;
	}

}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid var(--color-border);
}

.site-logo {
	display: block;
	flex: 0 0 auto;
}

.site-logo__img {
	height: 72px;
	width: auto;
	max-width: 240px;
	object-fit: contain;
}

/* ---------- Footer ---------- */
.site-footer {
	margin-top: 40px;
	padding: 20px 0;
	background: var(--color-footer-bg);
	color: var(--color-text);
	font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.site-header__hotline {
		display: none;
	}
}

@media (max-width: 768px) {

:root {
		--header-h: 64px;
	}

}

@media (max-width: 480px) {

body {
		overflow-x: hidden;
	}

}

/* ---------- Hàng icon danh mục không gian (header) ---------- */
.room-nav {
	border-top: 1px solid var(--color-border);
	background: #ffffff;
}

.room-nav__list {
	display: flex;
	justify-content: center;
	gap: 8px 22px;
	list-style: none;
	margin: 0;
	padding: 10px 0;
	flex-wrap: wrap;
}

.room-nav__list a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--color-text-alt);
	text-align: center;
	min-width: 64px;
}

.room-nav__list a:hover {
	color: var(--color-primary);
}

.room-nav__icon {
	color: var(--color-primary);
}

@media (max-width: 768px) {

.room-nav {
		display: none;
	}

}

