/* =========================================================
   โรงเตี๊ยมบางมด — Chinese-style restaurant landing
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&family=Noto+Serif+SC:wght@400;600;700;900&family=ZCOOL+XiaoWei&display=swap');

:root {
	/* Vermilion (朱红) reds — the painted wall: vibrant, saturated, lacquer-bright */
	--red-deep:    #7a0e12;
	--red-main:    #c8201f;
	--red-light:   #e02e2c;
	--red-bright:  #f23a36;
	--red-soft:    #fce1e1;

	/* Polished brass gold — warm + bright like the lamp stand */
	--gold-deep:   #8a5e10;
	--gold:        #d4a020;
	--gold-light:  #ebc14d;
	--gold-bright: #f5d97a;
	--gold-soft:   #fae8b0;

	/* Ivory + parchment — the lampshade cream tones */
	--cream:       #fff5d8;
	--paper:       #fdf3d8;
	--paper-2:     #f4e2a8;

	/* Wood for footer / dark-wood beams */
	--wood-deep:   #2a1808;
	--wood:        #5a3a1f;
	--wood-light:  #8a5e36;

	--ink:         #2a1408;
	--ink-soft:    #5a3826;

	--shadow-sm: 0 3px 10px rgba(42, 20, 8, 0.14);
	--shadow-md: 0 8px 24px rgba(42, 20, 8, 0.22);
	--shadow-lg: 0 20px 50px rgba(42, 20, 8, 0.30);

	--gold-grad:    linear-gradient(135deg, #fff5d8 0%, var(--gold-bright) 30%, var(--gold-light) 65%, var(--gold) 100%);
	--gold-grad-h:  linear-gradient(135deg, #ffffff 0%, #fff0b5 30%, var(--gold-bright) 65%, var(--gold-light) 100%);
	--gold-text:    linear-gradient(180deg, #fff5d8 0%, var(--gold-bright) 50%, var(--gold-light) 100%);
	--wood-grad:    linear-gradient(180deg, var(--wood) 0%, var(--wood-deep) 100%);

	--header-h: 76px;
}

/* ---------- Reset / base ------------------------------------------------ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
	font-family: 'Noto Sans Thai', 'Noto Serif SC', system-ui, sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at 20% 30%, rgba(212, 160, 32, 0.10) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 80% 70%, rgba(200, 32, 31, 0.08) 0 1.5px, transparent 2.5px),
		var(--paper);
	background-size: 240px 240px, 320px 320px, auto;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--red-main); text-decoration: none; }
a:hover { color: var(--red-deep); }

h1, h2, h3, h4 {
	font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', 'Noto Sans Thai', serif;
	font-weight: 700;
	color: var(--ink);
	margin: 0 0 0.5em;
	letter-spacing: 0.5px;
}
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

.cn-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- HEADER ------------------------------------------------------ */
.cn-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background:
		linear-gradient(180deg, var(--red-main) 0%, #a01a1f 100%);
	color: var(--cream);
	box-shadow: var(--shadow-sm);
	transition: box-shadow .2s, background .2s;
}
.cn-header::before {
	/* Polished brass trim — bright */
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -3px;
	height: 3px;
	background: var(--gold-grad);
	box-shadow: 0 0 10px rgba(212, 160, 32, 0.55);
}
.cn-header::after {
	/* Brass dashed plaque trim — top edge */
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	/* background:
		repeating-linear-gradient(90deg,
			var(--gold-bright) 0 10px,
			transparent 10px 16px),
		linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%); */
	opacity: 0.92;
}
.cn-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	height: var(--header-h);
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
body.cn-scrolled .cn-header {
	box-shadow: var(--shadow-md);
}
.cn-header--inner {
	background: linear-gradient(180deg, var(--red-deep) 0%, var(--red-main) 100%);
}

/* Brand */
.cn-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--cream);
	text-decoration: none;
}
.cn-brand:hover { color: var(--gold-soft); }
.cn-brand__zh {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	background: var(--gold-grad);
	color: var(--red-deep);
	font-family: 'Noto Serif SC', serif;
	font-weight: 900;
	font-size: 22px;
	border-radius: 6px;
	box-shadow: 0 0 0 2px rgba(255, 245, 216, 0.40), 0 4px 12px rgba(0, 0, 0, 0.30);
	flex-shrink: 0;
}
.cn-brand__logo {
	width: auto;
	height: 50px;
	object-fit: contain;
	border-radius: 6px;
	background: #6e1217;
	box-shadow: 0 0 0 2px var(--gold-light), 0 0 0 3px var(--gold-deep), 0 4px 12px rgba(0, 0, 0, 0.35);
	flex-shrink: 0;
}
.cn-brand__th {
	display: flex;
	flex-direction: column;
	font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', 'Noto Sans Thai', serif;
	font-weight: 700;
	font-size: 19px;
	line-height: 1.15;
	letter-spacing: 0.5px;
}
.cn-brand__th small {
	font-family: 'Noto Sans Thai', sans-serif;
	font-weight: 400;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--gold-soft);
	opacity: 0.85;
	margin-top: 2px;
}

