/* ==========================================================================
   Demathera — main.css
   Quy ước BEM: .block, .block__element, .block--modifier
   - Không style theo thẻ (trừ phần Base và .prose cho nội dung từ editor).
   - Không lồng block trong selector của block khác.
   - Màu, cỡ chữ, khoảng cách lấy từ biến ở mục 1.
   Mục lục:
   1. Tokens        2. Base          3. Layout & tiện ích
   4. Components    5. Header        6. Trang chủ
   7. Footer & nút nổi               8. Khuyến mãi & Shop
   9. Bài viết      10. Về Demathera 11. 404
   ========================================================================== */

/* 0. Fonts — loaded via Google Fonts (Cormorant Garamond + DM Sans) */

/* 1. Tokens
   ========================================================================== */
:root {
	/* Blue gradient brand: #1728B9 → #253068 */
	--color-primary:      #1728B9;
	--color-primary-dark: #253068;
	--color-primary-light:#4D68E0;
	--color-primary-tint: #C8D0F5;
	--color-primary-soft: #EEF0FC;

	--color-sale:   #F51400;
	--color-star:   #F2B33D;

	--color-text:    #000000;
	--color-muted:   #5A5F7A;
	--color-border:  #D2D8EE;
	--color-surface: #F4F5FB;
	--color-bg:      #FFFFFF;
	--color-footer:  #000000;
	--color-on-dark: #C5CCE8;

	--font-base: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1rem;
	--fs-md: 1.125rem;
	--fs-lg: 1.375rem;
	--fs-xl: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
	--fs-2xl: clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem);
	--fs-3xl: clamp(2.5rem, 1.5rem + 4.5vw, 5.25rem);

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-pill: 999px;

	--container: 1400px;
	--header-h: 72px;
	--shadow-card: 0 6px 24px rgba(23, 40, 185, 0.10);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	font-family: var(--font-base);
	font-size: var(--fs-base);
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
}

body.site--locked {
	overflow: hidden;
}

img,
svg,
video,
iframe,
picture {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
}

h1, h2, h3 {
	font-weight: 700;
	letter-spacing: -0.01em;
}

p,
figure,
blockquote {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

input,
select,
textarea {
	font: inherit;
}

:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

[hidden] {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* 3. Layout & tiện ích
   ========================================================================== */
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--space-5));
	margin-inline: auto;
	padding-inline: var(--space-5);
}

.container-fluid {
    max-width: 1687px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.section {
	padding-block: var(--space-8);
}

@media (max-width: 768px) {
	.section {
		padding-block: var(--space-3);
	}
}

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

.skip-link {
	position: absolute;
	top: var(--space-2);
	left: var(--space-2);
	z-index: 1000;
	padding: var(--space-3) var(--space-5);
	background: var(--color-primary);
	color: #fff;
	border-radius: var(--radius-sm);
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.icon {
	width: 1.5rem;
	height: 1.5rem;
	flex-shrink: 0;
}

/* 4. Components
   ========================================================================== */

/* Button */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 44px;
	padding: 0.625rem 1.5rem;
	border: 1.5px solid transparent;
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.button .icon {
	width: 1.125rem;
	height: 1.125rem;
}

.button--primary {
	background: var(--color-primary);
	color: #fff;
}

.button--primary:hover {
	background: var(--color-primary-dark);
}

.button--outline {
	border-color: currentColor;
	background: transparent;
	color: var(--color-text);
}

.button--outline:hover {
	border-color: var(--color-text);
	background: var(--color-text);
	color: #fff;
}

.button--small {
	min-height: 38px;
	padding: 0.375rem 1.125rem;
	font-size: var(--fs-xs);
}

.button--sale {
	background: var(--color-sale);
	color: #fff;
}

.button--sale:hover {
	background: #a82e3f;
}

/* Section heading */
.section-heading {
	margin-bottom: var(--space-7);
}

.section-heading--flush {
	margin-bottom: 0;
}

.section-heading--center {
	text-align: center;
}

.section-heading__title {
	font-size: var(--fs-2xl);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--color-primary);
	text-transform: uppercase;
}

.section-heading__sub {
	display: block;
	margin-top: 0.2em;
	font-size: 0.55em;
	font-weight: 700;
	color: var(--color-primary-light);
}

.section-heading__desc {
	max-width: 60ch;
	margin-top: var(--space-4);
	color: var(--color-muted);
}

.section-heading--center .section-heading__desc {
	margin-inline: auto;
}

.section-heading--plain .section-heading__title {
	font-size: var(--fs-xl);
	font-weight: 500;
	color: var(--color-text);
}

/* Label (Sứ mệnh, Tầm nhìn…) */
.label {
	display: inline-block;
	padding: 0.25rem var(--space-3);
	background: var(--color-primary);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Placeholder ảnh */
.placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: repeating-linear-gradient(45deg, var(--color-surface) 0 12px, var(--color-primary-soft) 12px 24px);
	color: var(--color-muted);
	font-size: var(--fs-xs);
}

/* Sao đánh giá */
.stars {
	position: relative;
	display: inline-block;
	font-size: 0.95rem;
	line-height: 1;
	letter-spacing: 2px;
	color: var(--color-border);
	white-space: nowrap;
}

.stars::before,
.stars__fill::before {
	content: "★★★★★";
}

.stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--rating, 100%);
	overflow: hidden;
	color: var(--color-star);
}

.stars--large {
	font-size: 1.5rem;
}

/* Chip list (lọc danh mục, tag) */
.chip-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip-list--center {
	justify-content: center;
}

.chip-list__link {
	display: inline-block;
	padding: var(--space-2) var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.chip-list__link:hover,
.chip-list__link--active {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: #fff;
}

/* Carousel (cuộn ngang bằng scroll-snap, vẫn dùng được khi tắt JS) */
.carousel {
	position: relative;
}

.carousel__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.carousel__viewport::-webkit-scrollbar {
	display: none;
}

.carousel__track {
	--carousel-item: 80%;
	display: grid;
	grid-auto-columns: var(--carousel-item);
	grid-auto-flow: column;
	gap: var(--space-5);
	margin: 0;
	padding: 0 0 var(--space-2);
	list-style: none;
}

@media (min-width: 768px) {
	.carousel__track {
		--carousel-item: calc((100% - var(--space-5)) / 2);
	}
}

@media (min-width: 1024px) {
	.carousel__track {
		--carousel-item: calc((100% - 2 * var(--space-5)) / 3);
	}

	.carousel--four .carousel__track {
		--carousel-item: calc((100% - 3 * var(--space-5)) / 4);
	}
}

.carousel__item {
	scroll-snap-align: start;
}

.carousel__controls {
	display: flex;
	justify-content: flex-end;
	gap: var(--space-2);
	margin-top: var(--space-5);
}

.carousel__button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	background: #fff;
	transition: border-color 0.2s, color 0.2s;
}

