/* SEOUL – Popup quán mới khai trương */
body.scnp-open { overflow: hidden; }

.scnp {
	--scn-chili: #c8161d;
	--scn-broth: #6b0f14;
	--scn-gold: #f5b82e;
	--scn-paper: #fff8ee;
	--scn-ink: #2b1b17;
	--scn-muted: #7a625a;
	--scn-line: #ecdcc6;
	--scn-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--scn-fs: 15px;
	--scnp-w: 620px;
	--scnp-h: 88%;
	--scnp-img-h: 150px;

	position: fixed;
	inset: 0;
	z-index: 99995;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: var(--scn-font);
	font-size: var(--scn-fs);
	line-height: 1.5;
	color: var(--scn-ink);
	text-align: left;
}
.scnp *,
.scnp *::before,
.scnp *::after { box-sizing: border-box; }
.scnp h2,
.scnp h3,
.scnp p {
	margin: 0;
	padding: 0;
	font-family: inherit;
	color: inherit;
	text-transform: none;
	letter-spacing: normal;
	text-shadow: none;
}

.scnp .scnp__overlay {
	position: absolute;
	inset: 0;
	background: rgba(30, 6, 8, .62);
	opacity: 0;
	transition: opacity .2s ease;
}
.scnp.is-in .scnp__overlay { opacity: 1; }

.scnp .scnp__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(var(--scnp-w, 620px), 100%);
	max-height: min(var(--scnp-h, 88%), 900px);
	background: var(--scn-paper);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(30, 6, 8, .4);
	transform: translateY(14px) scale(.98);
	opacity: 0;
	transition: transform .22s ease, opacity .22s ease;
}
.scnp.is-in .scnp__panel { transform: none; opacity: 1; }

.scnp .scnp__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 16px 16px 22px;
	background: var(--scn-broth);
	color: #fff;
}
.scnp .scnp__title { font-size: clamp(19px, 2.6vw, 24px); font-weight: 800; line-height: 1.2; color: #fff; }
.scnp .scnp__sub { margin-top: 3px; font-size: 13.5px; color: var(--scn-gold); }
.scnp .scnp__close {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: -4px -4px 0 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
}
.scnp .scnp__close:hover { background: rgba(255, 255, 255, .22); }
.scnp .scnp__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.scnp .scnp__list {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	-webkit-overflow-scrolling: touch;
}

.scnp .scnp-card {
	display: flex;
	gap: 14px;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--scn-line);
	border-left: 4px solid var(--scn-chili);
	border-radius: 14px;
}
.scnp .scnp-card__img {
	flex: none;
	width: 116px;
	height: 116px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--scn-line);
}
.scnp .scnp-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.scnp .scnp-card__body { flex: 1; min-width: 0; }
.scnp .scnp-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.scnp .scnp-card__name { font-size: 17px; font-weight: 800; line-height: 1.25; color: var(--scn-broth); }
.scnp .scnp-no {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--scn-line);
	color: var(--scn-muted);
	font-size: 12px;
	font-weight: 700;
}
.scnp .scnp-card__addr { margin-top: 4px; font-size: 14px; color: var(--scn-ink); opacity: .85; }

.scnp .scnp-badge {
	display: inline-block;
	margin-top: 6px;
	padding: 3px 11px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.4;
}
.scnp .scnp-badge--soon { background: var(--scn-gold); color: var(--scn-broth); }
.scnp .scnp-badge--today { background: var(--scn-chili); color: #fff; }
.scnp .scnp-badge--new { color: var(--scn-chili); box-shadow: inset 0 0 0 1.5px var(--scn-chili); }

.scnp .scnp-promo {
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #fff4d6;
	border: 1px dashed #e7b64a;
}
.scnp .scnp-promo__title { display: block; font-size: 13px; font-weight: 800; color: var(--scn-chili); }
.scnp .scnp-promo__line { margin-top: 3px; font-size: 14px; }
.scnp .scnp-promo__time { margin-top: 5px; font-size: 13px; font-weight: 700; color: var(--scn-broth); }
.scnp .scnp-promo__apply { margin-top: 2px; font-size: 12px; color: var(--scn-muted); }

.scnp .scnp-acts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.scnp .scnp-btn {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}
.scnp a.scnp-btn--primary, .scnp .scnp-btn--primary { background: var(--scn-chili); color: #fff; }
.scnp .scnp-btn--primary:hover { background: var(--scn-broth); color: #fff; }
.scnp a.scnp-btn--ghost, .scnp .scnp-btn--ghost { background: #fff; color: var(--scn-broth); border-color: var(--scn-line); }
.scnp .scnp-btn--ghost:hover { border-color: var(--scn-broth); color: var(--scn-broth); }
.scnp a.scnp-btn--text, .scnp .scnp-btn--text { background: transparent; color: var(--scn-broth); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.scnp .scnp-btn--text:hover { color: var(--scn-chili); }

.scnp .scnp__foot {
	padding: 10px 20px 14px;
	border-top: 1px solid var(--scn-line);
	background: var(--scn-paper);
}

.scnp a:focus-visible,
.scnp button:focus-visible { outline: 3px solid var(--scn-gold); outline-offset: 2px; }

/* ---------- Điện thoại: dạng tấm trượt từ đáy ---------- */
@media (max-width: 599px) {
	.scnp { padding: 0; align-items: flex-end; }
	.scnp .scnp__panel {
		width: 100%;
		max-height: var(--scnp-h, 88%);
		border-radius: 20px 20px 0 0;
		transform: translateY(100%);
	}
	.scnp.is-in .scnp__panel { transform: none; }
	.scnp .scnp__head { padding: 16px 12px 14px 18px; }
	.scnp .scnp__list { padding: 14px 12px; gap: 12px; }
	.scnp .scnp-card { flex-direction: column; gap: 10px; padding: 12px; }
	.scnp .scnp-card__img { width: 100%; height: var(--scnp-img-h, 150px); }
	.scnp--img-small .scnp-card { flex-direction: row; }
	.scnp--img-small .scnp-card__img { width: 84px; height: 84px; }
	.scnp .scnp-btn { flex: 1 1 auto; justify-content: center; min-height: 40px; padding: 8px 12px; font-size: 13.5px; }
	.scnp .scnp__foot { padding-bottom: max(14px, env(safe-area-inset-bottom)); text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.scnp .scnp__panel,
.scnp .scnp__overlay { transition: none; }
}