/* Nav */
.cn-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}
.cn-nav a {
	color: var(--cream);
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	padding: 10px 14px;
	border-radius: 6px;
	transition: background .15s, color .15s;
	white-space: nowrap;
}
.cn-nav a:hover {
	color: var(--gold-light);
	background: rgba(0, 0, 0, 0.18);
}
.cn-nav__cta {
	margin-left: 8px;
	background: var(--gold-grad) !important;
	color: var(--red-deep) !important;
	font-weight: 700 !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		0 0 0 1px var(--gold),
		0 4px 14px rgba(245, 217, 122, 0.60),
		0 0 24px rgba(255, 240, 181, 0.35);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.cn-nav__cta:hover {
	background: var(--gold-grad-h) !important;
	color: var(--red-deep) !important;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 0 0 1px var(--gold-light),
		0 6px 18px rgba(255, 240, 181, 0.70),
		0 0 32px rgba(255, 240, 181, 0.45);
}

.cn-burger {
	display: none;
	background: transparent;
	border: 0;
	width: 42px;
	height: 42px;
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	padding: 0;
}
.cn-burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--cream);
	border-radius: 2px;
	transition: transform .2s;
}

@media (max-width: 880px) {
	.cn-burger { display: flex; }
	.cn-nav {
		position: fixed;
		top: var(--header-h);
		right: 0;
		left: 0;
		flex-direction: column;
		align-items: stretch;
		background: linear-gradient(180deg, var(--red-deep) 0%, var(--red-main) 100%);
		padding: 16px 24px 24px;
		gap: 4px;
		box-shadow: var(--shadow-md);
		border-top: 1px solid rgba(212, 168, 87, 0.3);
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s, transform .2s;
	}
	.cn-nav a { padding: 12px 14px; font-size: 16px; }
	.cn-nav__cta { margin: 6px 0 0; text-align: center; }
	body.cn-nav-open .cn-nav {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
}

/* ---------- HERO -------------------------------------------------------- */
.cn-hero {
	position: relative;
	overflow: hidden;
	min-height: calc(100vh - var(--header-h));
	/* Painted vermillion wall — uneven highlights like brushed lacquer */
	background:
		radial-gradient(ellipse at 30% 20%, #e8332e 0%, transparent 50%),
		radial-gradient(ellipse at 80% 80%, #98171c 0%, transparent 55%),
		linear-gradient(150deg, #c8201f 0%, #a01a1f 100%);
	color: var(--cream);
	padding: 60px 0 100px;
	display: flex;
	align-items: center;
}
.cn-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	/* Subtle paint-stroke + speckle texture (like a brushed wall) */
	background-image:
		repeating-linear-gradient(95deg,
			rgba(255,255,255,0.025) 0 2px,
			transparent 2px 7px),
		radial-gradient(circle at 18% 22%, rgba(0,0,0,0.10) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 72% 38%, rgba(0,0,0,0.08) 0 1.2px, transparent 2px),
		radial-gradient(circle at 88% 78%, rgba(245,217,122,0.10) 0 1.5px, transparent 2px);
	background-size: auto, 200px 200px, 240px 240px, 280px 280px;
}
@keyframes cn-drift {
	from { background-position: 0 0, 0 0, 0 0, 0 0; }
	to   { background-position: 220px 220px, -260px 260px, 180px -180px, -300px -300px; }
}
.cn-hero__cloud {
	position: absolute;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, rgba(255, 245, 225, 0.08), transparent 60%);
	filter: blur(2px);
	top: -120px; left: -100px;
	animation: cn-cloud 30s ease-in-out infinite alternate;
}
.cn-hero__cloud--2 {
	top: auto; left: auto;
	bottom: -120px; right: -120px;
	width: 460px; height: 460px;
	animation-duration: 40s;
}
@keyframes cn-cloud {
	from { transform: translate(0, 0); }
	to   { transform: translate(40px, 30px); }
}

.cn-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 60px;
	align-items: center;
}
@media (max-width: 880px) {
	.cn-hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

.cn-hero__kanji {
	display: inline-flex;
	gap: 14px;
	margin-bottom: 22px;
	font-family: 'Noto Serif SC', serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--gold-bright);
	text-shadow: 0 1px 0 rgba(122, 14, 18, 0.5), 0 0 14px rgba(245, 217, 122, 0.55);
}
.cn-hero__kanji span {
	display: inline-block;
	padding: 6px 10px;
	border-left: 1px solid rgba(232,196,106,0.45);
	border-right: 1px solid rgba(232,196,106,0.45);
}
.cn-hero__title {
	color: var(--cream);
	margin: 0 0 14px;
}
.cn-hero__th {
	padding-top: 1rem;
	margin-top: -1rem;
	display: block;
	font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', 'Noto Sans Thai', serif;
	font-size: clamp(40px, 7vw, 64px);
	background: linear-gradient(180deg, #fff0b5 0%, var(--gold-bright) 35%, var(--gold-light) 65%, var(--gold) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 3px 14px rgba(0,0,0,0.45)) drop-shadow(0 0 16px rgba(245, 217, 122, 0.30));
	line-height: 1;
}
.cn-hero__zh {
	display: block;
	margin-top: 10px;
	font-family: 'Noto Serif SC', serif;
	font-weight: 600;
	font-size: clamp(16px, 2vw, 22px);
	letter-spacing: 6px;
	color: var(--gold-soft);
	text-shadow: 0 0 10px rgba(255, 217, 102, 0.35);
}
.cn-hero__lead {
	margin: 22px 0 30px;
	font-size: 17px;
	max-width: 560px;
	color: rgba(255, 245, 225, 0.92);
}

.cn-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.cn-hero__art {
	position: relative;
	height: 100%;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cn-hero__logo {
	position: relative;
	z-index: 3;
	width: auto;
	height: 220px;
	max-width: 80%;
	object-fit: contain;
	background: #fff;
	border-radius: 75px;
	padding: 5px 5px 5px 0px;
	filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 28px rgba(232, 196, 106, 0.35));
	animation: cn-logo-float 6s ease-in-out infinite;
}
@keyframes cn-logo-float {
	0%, 100% { transform: translateY(-4px); }
	50%      { transform: translateY(6px); }
}
@media (max-width: 880px) {
	.cn-hero__logo { height: 170px; }
}
.cn-seal {
	width: 96px;
	height: 96px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Noto Serif SC', serif;
	font-weight: 900;
	font-size: 54px;
	color: var(--gold-bright);
	background:
		radial-gradient(ellipse at 30% 25%, var(--red-bright), var(--red-main) 55%, var(--red-deep) 100%);
	border: 4px solid var(--gold-light);
	border-radius: 10px;
	box-shadow:
		inset 0 0 12px rgba(0, 0, 0, 0.30),
		0 0 0 2px var(--red-deep),
		0 0 0 5px var(--gold-deep),
		0 12px 32px rgba(200, 32, 31, 0.50),
		0 0 28px rgba(245, 217, 122, 0.30);
	text-shadow: 0 1px 0 rgba(122, 14, 18, 0.7), 0 0 6px rgba(250, 232, 176, 0.30);
	transform: rotate(-8deg);
	position: absolute;
	bottom: 12%;
	right: 8%;
	z-index: 4;
}
.cn-coin {
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 25%, #fff5d8 0%, var(--gold-bright) 25%, var(--gold-light) 55%, var(--gold) 100%);
	box-shadow:
		inset 0 -10px 26px rgba(122, 80, 14, 0.30),
		inset 0 6px 18px rgba(255, 245, 216, 0.65),
		0 0 0 2px rgba(80, 56, 14, 0.4),
		0 18px 60px rgba(245, 217, 122, 0.55),
		0 0 80px rgba(255, 240, 181, 0.40);
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	z-index: 1;
	opacity: 1;
	animation: cn-spin 60s linear infinite;
}
.cn-coin::before {
	content: '';
	position: absolute;
	inset: 14px;
	border-radius: 50%;
	border: 2px solid rgba(0,0,0,0.18);
}
.cn-coin::after {
	content: '';
	position: absolute;
	width: 60px;
	height: 60px;
	background: radial-gradient(circle at center, var(--ink) 0 4px, transparent 5px),
				radial-gradient(circle at center, var(--gold-deep) 0 100%);
	border-radius: 8px;
}
.cn-coin__inner {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	font-family: 'Noto Serif SC', serif;
	font-weight: 700;
	font-size: 28px;
	color: var(--ink);
	z-index: 1;
}
.cn-coin__inner span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.cn-coin__inner span:nth-child(1) { padding: 18px 0 0 24px; }
.cn-coin__inner span:nth-child(2) { padding: 18px 24px 0 0; }
.cn-coin__inner span:nth-child(3) { padding: 0 0 18px 24px; }
.cn-coin__inner span:nth-child(4) { padding: 0 24px 18px 0; }
@keyframes cn-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}
@media (max-width: 880px) {
	.cn-hero__art { min-height: 280px; }
	.cn-coin { width: 240px; height: 240px; }
	.cn-coin__inner { font-size: 24px; }
	.cn-seal { width: 70px; height: 70px; font-size: 38px; right: 10%; bottom: 10%; }
}

/* Lanterns */
.cn-lantern {
	position: absolute;
	width: 56px;
	height: 72px;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, var(--red-bright), var(--red-light) 50%, var(--red-main) 75%, var(--red-deep));
	box-shadow:
		inset 0 -10px 18px rgba(0,0,0,0.35),
		inset 0 4px 12px rgba(245, 217, 122, 0.30),
		0 0 28px rgba(242, 58, 54, 0.50),
		0 0 50px rgba(245, 217, 122, 0.25);
	animation: cn-sway 5s ease-in-out infinite;
	z-index: 1;
	pointer-events: none;
}
.cn-lantern::before {
	content: '';
	position: absolute;
	top: -8px; left: 50%;
	width: 28px; height: 6px;
	background: var(--gold-grad);
	transform: translateX(-50%);
	border-radius: 2px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.cn-lantern::after {
	content: '';
	position: absolute;
	bottom: -22px; left: 50%;
	width: 3px; height: 24px;
	background: linear-gradient(to bottom, var(--gold-bright) 0 60%, var(--gold) 60% 75%, var(--red-deep) 75% 100%);
	transform: translateX(-50%);
	box-shadow: 0 0 8px rgba(255, 230, 128, 0.7);
}
.cn-lantern--l1 { top: 90px;  left: 6%;  animation-delay: -1s; }
.cn-lantern--l2 { top: 110px; right: 8%; animation-delay: -3s; }
.cn-lantern--l3 { bottom: 80px; right: 14%; width: 44px; height: 56px; animation-delay: -2s; }
@keyframes cn-sway {
	0%, 100% { transform: rotate(-4deg); }
	50%      { transform: rotate(4deg); }
}
@media (max-width: 600px) {
	.cn-lantern--l1 { top: 70px; left: 4%; width: 42px; height: 56px; }
	.cn-lantern--l2 { top: 90px; right: 4%; width: 42px; height: 56px; }
	.cn-lantern--l3 { display: none; }
}

/* Scroll indicator */
.cn-hero__scroll {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 30px;
	height: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
}
.cn-hero__scroll span {
	display: block;
	width: 14px;
	height: 14px;
	border-right: 2px solid var(--gold-light);
	border-bottom: 2px solid var(--gold-light);
	transform: rotate(45deg);
	animation: cn-arrow 1.6s ease-in-out infinite;
	opacity: 0;
}
.cn-hero__scroll span:nth-child(1) { animation-delay: 0s; }
.cn-hero__scroll span:nth-child(2) { animation-delay: 0.2s; }
.cn-hero__scroll span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cn-arrow {
	0%   { opacity: 0; transform: rotate(45deg) translate(-6px, -6px); }
	50%  { opacity: 1; }
	100% { opacity: 0; transform: rotate(45deg) translate(6px, 6px); }
}

/* ---------- Buttons ----------------------------------------------------- */
.cn-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 15px;
	font-family: 'Noto Sans Thai', sans-serif;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s, color .15s;
	text-decoration: none;
	white-space: nowrap;
}
.cn-btn--primary {
	background: var(--gold-grad);
	color: var(--red-deep);
	border-color: var(--gold);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		inset 0 -1px 0 rgba(122, 80, 14, 0.30),
		0 6px 18px rgba(245, 217, 122, 0.65),
		0 0 24px rgba(255, 240, 181, 0.35);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.cn-btn--primary:hover {
	background: var(--gold-grad-h);
	color: var(--red-deep);
	transform: translateY(-1px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.95),
		0 10px 26px rgba(255, 240, 181, 0.75),
		0 0 36px rgba(255, 240, 181, 0.50);
}
.cn-btn--ghost {
	background: transparent;
	color: var(--gold-bright);
	border-color: var(--gold-light);
}
.cn-btn--ghost:hover {
	background: rgba(245, 217, 122, 0.18);
	color: #fff0b5;
	border-color: var(--gold-light);
}
.cn-btn--lg { padding: 14px 28px; font-size: 16px; }
.cn-btn--sm { padding: 8px 14px; font-size: 13px; }

/* ---------- Sections ---------------------------------------------------- */
.cn-section {
	padding: 90px 0;
	position: relative;
}
.cn-section--menu {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(245, 217, 122, 0.30) 0%, transparent 50%),
		linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
	border-top: 2px solid transparent;
	border-image: var(--gold-grad) 1;
}
.cn-section--promo {
	background:
		radial-gradient(ellipse at 20% 0%, #98171c 0%, transparent 55%),
		radial-gradient(ellipse at 90% 100%, rgba(245, 217, 122, 0.20) 0%, transparent 50%),
		linear-gradient(180deg, var(--red-deep) 0%, var(--red-main) 100%);
	color: var(--cream);
	position: relative;
	overflow: hidden;
}
.cn-section--promo::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	background: var(--gold-grad);
	box-shadow: 0 0 12px rgba(245, 217, 122, 0.55);
}
.cn-section--promo::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: var(--gold-grad);
	box-shadow: 0 0 12px rgba(245, 217, 122, 0.55);
}
.cn-section--contact {
	background:
		radial-gradient(ellipse at 50% 0%, rgba(245, 217, 122, 0.22) 0%, transparent 50%),
		var(--paper);
	border-top: 2px solid transparent;
	border-image: var(--gold-grad) 1;
}