.carousel__button:hover:not(:disabled) {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.carousel__button:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Breadcrumb */
.breadcrumb {
	padding-block: var(--space-4);
	font-size: var(--fs-xs);
	color: var(--color-muted);
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumb__item + .breadcrumb__item::before {
	content: "/";
	margin-right: var(--space-2);
	color: var(--color-border);
}

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

/* Pagination */
.pagination {
	margin-top: var(--space-7);
}

.pagination__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination__link {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.pagination__link:hover,
.pagination__link--current {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: #fff;
}

.pagination__link--dots {
	border-color: transparent;
}

.pagination__link .icon {
	width: 1.125rem;
	height: 1.125rem;
}

/* Nội dung từ trình soạn thảo */
.prose {
	line-height: 1.75;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	margin-top: 1.8em;
	font-size: var(--fs-xl);
	color: var(--color-primary-dark);
}

.prose h3 {
	margin-top: 1.5em;
	font-size: var(--fs-lg);
}

.prose a {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose img {
	border-radius: var(--radius-md);
}

.prose blockquote {
	padding-left: var(--space-5);
	border-left: 3px solid var(--color-primary-light);
	font-style: italic;
	color: var(--color-muted);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--fs-sm);
}

.prose th,
.prose td {
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--color-border);
	text-align: left;
}

/* Page header (trang thường, blog, archive) */
.page-header {
	padding-bottom: var(--space-6);
}

.page-header__title {
	font-size: var(--fs-2xl);
	font-weight: 800;
	color: var(--color-primary);
	text-transform: uppercase;
}

.page-header__desc {
	max-width: 65ch;
	margin-top: var(--space-3);
	color: var(--color-muted);
}

.page__content {
	max-width: 760px;
	padding-bottom: var(--space-9);
}

.page__content--wide {
	max-width: none;
}

/* 5. Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	transition: box-shadow 0.2s;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header--scrolled {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	min-height: var(--header-h);
}

.site-header__brand {
	flex-shrink: 0;
}

.site-header__logo {
	display: block;
}

.site-header__logo-image {
	width: auto;
	max-height: 44px;
}

.site-header__logo-text {
	font-size: var(--fs-lg);
	font-weight: 800;
	color: var(--color-primary);
}

/* Menu chính */
.main-nav {
	flex: 1;
}

.main-nav__list {
	display: flex;
	justify-content: center;
	gap: var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav__item {
	position: relative;
}

.main-nav__link {
	display: block;
	padding: var(--space-2) 0;
	border-bottom: 2px solid transparent;
	font-size: var(--fs-sm);
	font-weight: 500;
	transition: color 0.2s, border-color 0.2s;
}

.main-nav__link:hover,
.main-nav__item--current > .main-nav__link {
	border-bottom-color: var(--color-primary);
	color: var(--color-primary);
}

.main-nav__submenu {
	position: absolute;
	top: 100%;
	left: calc(-1 * var(--space-4));
	min-width: 220px;
	margin: 0;
	padding: var(--space-3) 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.main-nav__item:hover > .main-nav__submenu,
.main-nav__item:focus-within > .main-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.main-nav__submenu .main-nav__link {
	padding: var(--space-2) var(--space-5);
	border-bottom: 0;
}

@media (max-width: 1023.98px) {
	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 99;
		padding: var(--space-5);
		overflow-y: auto;
		background: #fff;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.3s var(--ease), visibility 0.3s;
	}

	.main-nav--open {
		transform: none;
		visibility: visible;
	}

	.main-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.main-nav__link {
		padding: var(--space-4) 0;
		border-bottom: 1px solid var(--color-border);
		font-size: var(--fs-md);
	}

	.main-nav__link:hover,
	.main-nav__item--current > .main-nav__link {
		border-bottom-color: var(--color-border);
	}

	.main-nav__submenu {
		position: static;
		padding: 0 0 0 var(--space-4);
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

/* Icon tìm kiếm, giỏ hàng, menu */
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	margin-left: auto;
}

.header-actions__button {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	transition: background-color 0.2s, color 0.2s;
}

.header-actions__button:hover {
	background: var(--color-surface);
	color: var(--color-primary);
}

.header-actions__count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: var(--radius-pill);
	background: var(--color-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.header-actions__icon-close,
.header-actions__menu[aria-expanded="true"] .header-actions__icon-open {
	display: none;
}

.header-actions__menu[aria-expanded="true"] .header-actions__icon-close {
	display: block;
}

@media (min-width: 1024px) {
	.header-actions__menu {
		display: none;
	}
}

/* Cart drawer */
.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 600;
}

.cart-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.3s;
}

.cart-drawer[data-open] .cart-drawer__overlay {
	opacity: 1;
}

.cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 420px;
	max-width: 100vw;
	background: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.cart-drawer[data-open] .cart-drawer__panel {
	transform: translateX(0);
}

.cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-4) var(--space-5);
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}

.cart-drawer__title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
}

.cart-drawer__close {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--color-surface);
	border: none;
	cursor: pointer;
	color: var(--color-text);
	transition: background 0.15s;
}

.cart-drawer__close:hover {
	background: var(--color-border);
}

.cart-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: var(--space-4) var(--space-5);
}

.cart-drawer__empty {
	color: var(--color-muted);
	text-align: center;
	padding-block: var(--space-8);
}

.cart-drawer__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.cart-drawer__item {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	gap: var(--space-3);
	align-items: center;
}

.cart-drawer__item-img {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
	background: var(--color-surface);
}

.cart-drawer__item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-drawer__item-name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cart-drawer__item-qty {
	font-size: 0.8rem;
	color: var(--color-muted);
	margin-top: 4px;
}

.cart-drawer__item-remove {
	font-size: 1.25rem;
	line-height: 1;
	color: var(--color-muted);
	text-decoration: none;
	padding: 4px;
	transition: color 0.15s;
}

.cart-drawer__item-remove:hover {
	color: var(--color-primary);
}

