/* ==========================================================================
   Áo Quan — Product page
   ========================================================================== */

.page-ao-quan {
	background: var(--color-brand-deep);
}

.page-ao-quan .brand-watermark,
.page-ao-quan .art-ambient,
.page-ao-quan .art-grain {
	z-index: 0;
}

.page-ao-quan .site-header {
	position: sticky;
}

.page-ao-quan #main {
	position: relative;
	z-index: 1;
	padding-top: 0;
}

/* Page hero */
.ao-hero {
	position: relative;
	padding: 3.5rem 1.5rem 2.5rem;
	background: linear-gradient(180deg, #024bb2 0%, var(--color-brand-dark) 55%, var(--color-brand-deep) 100%);
	overflow: hidden;
}

.ao-hero__bg {
	position: absolute;
	inset: 0;
	background-image: url('../assets/svg/dongson-pattern.svg');
	background-repeat: repeat;
	background-size: 220px 220px;
	opacity: 0.06;
	pointer-events: none;
}

.ao-hero__inner {
	position: relative;
	max-width: var(--max-width);
	margin: 0 auto;
	text-align: center;
}

.ao-hero__eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-gold);
}

.ao-hero__title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 3.25rem);
	margin: 0.75rem 0 0;
	line-height: 1.35;
	padding-top: 0.1em;
	overflow: visible;
}

.ao-hero__desc {
	max-width: 36rem;
	margin: 1.25rem auto 0;
	color: var(--color-text-muted);
	font-size: 1.05rem;
	font-weight: 300;
}

.ao-hero__cta {
	margin-top: 1.75rem;
}

/* Category filter */
.ao-filter {
	position: sticky;
	top: var(--header-h);
	z-index: 50;
	padding: 0.85rem 1.5rem;
	background: #024bb2;
	border-bottom: 1px solid var(--color-gold-muted);
}

.ao-filter__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	max-width: var(--max-width);
	margin: 0 auto;
}

.ao-filter__btn {
	padding: 0.5rem 1.15rem;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	background: transparent;
	border: 1px solid var(--color-gold-muted);
	border-radius: 2px;
	cursor: pointer;
	transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.ao-filter__btn:hover,
.ao-filter__btn.is-active {
	color: var(--color-gold-light);
	border-color: var(--color-gold);
	background: rgba(212, 180, 84, 0.1);
}

/* Product sections — nền trắng */
.ao-catalog {
	width: 100%;
	padding: 2.5rem 1.5rem 4rem;
	background: #ffffff;
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.ao-catalog .ao-grid {
	max-width: var(--max-width);
	margin: 0 auto;
}

.ao-category {
	margin-bottom: 3.5rem;
}

.ao-category__head {
	text-align: center;
	margin-bottom: 2rem;
}

.ao-category__title {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--color-gold-light);
	margin: 0;
}

.ao-category__rule {
	width: 48px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
	margin: 1rem auto 0;
}

/* Product grid */
.ao-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

/* Key visual frame — chuẩn brand */
.frame-kv {
	display: block;
	width: 100%;
	padding: 5px;
	background: linear-gradient(145deg, var(--color-gold-light) 0%, var(--color-gold) 35%, var(--color-gold-deep) 100%);
	box-shadow:
		var(--shadow-luxury),
		0 0 32px rgba(212, 180, 84, 0.12);
	transition: box-shadow 0.4s var(--ease-luxury), transform 0.4s var(--ease-luxury);
}

.frame-kv__inner {
	position: relative;
	aspect-ratio: 247 / 296;
	overflow: hidden;
	background: #f0f2f6;
}

.frame-kv__inner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 70%, rgba(1, 38, 143, 0.08) 100%);
	pointer-events: none;
	z-index: 1;
}

.frame-kv__inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.6s var(--ease-luxury);
}

.frame-kv:hover {
	box-shadow:
		0 16px 40px rgba(1, 38, 143, 0.12),
		0 0 32px rgba(212, 180, 84, 0.2);
	transform: translateY(-4px);
}

.frame-kv:hover .frame-kv__inner img {
	transform: scale(1.04);
}

.frame-kv .frame-luxury__corner {
	width: 22px;
	height: 22px;
}

.frame-kv .frame-luxury__corner--tl { top: 8px; left: 8px; }
.frame-kv .frame-luxury__corner--tr { top: 8px; right: 8px; }
.frame-kv .frame-luxury__corner--bl { bottom: 8px; left: 8px; }
.frame-kv .frame-luxury__corner--br { bottom: 8px; right: 8px; }