.cn-section__head {
	text-align: center;
	margin-bottom: 48px;
	position: relative;
}
.cn-section__head h2 { color: var(--ink); }
.cn-section__head--light h2,
.cn-section__head--light .cn-eyebrow,
.cn-section__head--light p { color: var(--cream); }
.cn-section__head--light h2 {
	background: var(--gold-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 8px rgba(184, 134, 42, 0.20));
}
.cn-section__head--light .cn-eyebrow { color: var(--gold-bright); border-color: var(--gold-bright); }
.cn-section__head p {
	color: var(--ink-soft);
	max-width: 620px;
	margin: 6px auto 0;
}
.cn-section__head--light p { color: rgba(255, 245, 225, 0.88); }

.cn-section__cta {
	margin-top: 48px;
	text-align: center;
}

.cn-eyebrow {
	display: inline-block;
	font-family: 'Noto Serif SC', serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 6px;
	color: var(--gold-deep);
	margin-bottom: 12px;
	padding: 6px 14px;
	border-top: 1px solid var(--gold);
	border-bottom: 1px solid var(--gold);
	position: relative;
}
.cn-eyebrow::before,
.cn-eyebrow::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 28px;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--gold) 45%, var(--gold-light) 100%);
}
.cn-eyebrow::before { right: 100%; margin-right: 12px; transform: translateY(-50%) scaleX(-1); }
.cn-eyebrow::after  { left: 100%;  margin-left:  12px; transform: translateY(-50%); }