.cart-drawer__foot {
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-border);
	margin-top: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

.cart-drawer__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.95rem;
}

.cart-drawer__total strong {
	font-size: 1.1rem;
}

.cart-drawer__checkout {
	display: block;
	text-align: center;
}

.cart-drawer__view-cart {
	text-align: center;
	font-size: 0.85rem;
	color: var(--color-muted);
	text-decoration: underline;
}

/* Language switcher */
.lang-switch {
	position: relative;
}

.lang-switch__btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 8px;
	border: 1px solid var(--color-border, #e0e0e0);
	border-radius: 6px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1;
	transition: border-color 0.2s;
	white-space: nowrap;
}

.lang-switch__btn:hover,
.lang-switch__btn[aria-expanded="true"] {
	border-color: var(--color-primary);
}

.lang-switch__flag {
	display: block;
	width: 16px;
	height: 12px;
	object-fit: cover;
	border-radius: 2px;
	flex-shrink: 0;
}

.lang-switch__arrow {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	transition: transform 0.2s;
}

.lang-switch__btn[aria-expanded="true"] .lang-switch__arrow {
	transform: rotate(180deg);
}

.lang-switch__dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 100%;
	background: #fff;
	border: 1px solid var(--color-border, #e0e0e0);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,.10);
	list-style: none;
	margin: 0;
	padding: 4px;
	z-index: 200;
}

.lang-switch__option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 5px;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--color-text);
	text-decoration: none;
	transition: background 0.15s;
	white-space: nowrap;
}

.lang-switch__option:hover {
	background: var(--color-surface, #f5f5f5);
}

.lang-switch__option--active {
	color: var(--color-primary);
	font-weight: 600;
}

/* Ô tìm kiếm */
.search-panel {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	padding: var(--space-5);
}

.search-panel__inner {
	position: relative;
	width: 100%;
	max-width: 640px;
	background: #fff;
	border-radius: 16px;
	padding: var(--space-5) var(--space-6);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.search-panel__close {
	position: absolute;
	top: -12px;
	right: -12px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--color-surface, #f5f5f5);
	border: none;
	cursor: pointer;
	color: var(--color-text);
	transition: background 0.15s;
}

.search-panel__close:hover {
	background: var(--color-border, #e0e0e0);
}

.search-form {
	display: flex;
	gap: var(--space-2);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 var(--space-5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	background: var(--color-surface);
}

.search-form__input:focus {
	border-color: var(--color-primary);
	background: #fff;
}

/* 6. Trang chủ
   ========================================================================== */

/* 6.1 Hero */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--color-surface);
}

.hero__track {
	display: grid;
}

.hero__slide {
	position: relative;
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.hero__slide--active {
	opacity: 1;
	visibility: visible;
}

.hero__media {
	aspect-ratio: 4 / 5;
}

@media (min-width: 768px) {
	.hero__media {
		aspect-ratio: 16 / 7;
	}
}

.hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--space-4);
	pointer-events: none;
}

.hero__content > * {
	pointer-events: auto;
}

.hero__title {
	max-width: 16ch;
	font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--color-primary);
	text-transform: uppercase;
}

.hero__subtitle {
	max-width: 40ch;
	font-size: var(--fs-md);
}

.hero__overlay-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--color-primary);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	transform: translateY(-50%);
	transition: background-color 0.2s;
}

.hero__nav:hover {
	background: #fff;
}

.hero__nav--prev {
	left: var(--space-5);
}

.hero__nav--next {
	right: var(--space-5);
}

@media (min-width: 1024px) {
	.hero__nav {
		display: grid;
	}
}

.hero__dots {
	position: absolute;
	bottom: var(--space-4);
	left: 50%;
	z-index: 2;
	display: flex;
	gap: var(--space-1);
	transform: translateX(-50%);
}

.hero__dot {
	position: relative;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
}

.hero__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-radius: var(--radius-pill);
	background: rgba(0, 0, 0, 0.25);
	transform: translate(-50%, -50%);
	transition: width 0.3s, background-color 0.3s;
}

.hero__dot--active::before {
	width: 24px;
	background: var(--color-primary);
}

/* 6.2 Cơ chế hình thành mụn */
.mechanism__header {
	display: grid;
	gap: var(--space-5);
	margin-bottom: var(--space-7);
}

@media (min-width: 1024px) {
	.mechanism__header {
		grid-template-columns: 1fr 1.2fr;
		align-items: start;
		gap: var(--space-8);
	}
}

.mechanism__intro-title {
	font-size: var(--fs-md);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-primary-light);
	text-transform: uppercase;
}

.mechanism__intro-text {
	margin-top: var(--space-3);
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

.mechanism__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-7) var(--space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.mechanism__list {
		grid-template-columns: repeat(4, 1fr);
	}
}

.mechanism__item {
	text-align: center;
}

.mechanism__figure {
	position: relative;
	width: min(100%, 180px);
	margin: 0 auto var(--space-4);
}

.mechanism__icon {
	aspect-ratio: 1;
	overflow: hidden;
	border: 3px solid var(--color-primary-tint);
	border-radius: 50%;
	background: var(--color-surface);
}

.mechanism__icon-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mechanism__number {
	position: absolute;
	bottom: 4%;
	left: -4%;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--color-primary-light);
	color: #fff;
	font-size: var(--fs-sm);
	font-weight: 700;
}

.mechanism__item-title {
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--color-primary-light);
	text-transform: uppercase;
}

.mechanism__text {
	max-width: 30ch;
	margin: var(--space-2) auto 0;
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

/* 6.3 Dải chỉ số */
.stats {
	padding-bottom: var(--space-8);
}

.stats__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-6) var(--space-5);
	margin: 0;
	padding: var(--space-7) var(--space-5);
	list-style: none;
	border-radius: var(--radius-lg);
	background: var(--color-primary-light);
	color: #fff;
	text-align: center;
}

@media (min-width: 1024px) {
	.stats__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 0;
		padding-inline: 0;
	}

	.stats__item + .stats__item {
		border-left: 1px solid rgba(255, 255, 255, 0.35);
	}
}

.stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-2);
	padding-inline: var(--space-4);
}

.stats__value {
	font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.stats__label {
	padding-top: var(--space-3);
	border-top: 2px solid rgba(255, 255, 255, 0.7);
	font-weight: 700;
	text-transform: uppercase;
}

.stats__note {
	font-size: var(--fs-xs);
	font-weight: 500;
}

/* 6.4 Lâm sàng */
.clinical__banner {
	padding-block: var(--space-6);
	background: var(--color-primary-light);
	color: #fff;
}

.clinical__banner-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-4);
}