/* Grid loading / empty */
.ao-grid__status {
	grid-column: 1 / -1;
	text-align: center;
	padding: 3rem 1rem;
	color: var(--color-brand-deep);
	font-size: 1rem;
}

.ao-grid__status--error {
	color: #b20000;
}

.product-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 200px;
	padding: 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-text-muted);
	text-align: center;
}

/* Product card */
.product-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	opacity: 1;
	transform: none;
}

.product-card.is-hidden {
	display: none;
}

.product-card__body {
	width: 100%;
	margin-top: 1rem;
}

.product-card__title {
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-brand-deep);
	margin: 0 0 0.35rem;
	line-height: 1.35;
}

.product-card__meta {
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #024bb2;
	margin: 0;
	font-weight: 600;
}

/* CTA — banner tư vấn */
.ao-cta {
	padding: 3rem 1.5rem;
	background: #f0f2f6;
	border-top: 1px solid rgba(2, 75, 178, 0.06);
}

.ao-cta__wrap {
	max-width: var(--max-width);
	margin: 0 auto;
}

.ao-cta__card {
	position: relative;
	overflow: hidden;
	background: var(--color-brand);
	border: 1px solid rgba(212, 180, 84, 0.45);
	box-shadow:
		0 20px 48px rgba(2, 75, 178, 0.22),
		0 4px 16px rgba(1, 26, 66, 0.12);
}

.ao-cta__pattern {
	position: absolute;
	inset: 0;
	background-image: url('../assets/svg/dongson-pattern.svg');
	background-repeat: repeat;
	background-size: 180px 180px;
	opacity: 0.05;
	pointer-events: none;
}

.ao-cta__corner {
	position: absolute;
	width: 28px;
	height: 28px;
	z-index: 2;
	pointer-events: none;
	border-color: var(--color-gold);
}

.ao-cta__corner--tl {
	top: 12px;
	left: 12px;
	border-top: 2px solid;
	border-left: 2px solid;
}

.ao-cta__corner--tr {
	top: 12px;
	right: 12px;
	border-top: 2px solid;
	border-right: 2px solid;
}

.ao-cta__corner--bl {
	bottom: 12px;
	left: 12px;
	border-bottom: 2px solid;
	border-left: 2px solid;
}

.ao-cta__corner--br {
	bottom: 12px;
	right: 12px;
	border-bottom: 2px solid;
	border-right: 2px solid;
}

.ao-cta__body {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 2rem 1.5rem;
}

.ao-cta__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold);
}

.ao-cta__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 3.5vw, 1.85rem);
	font-weight: 500;
	line-height: 1.35;
	color: #fff;
	letter-spacing: 0.01em;
}

.ao-cta__desc {
	margin: 1rem 0 0;
	max-width: 34rem;
	font-size: 0.95rem;
	font-weight: 300;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.ao-cta__desc strong {
	color: var(--color-gold-light);
	font-weight: 500;
}

.ao-cta__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.35rem 0 0;
	padding: 0;
	list-style: none;
}

.ao-cta__trust li {
	position: relative;
	padding-left: 1rem;
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.ao-cta__trust li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--color-gold);
}

.ao-cta__panel {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.35rem;
	background: rgba(1, 26, 66, 0.35);
	border: 1px solid rgba(212, 180, 84, 0.28);
}

.ao-cta__panel-label {
	margin: 0 0 0.25rem;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
}

.ao-cta__hotline {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.9rem 1.1rem;
	background: linear-gradient(135deg, #f5e6b8 0%, #d4b454 45%, #c9a03a 100%);
	color: var(--color-brand-deep);
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ao-cta__hotline:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	color: var(--color-brand-deep);
}

.ao-cta__hotline-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(1, 26, 66, 0.12);
	flex-shrink: 0;
}

.ao-cta__hotline-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
}

.ao-cta__hotline-sub {
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.75;
}

.ao-cta__hotline-num {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.ao-cta__alt {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-family: var(--font-display);
	font-size: 1rem;
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.ao-cta__alt:hover {
	border-color: var(--color-gold);
	color: var(--color-gold-light);
}

.ao-cta__alt small {
	font-family: var(--font-body);
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.5);
}

.ao-cta__zalo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.ao-cta__zalo:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.ao-cta__zalo-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	padding: 0.2rem 0.45rem;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: #0068ff;
	border-radius: 2px;
}