/* Decorative divider */
.cn-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 220px;
	margin: 14px auto 22px;
	color: var(--gold-light);
}
.cn-divider span {
	flex: 1;
	height: 1px;
	background: linear-gradient(to right, transparent, currentColor, transparent);
}
.cn-divider i { font-size: 12px; opacity: 0.85; }
.cn-divider--inline {
	color: var(--gold-deep);
	width: 180px;
}

/* ---------- Menu cards (preview + full) --------------------------------- */
.cn-menu-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 24px;
}

/* Full menu page: desktop/tablet keep the auto-fill rule from
   .cn-menu-grid above (190px min → 4–5 cols on wide screens).
   Mobile (≤768px) locks to 3 columns. */
.cn-menu-grid--full { gap: 28px; }
@media (max-width: 768px) {
	.cn-menu-grid--full {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
}
@media (max-width: 480px) {
	.cn-menu-grid--full { gap: 8px; }
}

/* Featured-menu container: grid on desktop, Swiper carousel on mobile.
   Desktop locks to 4 columns so the 12-item featured set renders as
   exactly 3 rows; tablets fall back to 3 columns. */
.cn-menu-swiper { width: 100%; position: relative; }
@media (min-width: 769px) {
	.cn-menu-swiper {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
		overflow: visible;
	}
	/* Promote the cards into the parent grid by collapsing the wrapper */
	.cn-menu-swiper > .swiper-wrapper { display: contents !important; }
	.cn-menu-swiper__pagination { display: none; }
}
@media (min-width: 1024px) {
	.cn-menu-swiper {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 768px) {
	.cn-menu-swiper {
		padding: 4px 0 40px;
		overflow: hidden;
		/* Full-bleed: cancel the .cn-container's 24px side padding so the
		   carousel runs edge-to-edge on phones, while the section header
		   and CTA button above/below keep their normal indent. */
		margin-left: -24px;
		margin-right: -24px;
		width: calc(100% + 48px);
	}
	.cn-menu-swiper .swiper-slide {
		height: auto;
		transition: transform .35s ease, opacity .35s ease;
		opacity: 0.5;
		transform: scale(0.92);
	}
	.cn-menu-swiper .swiper-slide-active {
		opacity: 1;
		transform: scale(1);
	}
	.cn-menu-swiper__pagination {
		position: absolute;
		bottom: 8px !important;
		left: 0; right: 0;
		text-align: center;
	}
	.cn-menu-swiper__pagination .swiper-pagination-bullet {
		width: 8px; height: 8px;
		background: var(--gold);
		opacity: 0.45;
		margin: 0 4px !important;
		transition: transform .2s, opacity .2s, box-shadow .2s;
	}
	.cn-menu-swiper__pagination .swiper-pagination-bullet-active {
		background: var(--gold-bright);
		opacity: 1;
		transform: scale(1.3);
		box-shadow: 0 0 8px rgba(245, 217, 122, 0.6);
	}
}

.cn-menu-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--gold-light);
	display: flex;
	flex-direction: column;
	transition: transform .2s, box-shadow .2s;
	position: relative;
}
.cn-menu-card::before {
	/* Top vermilion stripe with brass underline — vintage plaque feel */
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--red-deep), var(--red-main) 35%, var(--red-light) 50%, var(--red-main) 65%, var(--red-deep));
	box-shadow: 0 1px 0 var(--gold-light);
	z-index: 2;
}
.cn-menu-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(58, 10, 14, 0.20), 0 0 0 1px var(--gold);
	border-color: var(--gold);
}
.cn-menu-card__img {
	aspect-ratio: 3 / 4;
	background: linear-gradient(135deg, var(--gold-soft), var(--paper-2));
	overflow: hidden;
	position: relative;
}
.cn-menu-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s;
}
.cn-menu-card:hover .cn-menu-card__img img {
	transform: scale(1.05);
}
.cn-menu-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold-deep);
	font-size: 36px;
	opacity: 0.4;
}
.cn-menu-card__body {
	padding: 16px 16px 18px;
	text-align: center;
}
.cn-menu-card__body h3 {
	font-size: 17px;
	margin: 0 0 6px;
	color: var(--ink);
	line-height: 1.3;
}
.cn-menu-card__alt {
	font-size: 12px;
	color: var(--ink-soft);
	opacity: 0.7;
	margin-top: 4px;
}
.cn-menu-card__price {
	margin-top: 8px;
	font-size: 16px;
	font-weight: 700;
	color: var(--red-deep);
	letter-spacing: 0.3px;
}