.clinical__title {
	font-size: var(--fs-2xl);
	font-weight: 800;
	line-height: 1.1;
	text-transform: uppercase;
}

.clinical__title-sub {
	display: block;
	font-size: 0.55em;
}

.clinical__source {
	max-width: 42ch;
	font-size: var(--fs-xs);
	font-style: italic;
}

.clinical__body {
	display: grid;
	gap: var(--space-6);
	padding-block: var(--space-7) var(--space-8);
}

@media (min-width: 1024px) {
	.clinical__body {
		grid-template-columns: 5fr 7fr;
		align-items: center;
		column-gap: var(--space-8);
	}
}

.clinical__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
}

.clinical__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.clinical__product {
	font-size: var(--fs-3xl);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--color-primary);
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.clinical__tagline {
	margin-top: var(--space-3);
	padding-bottom: var(--space-5);
	border-bottom: 1px solid var(--color-primary-tint);
	font-size: var(--fs-xl);
	font-weight: 500;
	line-height: 1.25;
	text-transform: uppercase;
}

.clinical__tagline-strong {
	display: block;
	font-weight: 800;
	color: var(--color-primary-light);
}

.clinical__badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
	padding: var(--space-2) var(--space-5) var(--space-2) var(--space-2);
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
	text-transform: uppercase;
}

.clinical__badge-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-primary-soft);
	color: var(--color-primary);
}

.clinical__text {
	margin-top: var(--space-5);
	color: var(--color-muted);
}

.clinical__skins {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3) var(--space-6);
	margin: 0;
	padding: var(--space-4) var(--space-6);
	list-style: none;
	border-radius: var(--radius-lg);
	background: var(--color-primary-light);
	color: #fff;
}

@media (min-width: 1024px) {
	.clinical__skins {
		grid-column: 1 / -1;
		border-radius: var(--radius-pill);
	}
}

.clinical__skin {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-weight: 500;
}

/* 6.5 Hoạt chất */
.ingredients__grid {
	display: grid;
	gap: var(--space-6) var(--space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.ingredients__grid {
		grid-template-columns: repeat(6, 1fr);
	}

	.ingredient-card {
		grid-column: span 2;
	}

	.ingredient-card--large {
		grid-column: span 3;
	}
}

.ingredient-card__media {
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.ingredient-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ingredient-card__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--space-4);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.08));
	color: #fff;
	text-align: center;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.ingredient-card__symbol {
	font-size: clamp(3rem, 2rem + 4vw, 5.5rem);
	font-weight: 800;
	line-height: 1;
}

.ingredient-card__name {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: var(--space-2);
	font-size: var(--fs-lg);
	font-weight: 800;
	text-transform: uppercase;
}

.ingredient-card__latin {
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.06em;
}

.ingredient-card__text {
	max-width: 44ch;
	margin: var(--space-4) auto 0;
	font-size: var(--fs-sm);
	color: var(--color-muted);
	text-align: center;
}

/* 6.6 Dòng sản phẩm chính */
.collections__list {
	display: grid;
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.collections__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.collection-card__link {
	display: grid;
	grid-template-columns: 2fr 1fr;
	align-items: center;
	gap: var(--space-3);
	min-height: 220px;
	padding: var(--space-5);
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--color-primary-soft);
	transition: background-color 0.2s;
}

.collection-card__link:hover {
	background: var(--color-primary-tint);
}

.collection-card__name {
	align-self: start;
	font-size: var(--fs-lg);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

.collection-card__count {
	margin-left: 0.25em;
	font-size: 0.7em;
	color: var(--color-muted);
}

.collection-card__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* 6.7 Tab sản phẩm */
.product-tabs__list {
	display: flex;
	gap: var(--space-2);
	margin-bottom: var(--space-6);
	overflow-x: auto;
	border-bottom: 1px solid var(--color-border);
	scrollbar-width: none;
}

.product-tabs__tab {
	flex: 1 0 auto;
	min-width: 140px;
	padding: var(--space-3) var(--space-5);
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	font-weight: 600;
	color: var(--color-muted);
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}

.product-tabs__tab:hover {
	color: var(--color-text);
}

.product-tabs__tab--active {
	border-bottom-color: var(--color-primary);
	color: var(--color-primary);
}

.product-tabs__more {
	display: flex;
	justify-content: center;
	margin-top: var(--space-7);
}

.product-tabs__empty {
	padding: var(--space-7);
	color: var(--color-muted);
	text-align: center;
}

/* Đồng hồ Flash sale */
.countdown {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	margin-bottom: var(--space-6);
	font-weight: 600;
}

.countdown__units {
	display: flex;
	gap: var(--space-2);
}

.countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 56px;
	padding: var(--space-2);
	border-radius: var(--radius-sm);
	background: var(--color-sale);
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.countdown__value {
	font-size: var(--fs-lg);
	font-weight: 800;
	line-height: 1;
}

.countdown__label {
	font-size: 11px;
}

.countdown--ended .countdown__units {
	opacity: 0.5;
}

/* Lưới sản phẩm */
.product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-6) var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.product-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--space-7) var(--space-5);
	}

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

/* Card sản phẩm */
.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.product-card__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.product-card__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.product-card__badge {
	position: absolute;
	top: var(--space-3);
	right: var(--space-3);
	padding: 2px var(--space-2);
	border-radius: var(--radius-sm);
	background: var(--color-muted);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 700;
}

.product-card__badge--sale {
	background: var(--color-sale);
}

.product-card__badge--best {
	background: var(--color-primary);
}

.product-card__badge--new {
	background: var(--color-text);
}

.product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--space-1);
	padding-top: var(--space-4);
}

.product-card__title {
	font-size: var(--fs-base);
	font-weight: 600;
	line-height: 1.35;
}

/* Cả card bấm được, nhưng trong DOM chỉ có 1 link chính → không trùng link cho SEO/a11y */
.product-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.product-card__link:hover {
	color: var(--color-primary);
}

.product-card__subtitle {
	font-size: var(--fs-xs);
	color: var(--color-muted);
}

.product-card__rating {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-top: var(--space-1);
	font-size: var(--fs-xs);
	color: var(--color-muted);
}

.product-card__price {
	margin-top: auto;
	padding-top: var(--space-2);
	font-weight: 700;
}