/* Footer — trang nghiêm */
.ao-footer {
	position: relative;
	z-index: 1;
	padding: 0 0 2rem;
	text-align: left;
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 180, 84, 0.06), transparent 55%),
		linear-gradient(180deg, var(--color-brand-dark) 0%, #011a42 55%, var(--color-brand-deep) 100%);
	border-top: none;
	overflow: hidden;
}

.ao-footer::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('../assets/svg/dongson-pattern.svg');
	background-repeat: repeat;
	background-size: 200px 200px;
	opacity: 0.035;
	pointer-events: none;
}

.ao-footer__ornament {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1.75rem 1.5rem 0;
}

.ao-footer__line {
	flex: 1;
	max-width: 120px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-gold-muted), transparent);
}

.ao-footer__dongson {
	opacity: 0.45;
	filter: sepia(0.2);
}

.ao-footer__inner {
	position: relative;
	z-index: 1;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 2rem 1.5rem 0;
}

.ao-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

.ao-footer__brand-col {
	text-align: center;
}

.ao-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: inherit;
}

.ao-footer__brand:hover .ao-footer__name {
	color: var(--color-gold-light);
}

.ao-footer__logo {
	width: 52px;
	height: 52px;
	object-fit: contain;
	flex-shrink: 0;
}

.ao-footer__brand-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.ao-footer__name {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 500;
	color: var(--color-gold-light);
	letter-spacing: 0.04em;
	line-height: 1.25;
	transition: color 0.25s var(--ease);
}

.ao-footer__since {
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-gold);
	opacity: 0.75;
	margin-top: 0.2rem;
}

.ao-footer__motto {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 0.95rem;
	color: var(--color-gold);
	margin: 1.25rem 0 0.75rem;
	letter-spacing: 0.06em;
}

.ao-footer__desc {
	margin: 0 auto;
	max-width: 22rem;
	font-size: 0.9rem;
	font-weight: 300;
	line-height: 1.65;
	color: var(--color-text-muted);
}

.ao-footer__heading {
	font-family: var(--font-body);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--color-gold-muted);
}

.ao-footer__list,
.ao-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ao-footer__list li + li,
.ao-footer__links li + li {
	margin-top: 0.85rem;
}

.ao-footer__label {
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 0.2rem;
}

.ao-footer__list a {
	font-family: var(--font-display);
	font-size: 1.05rem;
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

.ao-footer__list a:hover {
	color: var(--color-gold-light);
}

.ao-footer__note {
	display: block;
	font-size: 0.78rem;
	color: var(--color-text-muted);
	margin-top: 0.15rem;
}

.ao-footer__links a {
	font-size: 0.88rem;
	color: var(--color-text-muted);
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

.ao-footer__links a:hover {
	color: var(--color-gold-light);
}

.ao-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(212, 180, 84, 0.15);
	text-align: center;
}

.ao-footer__copy {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.45);
	letter-spacing: 0.02em;
}

.ao-footer__copy strong {
	color: var(--color-gold);
	font-weight: 500;
}

.page-ao-quan .fab {
	bottom: 1.25rem;
}

.nav-desktop__list a[aria-current="page"],
.nav-mobile__list a[aria-current="page"] {
	color: var(--color-gold);
}

@media (min-width: 600px) {
	.ao-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

@media (min-width: 768px) {
	.ao-cta {
		padding: 3.5rem 2rem;
	}

	.ao-cta__body {
		grid-template-columns: 1.15fr 0.85fr;
		align-items: center;
		gap: 2.5rem;
		padding: 2.5rem 2.25rem;
	}

	.ao-cta__panel-label {
		text-align: left;
	}

	.ao-footer__grid {
		grid-template-columns: 1.35fr repeat(3, 1fr);
		gap: 2rem 2.5rem;
		align-items: start;
	}

	.ao-footer__brand-col {
		text-align: left;
	}

	.ao-footer__desc {
		margin: 0;
		max-width: none;
	}
}

@media (min-width: 900px) {
	.ao-hero {
		padding: 4rem 2rem 3rem;
	}

	.ao-catalog {
		padding: 3.5rem 2rem 5rem;
	}

	.ao-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 2rem;
	}
}

@media (min-width: 1100px) {
	.ao-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}