/* Tighten the menu card on phones — 3 columns leaves ~110px per card,
   so shrink padding/text so the name and price still fit on one line. */
@media (max-width: 768px) {
	.cn-menu-grid--full .cn-menu-card__body { padding: 10px 8px 12px; }
	.cn-menu-grid--full .cn-menu-card__body h3 { font-size: 14px; margin-bottom: 4px; }
	.cn-menu-grid--full .cn-menu-card__price   { font-size: 14px; margin-top: 4px; }
}
@media (max-width: 480px) {
	.cn-menu-grid--full .cn-menu-card__body { padding: 8px 6px 10px; }
	.cn-menu-grid--full .cn-menu-card__body h3 { font-size: 12px; line-height: 1.25; }
	.cn-menu-grid--full .cn-menu-card__price   { font-size: 12px; }
}

.cn-pill {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--red-main), var(--red-deep));
	color: var(--gold-bright);
	border: 1px solid var(--gold-light);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 6px rgba(122, 14, 18, 0.35);
}

/* ---------- Promotions -------------------------------------------------- */
.cn-promo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 24px;
}
.cn-promo-card {
	display: block;
	width: 100%;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	border: 2px solid var(--gold-light);
	box-shadow:
		0 0 0 1px var(--gold-deep),
		0 0 0 4px rgba(250, 232, 176, 0.22),
		0 10px 26px rgba(0,0,0,0.32);
	transition: transform .2s, box-shadow .2s, border-color .2s;
	padding: 0;
	cursor: zoom-in;
	font: inherit;
	color: inherit;
}
.cn-promo-card:hover {
	transform: translateY(-3px) rotate(-0.5deg);
	border-color: var(--gold-bright);
	box-shadow:
		0 0 0 1px var(--gold-deep),
		0 0 0 5px rgba(250, 232, 176, 0.30),
		0 20px 42px rgba(0,0,0,0.42);
}
.cn-promo-card:focus-visible {
	outline: 3px solid var(--gold-light);
	outline-offset: 2px;
}
.cn-promo-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* SweetAlert2 popup — Chinese paper theme */
.cn-promo-popup {
	border: 2px solid var(--gold) !important;
	box-shadow: 0 0 0 1px var(--red-deep), 0 30px 80px rgba(0, 0, 0, 0.55) !important;
	border-radius: 14px !important;
	overflow: hidden !important;
}
.cn-promo-popup__img {
	max-width: min(90vw, 720px) !important;
	max-height: 82vh !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	display: block !important;
	border-radius: 0 !important;
}
.cn-promo-popup .swal2-close {
	color: var(--red-main) !important;
	font-size: 30px !important;
	top: 6px !important;
	right: 10px !important;
	background: rgba(255, 245, 225, 0.85) !important;
	width: 36px !important;
	height: 36px !important;
	line-height: 30px !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
.cn-promo-popup .swal2-close:hover {
	color: var(--red-deep) !important;
	background: #fff !important;
}

/* Menu detail popup — name + price + category, with optional image. */
.cn-menu-card[data-menu-popup] { cursor: pointer; }
.cn-menu-popup {
	border: 2px solid var(--gold) !important;
	box-shadow: 0 0 0 1px var(--red-deep), 0 30px 80px rgba(0, 0, 0, 0.55) !important;
	border-radius: 14px !important;
	max-width: min(92vw, 460px) !important;
}
.cn-menu-popup .swal2-image {
	max-width: 100% !important;
	max-height: 50vh !important;
	border-radius: 8px !important;
	margin: 12px auto 6px !important;
}
.cn-menu-popup .swal2-title {
	color: var(--ink) !important;
	font-size: 22px !important;
	margin-top: 4px !important;
}
.cn-menu-popup__price {
	font-size: 24px;
	font-weight: 700;
	color: var(--red-deep);
	letter-spacing: 0.4px;
	margin: 6px 0 10px;
}
.cn-menu-popup .swal2-close {
	color: var(--red-main) !important;
	font-size: 28px !important;
}
.cn-menu-popup .swal2-close:hover {
	color: var(--red-deep) !important;
}

/* ---------- Contact ----------------------------------------------------- */
.cn-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	align-items: stretch;
}
@media (max-width: 880px) {
	.cn-contact__grid { grid-template-columns: 1fr; gap: 24px; }
}