.product-card__price del {
	margin-right: var(--space-2);
	font-weight: 400;
	color: var(--color-muted);
}

.product-card__price ins {
	color: var(--color-sale);
	text-decoration: none;
}

.product-card__stock {
	font-size: var(--fs-xs);
	color: var(--color-sale);
}

.product-card__button {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	margin-top: var(--space-3);
}

.product-card--out-of-stock .product-card__image {
	opacity: 0.55;
}

/* 6.8 Section Sản phẩm bán chạy */
.best-sellers__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	margin-bottom: var(--space-6);
}

.best-sellers__title {
	font-size: var(--fs-xl);
	font-weight: 800;
	text-transform: uppercase;
}

.best-sellers__wrap {
	position: relative;
}

.best-sellers__nav {
	position: absolute;
	top: 38%;
	transform: translateY(-50%);
	z-index: 2;
	display: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--color-text);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.best-sellers__nav svg {
	width: 20px;
	height: 20px;
}

.best-sellers__nav:hover:not(:disabled) {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.best-sellers__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

@media (min-width: 1024px) {
	.best-sellers__nav {
		display: grid;
	}
}

.best-sellers__nav--prev {
	left: calc(-1 * var(--space-4));
}

.best-sellers__nav--next {
	right: calc(-1 * var(--space-4));
}

.best-sellers__empty {
	padding: var(--space-7);
	color: var(--color-muted);
	text-align: center;
}

/* Card bán chạy */
.bs-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.bs-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 6px;
	background: var(--color-surface);
}

.bs-card__badge {
	position: absolute;
	top: 10px;
	left: 0;
	padding: 5px 10px;
	background: var(--color-sale);
	color: #fff;
	font-size: var(--fs-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	z-index: 1;
}

.bs-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bs-card__body {
	display: flex;
	align-items: flex-start;
	gap: var(--space-3);
	padding-top: var(--space-3);
}

.bs-card__title {
	flex: 1;
	font-size: var(--fs-md);
	font-weight: 500;
	line-height: 1.4;
	margin: 0;
}

.bs-card__link {
	color: inherit;
	text-decoration: none;
}

.bs-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bs-card__link:hover {
	color: var(--color-primary);
}

.bs-card__footer {
	display: flex;
	align-items: flex-end;
	gap: var(--space-2);
	flex-shrink: 0;
}

.bs-card__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.3;
}

.bs-card__price del {
	font-size: var(--fs-xs);
	font-weight: 400;
	color: var(--color-muted);
}

.bs-card__price ins {
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--color-text);
	text-decoration: none;
}

.bs-card__cart {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: var(--color-primary);
	color: #fff;
	border-radius: var(--radius-sm);
	transition: background 0.2s;
}

.bs-card__cart:hover {
	background: #a82e3f;
}

.bs-card__cart img {
	width: 30px;
}

/* 6.9 Hiệu quả thực tế */
.results__carousel {
	margin-bottom: var(--space-7);
}

.result-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
	height: 100%;
	padding: var(--space-4);
	border: 1.5px solid var(--color-primary-tint);
	border-radius: var(--radius-md);
	background: #fff;
	text-align: center;
}

.result-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
}