.cn-contact__info {
	background: #fff;
	border: 1px solid var(--gold-light);
	border-radius: 12px;
	padding: 36px 36px 32px;
	box-shadow:
		0 0 0 4px rgba(255, 244, 204, 0.6),
		var(--shadow-sm);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}
.cn-contact__info::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--red-deep), var(--red-main) 35%, var(--red-light) 50%, var(--red-main) 65%, var(--red-deep));
	border-radius: 12px 12px 0 0;
	box-shadow: 0 1px 0 var(--gold-light);
}
.cn-contact__row {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px dashed rgba(212, 168, 87, 0.35);
}
.cn-contact__row:first-child { padding-top: 4px; }
.cn-contact__row:last-child  { padding-bottom: 4px; border-bottom: 0; }

.cn-contact__row > i {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--red-main), var(--red-deep));
	color: var(--gold-bright);
	border: 1px solid var(--gold-light);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin-top: 2px;
	box-shadow: 0 3px 10px rgba(122, 14, 18, 0.35);
}
.cn-contact__row > div {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	line-height: 1.55;
}
.cn-contact__label {
	font-weight: 700;
	color: var(--ink);
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin: 0;
}
.cn-contact__phone {
	font-size: 22px;
	font-weight: 700;
	color: var(--red-main);
	letter-spacing: 1px;
}
.cn-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	font-size: 14px;
	color: var(--red-main);
}
.cn-link:hover { color: var(--red-deep); }

.cn-contact__map {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
	min-height: 360px;
	border: 1px solid rgba(212, 168, 87, 0.4);
}

/* ---------- Empty state ------------------------------------------------- */
.cn-empty {
	text-align: center;
	padding: 60px 24px;
	background: #fff;
	border: 1px dashed rgba(212, 168, 87, 0.5);
	border-radius: 12px;
	color: var(--ink-soft);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.cn-empty--light {
	background: rgba(255, 245, 225, 0.07);
	border-color: rgba(232, 196, 106, 0.4);
	color: var(--cream);
}

/* ---------- Footer ------------------------------------------------------ */
.cn-footer {
	background:
		linear-gradient(180deg, #98171c 0%, var(--red-deep) 100%);
	color: var(--cream);
	padding: 34px 0 30px;
	position: relative;
}
.cn-footer::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 3px;
	background: var(--gold-grad);
	box-shadow: 0 0 12px rgba(245, 217, 122, 0.55);
}
.cn-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.cn-footer__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.cn-footer__zh {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--gold);
	color: var(--ink);
	border-radius: 6px;
	font-family: 'Noto Serif SC', serif;
	font-weight: 900;
	font-size: 20px;
}
.cn-footer__logo {
	width: auto;
	height: 44px;
	object-fit: contain;
	border-radius: 8px;
	background: #a30601;
	box-shadow: 0 0 0 1px rgba(232, 196, 106, 0.45);
	flex-shrink: 0;
}
.cn-footer__th {
	font-weight: 700;
	font-size: 16px;
	font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', sans-serif;
}
.cn-footer__sub {
	font-size: 12px;
	letter-spacing: 2px;
	color: var(--gold-soft);
	opacity: 0.7;
}
.cn-footer__copy {
	font-size: 13px;
	opacity: 0.75;
}

/* ---------- Menu page (menu/index.php) ---------------------------------- */
.cn-menu-hero {
	position: relative;
	overflow: hidden;
	padding: 70px 0 50px;
	/* Painted vermillion wall — same recipe as .cn-hero so the menu page
	   feels like a continuation of the home hero. */
	background:
		radial-gradient(ellipse at 30% 20%, #e8332e 0%, transparent 50%),
		radial-gradient(ellipse at 80% 80%, #98171c 0%, transparent 55%),
		linear-gradient(150deg, #c8201f 0%, #a01a1f 100%);
	color: var(--cream);
	text-align: center;
}
/* Paint-stroke + speckle texture overlay (mirrors .cn-hero__bg). The
   pseudo-element keeps the markup unchanged — no extra <div> needed. */
.cn-menu-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		repeating-linear-gradient(95deg,
			rgba(255,255,255,0.025) 0 2px,
			transparent 2px 7px),
		radial-gradient(circle at 18% 22%, rgba(0,0,0,0.10) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 72% 38%, rgba(0,0,0,0.08) 0 1.2px, transparent 2px),
		radial-gradient(circle at 88% 78%, rgba(245,217,122,0.10) 0 1.5px, transparent 2px);
	background-size: auto, 200px 200px, 240px 240px, 280px 280px;
}
/* Lift only the content container above ::before — leave the
   absolutely-positioned lanterns alone so they keep their offsets. */
.cn-menu-hero > .cn-container { position: relative; z-index: 1; }
.cn-menu-hero h1 {
	background: var(--gold-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 2px 10px rgba(184, 134, 42, 0.25));
	margin: 4px 0 8px;
	font-size: clamp(34px, 6vw, 52px);
}
.cn-menu-hero p {
	color: rgba(255, 245, 225, 0.85);
	max-width: 540px;
	margin: 0 auto 26px;
}
.cn-menu-hero .cn-eyebrow {
	color: var(--gold-light);
	border-color: var(--gold-light);
}

/* Category nav */
.cn-cat-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}
.cn-cat-nav a {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	background: rgba(255, 245, 225, 0.08);
	color: var(--gold-bright);
	border: 1px solid var(--gold);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	transition: background .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}
.cn-cat-nav a:hover {
	background: var(--gold-grad);
	color: var(--red-deep);
	border-color: var(--gold-bright);
	transform: translateY(-1px);
}

/* Sticky horizontal-scroll bar that lives between the hero and the
   menu list. The chips themselves keep their style; the bar wraps them
   with a paper background, sticky positioning under the fixed header,
   and a horizontally scrollable strip on narrow screens. */
.cn-cat-nav-bar {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
	border-bottom: 1px solid var(--gold-light);
	box-shadow: 0 2px 10px rgba(58, 10, 14, 0.08);
}
.cn-cat-nav--bar {
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 8px;
	margin: 0;
	padding: 12px 24px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.cn-cat-nav--bar::-webkit-scrollbar { display: none; }
.cn-cat-nav--bar a {
	flex: 0 0 auto;
	background: #fff;
	color: var(--red-deep);
	border-color: var(--gold);
}
.cn-cat-nav--bar a:hover {
	background: var(--gold-grad);
	color: var(--red-deep);
}
.cn-cat-nav--bar a.is-active {
	background: linear-gradient(135deg, var(--red-main), var(--red-deep));
	color: var(--gold-bright);
	border-color: var(--gold-bright);
	box-shadow: 0 2px 8px rgba(122, 14, 18, 0.35);
}
.cn-cat-nav--bar a.is-active:hover {
	background: linear-gradient(135deg, var(--red-deep), var(--red-main));
	color: var(--gold-bright);
}

.cn-menu-page__list {
	padding: 70px 0 90px;
}
.cn-menu-cat {
	margin-bottom: 36px;
	/* Account for fixed header + sticky cat-nav bar so anchor jumps
	   land below both, not behind the sticky chips. */
	scroll-margin-top: calc(var(--header-h) + 64px);
}
.cn-menu-cat:last-child {
	margin-bottom: 0;
}
.cn-menu-cat__head {
	text-align: center;
	margin-bottom: 32px;
}
.cn-menu-cat__head h2 {
	color: var(--ink);
	margin: 4px 0 6px;
}
.cn-menu-cat__count {
	font-size: 13px;
	color: var(--ink-soft);
	opacity: 0.7;
	letter-spacing: 1px;
}

/* ---------- Atmosphere / Gallery --------------------------------------- */
.cn-section--atmosphere {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 75% 0%, rgba(245, 217, 122, 0.32) 0%, transparent 55%),
		radial-gradient(ellipse at 10% 100%, rgba(200, 32, 31, 0.14) 0%, transparent 55%),
		linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	border-image: var(--gold-grad) 1;
}
.cn-section--atmosphere .cn-section__head h2 { color: var(--red-deep); }
.cn-section--atmosphere .cn-lantern { z-index: 1; }
.cn-section--atmosphere .cn-lantern--l1 { top: 50px;  left: 4%; }
.cn-section--atmosphere .cn-lantern--l2 { top: 70px;  right: 5%; }

/* Subtle brass + vermilion dot pattern */
.cn-cloud-pattern {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.55;
	background-image:
		radial-gradient(circle at 12% 18%, rgba(212, 160, 32, 0.18) 0 1.8px, transparent 2.5px),
		radial-gradient(circle at 78% 32%, rgba(200, 32, 31, 0.14) 0 1.6px, transparent 2.5px),
		radial-gradient(circle at 32% 72%, rgba(245, 217, 122, 0.20) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 88% 88%, rgba(200, 32, 31, 0.12) 0 1.6px, transparent 2.5px);
	background-size: 240px 240px, 280px 280px, 200px 200px, 320px 320px;
	animation: cn-drift 32s linear infinite;
}

.cn-gallery {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 22px;
}
.cn-gallery__item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	padding: 0;
	border: 0;
	cursor: zoom-in;
	background: var(--gold-grad);
	border-radius: 6px;
	overflow: hidden;
	box-shadow:
		0 0 0 1px var(--red-deep),
		0 0 0 2px var(--gold-light),
		var(--shadow-sm);
	transition: transform .25s, box-shadow .25s;
	font: inherit;
	color: inherit;
}
.cn-gallery__item::before {
	/* Inner cream/red double-frame, classic Chinese plaque feel */
	content: '';
	position: absolute;
	inset: 6px;
	border: 1px solid rgba(255, 245, 225, 0.55);
	border-radius: 6px;
	pointer-events: none;
	z-index: 3;
	box-shadow: inset 0 0 0 1px rgba(107, 12, 18, 0.25);
}
.cn-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .45s ease;
	position: relative;
	z-index: 1;
}
.cn-gallery__item:hover {
	transform: translateY(-4px) rotate(-0.4deg);
	box-shadow:
		0 0 0 1px var(--red-main),
		0 0 0 2px var(--gold-bright),
		0 18px 40px rgba(200, 32, 31, 0.30),
		0 0 22px rgba(245, 217, 122, 0.25);
}
.cn-gallery__item:hover img { transform: scale(1.06); }
.cn-gallery__item:focus-visible {
	outline: 3px solid var(--gold-light);
	outline-offset: 3px;
}