.result-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.result-card__labels {
	position: absolute;
	inset: auto 0 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: var(--space-2);
	color: #fff;
	font-size: var(--fs-sm);
	font-weight: 600;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.result-card__text {
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

.result-card__author {
	margin-top: auto;
	font-size: var(--fs-xs);
	font-weight: 600;
}

.result-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border: none;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: background 0.2s;
}

.result-card__play:hover,
.result-card__play:focus-visible {
	background: rgba(0, 0, 0, 0.4);
}

.result-card__play-icon {
	width: 52px;
	height: 52px;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.result-card__media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.video-shorts {
	display: grid;
	grid-auto-columns: minmax(200px, 62%);
	grid-auto-flow: column;
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
}

@media (min-width: 768px) {
	.video-shorts {
		grid-auto-columns: minmax(200px, 30%);
	}
}

@media (min-width: 1024px) {
	.video-shorts {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, 1fr);
		overflow: visible;
	}
}

.video-shorts__item {
	scroll-snap-align: start;
}

.video-shorts__title {
	margin-top: var(--space-2);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.video-short {
	position: relative;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: #000;
}

.video-short__play {
	position: absolute;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
}

.video-short__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-short__icon {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--color-primary);
	transform: translate(-50%, -50%);
}

.video-short__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* 7. Footer & nút nổi
   ========================================================================== */
.site-footer {
	background: var(--color-footer);
	color: var(--color-bg);
	font-size: var(--fs-sm);
}

.site-footer__inner {
	display: grid;
	gap: var(--space-6);
	padding-block: var(--space-8);
}

@media (min-width: 768px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.site-footer__inner {
		grid-template-columns: 1.3fr 1fr 1fr;
	}
}

.site-footer__logo {
	display: inline-block;
}

.site-footer__logo-image {
	width: auto;
	max-height: 48px;
	filter: brightness(0) invert(1);
}

.site-footer__logo-text {
	font-size: var(--fs-xl);
	font-weight: 800;
	color: #fff;
}

.site-footer__company {
	margin-top: var(--space-4);
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
}

.site-footer__text {
	margin-top: var(--space-2);
}

.site-footer__bct {
	display: inline-block;
	margin-top: var(--space-5);
}

.site-footer__bct-image {
	max-width: 150px;
}

.site-footer__heading {
	margin-bottom: var(--space-4);
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
}

.site-footer__contact {
	display: grid;
	gap: var(--space-3);
	font-style: normal;
}

.site-footer__contact-label {
	font-weight: 600;
	color: #fff;
}

.site-footer__contact-link:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-nav__list {
	display: grid;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav__link:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__col ul {
	display: grid;
	gap: var(--space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__col ul a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding-block: var(--space-5);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__copyright {
	font-size: var(--fs-xs);
}

.social-links {
	display: flex;
	gap: var(--space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links__link {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	transition: background-color 0.2s;
}

.social-links__link--facebook  { background: #1877f2; border-color: #1877f2; }
.social-links__link--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); border-color: transparent; }
.social-links__link--youtube   { background: #ff0000; border-color: #ff0000; }
.social-links__link--tiktok    { background: #010101; border-color: #010101; }

.social-links__link:hover {
	filter: brightness(1.15);
}

.social-links__link .icon {
	width: 20px;
	height: 20px;
}

/* Nút "Tin nhắn" */
.floating-contact {
	position: fixed;
	right: var(--space-4);
	bottom: var(--space-4);
	z-index: 90;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--space-3);
}

.back-to-top {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	background: #fff;
	color: var(--color-primary);
	box-shadow: var(--shadow-card);
}

.floating-contact__quick {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: var(--space-2);
}

.floating-contact__quick-btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #fff;
	box-shadow: var(--shadow-card);
	transition: transform 0.2s var(--ease);
}

.floating-contact__quick-btn:hover {
	transform: scale(1.1);
}

.floating-contact__quick-btn .icon {
	width: 20px;
	height: 20px;
}

.floating-contact__quick-btn--zalo {
	background: #0068ff;
}

.floating-contact__quick-btn--phone {
	background: var(--color-primary);
}

/* 8. Khuyến mãi & Shop
   ========================================================================== */
.promo-banner__media {
	display: block;
}

.promo-banner__image {
	width: 100%;
	object-fit: cover;
}

.promo-banner__title {
	padding-block: var(--space-5);
	font-size: var(--fs-2xl);
	font-weight: 800;
	color: var(--color-primary);
	text-transform: uppercase;
}

.product-carousel__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-4);
	margin-bottom: var(--space-6);
}

.product-carousel__title {
	font-size: var(--fs-xl);
	font-weight: 700;
	text-transform: uppercase;
}

.product-carousel__subtitle {
	margin-top: var(--space-1);
	color: var(--color-muted);
}

.product-carousel__empty {
	padding: var(--space-7);
	border-radius: var(--radius-md);
	background: var(--color-surface);
	color: var(--color-muted);
	text-align: center;
}

/* Promo groups */
.promo-groups {
	margin-top: var(--space-6);
}

.promo-deal:nth-child(odd) {
	background-color: #f9f9f9;
}

.promo-group {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
}

@media (min-width: 768px) {
	.promo-group {
		grid-template-columns: 320px 1fr;
		gap: var(--space-8);
		align-items: center;
	}
}

.promo-group__info {
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}

@media (min-width: 768px) {
	.promo-group__info {
		position: sticky;
		top: var(--space-7);
	}
}

.promo-group__title {
	font-size: var(--fs-xl);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.1;
}

.promo-group__desc {
	font-size: var(--fs-sm);
	color: var(--color-muted);
	line-height: 1.6;
}

.promo-group__nav {
	display: flex;
	gap: var(--space-2);
	margin-top: var(--space-2);
}

.promo-group__products {
	width: 100%;
}

/* Product card — promo variant */
.product-card__badges {
	position: absolute;
	top: var(--space-3);
	left: var(--space-3);
	display: flex;
	flex-direction: column;
	gap: 2px;
	z-index: 1;
}

.product-card--promo .product-card__badge {
	position: static;
	font-size: 10px;
	padding: 3px 7px;
	letter-spacing: 0.04em;
}

.product-card--promo .product-card__badge--best {
	background: var(--color-text);
}

.product-card--promo .product-card__badge--sale {
	background: var(--color-sale);
}

.product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	margin-top: auto;
	padding-top: var(--space-2);
}

.product-card--promo .product-card__price {
	margin-top: 0;
	padding-top: 0;
}

.product-card__cart-btn {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--color-text);
	color: #fff;
	position: relative;
	z-index: 1;
	transition: background-color 0.2s;
}

.product-card__cart-btn:hover {
	background: var(--color-primary);
}

.product-card__cart-btn svg {
	width: 1rem;
	height: 1rem;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.page-content {
	padding-bottom: var(--space-9);
}

/* Shop */
.shop {
	padding-bottom: var(--space-9);
}

.shop-banner__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
}

@media (min-width: 768px) {
	.shop-banner__media {
		aspect-ratio: 3 / 1;
	}
}

.shop-banner__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.usp {
	display: grid;
	gap: var(--space-4);
	margin: var(--space-7) 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.usp {
		grid-template-columns: repeat(3, 1fr);
	}
}

.usp__item {
	position: relative;
	min-height: 200px;
	padding: var(--space-8) var(--space-6) var(--space-6);
	overflow: hidden;
	background: var(--color-surface);
}

.usp__number {
	position: absolute;
	top: -0.12em;
	left: var(--space-4);
	font-size: 7rem;
	font-weight: 500;
	line-height: 1;
	color: rgba(109, 190, 69, 0.18);
}

.usp__title {
	position: relative;
	font-size: var(--fs-lg);
	font-weight: 600;
	line-height: 1.3;
}

.usp__text {
	position: relative;
	margin-top: var(--space-3);
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

.shop-header {
	margin-block: var(--space-5) var(--space-4);
}

.shop-header__title {
	font-size: var(--fs-xl);
	font-weight: 700;
	text-transform: uppercase;
}

.shop-header__desc {
	max-width: 70ch;
	margin-top: var(--space-2);
	color: var(--color-muted);
}

.shop-filter {
	margin-bottom: var(--space-5);
}

.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-bottom: var(--space-6);
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

/* 9. Bài viết
   ========================================================================== */
.blog-featured {
	padding-bottom: var(--space-8);
}

.featured-post {
	display: grid;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
}

.featured-post + .featured-post {
	margin-top: var(--space-6);
}

@media (min-width: 1024px) {
	.featured-post {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}

	.featured-post--reverse .featured-post__media {
		order: 2;
	}
}

.featured-post__media {
	display: block;
	aspect-ratio: 4 / 3;
}

.featured-post__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-post__body {
	padding: var(--space-6);
}

@media (min-width: 1024px) {
	.featured-post__body {
		padding: var(--space-8);
	}
}

.featured-post__category {
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--color-primary-light);
	text-transform: uppercase;
}

.featured-post__title {
	margin-top: var(--space-3);
	font-size: var(--fs-xl);
	font-weight: 800;
	line-height: 1.2;
	color: var(--color-primary-dark);
	text-transform: uppercase;
}

.featured-post__link:hover {
	color: var(--color-primary);
}

.featured-post__excerpt {
	max-width: 60ch;
	margin-top: var(--space-4);
	color: var(--color-muted);
}

.featured-post__button {
	margin-top: var(--space-5);
}

.blog-list {
	padding-bottom: var(--space-9);
}

.blog-list__title {
	margin-bottom: var(--space-5);
	font-size: var(--fs-xl);
	font-weight: 700;
	text-transform: uppercase;
}

.blog-filter {
	margin-bottom: var(--space-6);
}

.post-grid {
	display: grid;
	gap: var(--space-7) var(--space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-grid__item--featured {
		grid-column: 1 / -1;
	}

	.post-grid__item--featured .post-card {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--space-7);
		align-items: center;
	}

	.post-grid__item--featured .post-card__media {
		aspect-ratio: 4 / 3;
	}

	.post-grid__item--featured .post-card__title {
		font-size: var(--fs-xl);
	}

	.post-grid__item--featured .post-card__excerpt {
		-webkit-line-clamp: 4;
	}
}

@media (min-width: 1024px) {
	.post-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.post-grid__item--featured .post-card {
		grid-template-columns: 3fr 2fr;
	}
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	height: 100%;
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}

.post-card:hover .post-card__image {
	transform: scale(1.04);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--fs-xs);
	color: var(--color-muted);
}