/* Chinese-style gold corner ornaments — visible on hover */
.cn-gallery__corner {
	position: absolute;
	width: 16px;
	height: 16px;
	border: 2px solid var(--gold-light);
	z-index: 4;
	pointer-events: none;
	opacity: 0;
	transition: opacity .25s ease, transform .25s ease;
}
.cn-gallery__corner--tl { top: 10px;    left: 10px;    border-right: 0; border-bottom: 0; transform: translate(4px, 4px); }
.cn-gallery__corner--tr { top: 10px;    right: 10px;   border-left:  0; border-bottom: 0; transform: translate(-4px, 4px); }
.cn-gallery__corner--bl { bottom: 10px; left: 10px;    border-right: 0; border-top:    0; transform: translate(4px, -4px); }
.cn-gallery__corner--br { bottom: 10px; right: 10px;   border-left:  0; border-top:    0; transform: translate(-4px, -4px); }
.cn-gallery__item:hover .cn-gallery__corner,
.cn-gallery__item:focus-visible .cn-gallery__corner {
	opacity: 1;
	transform: translate(0, 0);
}

@media (max-width: 600px) {
	.cn-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.cn-gallery__item::before { inset: 4px; }
}

/* ---------- Full-bleed atmosphere (GridHorizontal) -------------------- */
.cn-section--full { padding-bottom: 0; }
.cn-section--full .cn-section__head { margin-bottom: 32px; }

.cn-gallery--full {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 1rem;
	z-index: 2;
	min-height: 320px;
}
/* GridHorizontal positions .item absolutely with explicit width/height.
   Override the original aspect-ratio so the JS-driven sizing wins. */
.cn-gallery--full .cn-gallery__item {
	aspect-ratio: auto;
	border-radius: 4px;
	box-shadow:
		0 0 0 1px var(--red-deep),
		0 0 0 2px var(--gold-light),
		0 4px 12px rgba(42, 20, 8, 0.28);
}
.cn-gallery--full .cn-gallery__item::before { inset: 4px; border-radius: 3px; }
.cn-gallery--full .cn-gallery__item img {
	display: block;
	max-width: none;
	max-height: none;
}
/* On narrow screens GridHorizontal stacks vertically — hide corner ornaments
   to keep things tidy. */
@media (max-width: 600px) {
	.cn-gallery--full .cn-gallery__corner { display: none; }
}

/* ---------- Promotion Swiper carousel --------------------------------- */
.cn-promo-swiper {
	position: relative;
	padding: 6px 56px 56px;
	overflow: hidden;
}
.cn-promo-swiper .swiper-wrapper { align-items: stretch; }
.cn-promo-swiper .swiper-slide {
	height: auto;
	display: flex;
}
.cn-promo-swiper .swiper-slide .cn-promo-card {
	width: 100%;
	aspect-ratio: 3 / 4;
}
.cn-promo-swiper__nav {
	width: 44px !important;
	height: 44px !important;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--red-main), var(--red-deep));
	border: 2px solid var(--gold-light);
	color: var(--gold-bright) !important;
	box-shadow:
		0 0 0 1px var(--gold-deep),
		0 5px 16px rgba(0, 0, 0, 0.40);
	top: calc(50% - 28px) !important;
	margin-top: 0 !important;
	transition: background .15s, border-color .15s, transform .15s;
}
.cn-promo-swiper__nav:hover {
	background: linear-gradient(135deg, var(--red-light), var(--red-main));
	border-color: var(--gold-bright);
	transform: scale(1.06);
}
.cn-promo-swiper__nav.swiper-button-disabled {
	opacity: 0.45;
	pointer-events: none;
}
.cn-promo-swiper__nav.swiper-button-prev { left: 4px !important; }
.cn-promo-swiper__nav.swiper-button-next { right: 4px !important; }
.cn-promo-swiper__nav::after {
	font-size: 12px !important;
	font-weight: 900 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.cn-promo-swiper__nav.swiper-button-next svg,
.cn-promo-swiper__nav.swiper-button-prev svg {
	height: 50% !important;
	width: auto !important;
}

.cn-promo-swiper__pagination {
	position: absolute;
	bottom: 18px !important;
	left: 0; right: 0;
}
.cn-promo-swiper__pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: var(--gold);
	opacity: 0.45;
	margin: 0 5px !important;
	transition: transform .2s, opacity .2s, box-shadow .2s;
}
.cn-promo-swiper__pagination .swiper-pagination-bullet-active {
	background: var(--gold-bright);
	opacity: 1;
	transform: scale(1.4);
	box-shadow: 0 0 10px rgba(245, 217, 122, 0.7);
}

@media (max-width: 600px) {
	.cn-promo-swiper { padding: 4px 8px 50px; }
	.cn-promo-swiper__nav { display: none !important; }
}

/* Section anchor offset for header */
section[id] {
	scroll-margin-top: calc(var(--header-h) + 16px);
}