.post-card__sep {
	opacity: 0.4;
}

.post-card__date {
	color: var(--color-primary);
	font-weight: 600;
}

.post-card__title {
	margin: 0;
	font-size: var(--fs-md);
	font-weight: 700;
	line-height: 1.35;
	color: var(--color-text);
}

.post-card__excerpt {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--color-muted);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

.post-card__link:hover {
	color: var(--color-primary);
}

/* Chi tiết bài viết */
/* ── Single post ── */

.article-breadcrumb {
	padding-top: var(--space-5);
}

/* ── Header — editorial, airy ── */
.article-header {
	max-width: 760px;
	margin-inline: auto;
	padding-block: var(--space-6) var(--space-7);
	text-align: center;
}

.article-header__cat {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.article-header__cat::before,
.article-header__cat::after {
	content: '';
	display: inline-block;
	width: 24px;
	height: 1.5px;
	background: var(--color-primary);
	opacity: 0.5;
}

.article-header__cat:hover {
	opacity: 0.75;
}

.article-header__title {
	margin-top: var(--space-5);
	font-size: clamp(2rem, 1rem + 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--color-text);
}

.article-header__meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

.article-header__dot {
	display: inline-block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--color-primary-tint);
}

.article-header__date {
	font-weight: 500;
}

.article-header__rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	margin-top: var(--space-6);
}

.article-header__rule::before,
.article-header__rule::after {
	content: '';
	display: block;
	width: 40px;
	height: 1px;
	background: var(--color-border);
}

.article-header__rule::before {
	background: linear-gradient(to right, transparent, var(--color-primary-tint));
}

.article-header__rule::after {
	background: linear-gradient(to left, transparent, var(--color-primary-tint));
}

/* ── Hero figure ── */
.article-figure {
	max-width: 1100px;
	margin: 0 auto var(--space-8);
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: var(--color-surface);
	box-shadow: 0 16px 56px rgba(23, 40, 185, 0.10);
}

.article-figure__image {
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	display: block;
}

@media (max-width: 767px) {
	.article-figure__image {
		aspect-ratio: 4 / 3;
	}
}

/* ── Layout: reading column + sidebar ── */
.article-layout {
	display: grid;
	gap: var(--space-8);
	padding-bottom: var(--space-9);
}

@media (min-width: 1024px) {
	.article-layout {
		grid-template-columns: 1fr 272px;
		align-items: start;
	}
}

/* ── Article body ── */
.article-body__content {
	font-size: var(--fs-md);
	line-height: 1.85;
	max-width: 68ch;
}

/* Drop cap trên đoạn đầu */
.article-body__content > p:first-child::first-letter {
	float: left;
	font-size: 4em;
	line-height: 0.78;
	margin: 0.06em 0.08em 0 0;
	font-weight: 800;
	color: var(--color-primary);
}

.article-update {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	margin-top: var(--space-6);
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border);
	font-size: var(--fs-xs);
	color: var(--color-muted);
}

.article-update__label {
	font-weight: 700;
	color: var(--color-primary);
}

.article-body__footer {
	margin-top: var(--space-7);
	padding-top: var(--space-5);
	border-top: 1px solid var(--color-border);
}

/* ── Prose enhancements in article ── */
.article-body__content.prose blockquote {
	margin-block: var(--space-7);
	padding: var(--space-5) var(--space-6);
	border-left: none;
	border-radius: var(--radius-md);
	background: var(--color-primary-soft);
	font-size: var(--fs-lg);
	font-style: italic;
	font-weight: 500;
	color: var(--color-primary-dark);
	position: relative;
}

.article-body__content.prose blockquote::before {
	content: '\201C';
	position: absolute;
	top: -0.1em;
	left: var(--space-4);
	font-size: 5em;
	line-height: 1;
	font-style: normal;
	color: var(--color-primary-tint);
	font-weight: 800;
}

.article-body__content.prose h2 {
	margin-top: 2.2em;
	font-size: var(--fs-xl);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--color-text);
	padding-bottom: var(--space-3);
	border-bottom: 2px solid var(--color-primary-soft);
}

/* ── Sidebar ── */
.article-sidebar {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

@media (min-width: 1024px) {
	.article-sidebar {
		position: sticky;
		top: calc(var(--header-h) + var(--space-5));
	}
}

.article-sidebar__box {
	padding: var(--space-5);
	border-radius: var(--radius-md);
	background: #fff;
	box-shadow: 0 1px 20px rgba(23, 40, 185, 0.07);
}

.article-sidebar__eyebrow {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-bottom: var(--space-4);
	padding-bottom: var(--space-3);
	border-bottom: 1.5px solid var(--color-primary-soft);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-primary-dark);
}

.article-sidebar__eyebrow::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-primary);
	flex-shrink: 0;
}

/* Sidebar — products */
.article-sidebar__products {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-sidebar__product + .article-sidebar__product {
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-4);
	margin-top: var(--space-4);
}

.article-sidebar__prod-link {
	display: flex;
	gap: var(--space-3);
	align-items: center;
}

.article-sidebar__prod-link:hover .article-sidebar__prod-name {
	color: var(--color-primary);
}

.article-sidebar__prod-img {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
}

.article-sidebar__prod-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-sidebar__prod-info {
	min-width: 0;
}

.article-sidebar__prod-name {
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.4;
	color: var(--color-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.2s;
}

.article-sidebar__prod-price {
	margin-top: var(--space-1);
	font-size: var(--fs-xs);
	font-weight: 700;
	color: var(--color-primary);
}

/* Sidebar — more articles */
.article-sidebar__more-list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.article-sidebar__more-item + .article-sidebar__more-item {
	border-top: 1px solid var(--color-border);
	padding-top: var(--space-3);
	margin-top: var(--space-3);
}

.article-sidebar__more-link {
	display: flex;
	gap: var(--space-3);
	align-items: center;
	font-size: var(--fs-sm);
	font-weight: 500;
	line-height: 1.4;
	color: var(--color-text);
	transition: color 0.2s;
}

.article-sidebar__more-link:hover {
	color: var(--color-primary);
}

.article-sidebar__more-img {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--color-surface);
}

.article-sidebar__more-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ── Related posts ── */
.related-posts {
	padding-block: var(--space-9);
	background: var(--color-surface);
}

.related-posts__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-4);
	margin-bottom: var(--space-7);
}

.related-posts__title {
	font-size: var(--fs-2xl);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.related-posts__more {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--color-primary);
	white-space: nowrap;
	transition: gap 0.2s;
}

.related-posts__more:hover {
	gap: var(--space-2);
}

/* 10. Về Demathera
   ========================================================================== */
.about-banner__track {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--color-surface);
}

@media (min-width: 768px) {
	.about-banner__track {
		aspect-ratio: 21 / 9;
	}
}

.about-banner__slide {
	position: absolute;
	inset: 0;
	display: none;
}

.about-banner__slide.hero__slide--active {
	display: block;
}

.about-banner__slide-link {
	display: block;
	width: 100%;
	height: 100%;
}

.about-banner__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-banner__dots {
	position: absolute;
	bottom: var(--space-4);
	left: 50%;
	translate: -50% 0;
}

.about-banner__title {
	padding-block: var(--space-5);
	font-size: var(--fs-2xl);
	font-weight: 800;
	color: var(--color-primary);
	text-transform: uppercase;
}

.about-story__inner {
	display: grid;
	align-items: center;
	gap: var(--space-6);
}

@media (min-width: 1024px) {
	.about-story__inner {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-8);
	}
}

.about-story__title {
	font-size: var(--fs-xl);
	font-weight: 800;
	color: var(--color-primary-dark);
	text-transform: uppercase;
}

.about-story__text {
	margin-top: var(--space-4);
	color: var(--color-muted);
}

.about-story__button {
	margin-top: var(--space-5);
}

.about-story__media {
	aspect-ratio: 5 / 4;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.about-story__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-highlights__list {
	display: grid;
	gap: var(--space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.about-highlights__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.highlight-card {
	position: relative;
}

.highlight-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.highlight-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.highlight-card__title {
	margin-top: var(--space-4);
	font-size: var(--fs-md);
	font-weight: 800;
	color: var(--color-primary-dark);
	text-transform: uppercase;
	text-align: center;
}

.highlight-card__body {
	margin-top: var(--space-4);
}



/* Khối chữ + ảnh (sứ mệnh, tầm nhìn) */
.about-feature__inner {
	display: grid;
	align-items: center;
	gap: var(--space-6);
}

@media (min-width: 1024px) {
	.about-feature__inner {
		grid-template-columns: 1fr 1fr;
		gap: var(--space-8);
	}

	.about-feature--stacked .about-feature__inner {
		grid-template-columns: 1fr;
		gap: var(--space-6);
	}
}

.about-feature__title {
	margin-top: var(--space-4);
	font-size: var(--fs-xl);
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.about-feature__text {
	margin-top: var(--space-4);
	color: var(--color-muted);
}

.about-feature__media {
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.about-feature--stacked .about-feature__media {
	aspect-ratio: 16 / 5;
}

.about-feature__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Giải pháp */
.about-solution__grid {
	display: grid;
	gap: var(--space-5);
	margin-top: var(--space-5);
}

@media (min-width: 1024px) {
	.about-solution__grid {
		grid-template-columns: 1fr 2fr;
		align-items: end;
	}
}

.about-solution__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.about-solution__media--wide {
	aspect-ratio: 16 / 7;
	margin-top: var(--space-5);
}

.about-solution__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-solution__title {
	font-size: var(--fs-xl);
	font-weight: 800;
	text-transform: uppercase;
}

.about-solution__text {
	margin-top: var(--space-4);
	color: var(--color-muted);
}

/* Cam kết */
.commitments__body {
	display: grid;
	gap: var(--space-6);
}

@media (min-width: 1024px) {
	.commitments__body {
		grid-template-columns: 1fr 3fr;
	}
}

.commitments__side-title {
	font-size: var(--fs-xl);
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.commitments__list {
	display: grid;
	gap: var(--space-6) var(--space-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.commitments__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.commitment-card {
	text-align: center;
}

.commitment-card__media {
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--color-surface);
}

.commitment-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.commitment-card__title {
	margin-top: var(--space-4);
	font-size: var(--fs-base);
	font-weight: 700;
	text-transform: uppercase;
}

.commitment-card__text {
	margin-top: var(--space-2);
	font-size: var(--fs-sm);
	color: var(--color-muted);
}

/* Đánh giá */
.testimonials__list {
	display: grid;
	gap: var(--space-7) var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.testimonials__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.testimonials__list {
		grid-template-columns: repeat(4, 1fr);
	}
}

.testimonial {
	text-align: center;
}

.testimonial__title {
	margin-top: var(--space-3);
	font-weight: 700;
}

.testimonial__quote {
	margin-top: var(--space-3);
}

.testimonial__text {
	font-size: var(--fs-sm);
	font-style: italic;
	color: var(--color-muted);
}

.testimonial__author {
	margin-top: var(--space-3);
	font-size: var(--fs-xs);
	font-weight: 600;
}

/* 11. 404
   ========================================================================== */
.error-404 {
	padding-block: var(--space-9);
	text-align: center;
}

.error-404__code {
	font-size: clamp(5rem, 3rem + 10vw, 10rem);
	font-weight: 800;
	line-height: 1;
	color: var(--color-primary-soft);
}

.error-404__title {
	font-size: var(--fs-xl);
	font-weight: 800;
}

.error-404__text {
	max-width: 50ch;
	margin: var(--space-3) auto 0;
	color: var(--color-muted);
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-3);
	margin-top: var(--space-6);
}

/* Đích của skip-link / nút lên đầu trang: nhận focus nhưng không hiện viền */
.site-main:focus {
	outline: none;
}
