/* Đêm Sài Gòn – trang con: đầu trang, thực đơn, đặt bàn, liên hệ, Góc cà phê, bài, 404. */

/* Đầu trang con */
.cf-page-head { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 60px); text-align: center; border-bottom: 1px solid var(--dsg-gline); background: radial-gradient(ellipse 50% 90% at 50% 0%, rgba(201, 164, 92, .1), transparent 70%); }
.cf-page-head .woocommerce-breadcrumb, .woocommerce .cf-page-head .woocommerce-breadcrumb { margin: 0 0 18px; color: var(--cf-muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.cf-page-head .cf-kicker { margin: 0 0 10px; color: var(--cf-accent); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; }
.cf-page-head__title { margin: 0 auto 14px; max-width: 900px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.25; }
.cf-page-head__lead { margin: 0 auto; max-width: 620px; color: var(--cf-muted); }
.cf-page-head::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 7px; height: 7px; margin-left: -4px; background: var(--cf-bg); border: 1px solid var(--cf-accent); transform: rotate(45deg); }
.cf-main-pad { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 110px); }

/* Nội dung bài / chính sách */
.cf-prose { margin-inline: auto; color: var(--cf-ink); font-weight: 300; line-height: 1.8; }
.cf-prose h2, .cf-prose h3 { margin: 1.6em 0 .6em; line-height: 1.3; }
.cf-prose h2 { font-size: 30px; }
.cf-prose h3 { font-size: 23px; }
.cf-prose a { color: var(--cf-accent); }
.cf-prose blockquote { margin: 1.5em 0; padding: 6px 0 6px 24px; border-left: 1px solid var(--cf-accent); font-family: var(--cf-font-head); font-size: 21px; }
.cf-prose img { max-width: 100%; height: auto; }
.cf-prose hr { border: 0; border-top: 1px solid var(--dsg-gline); }
.cf-prose table { width: 100%; border-collapse: collapse; }
.cf-prose th, .cf-prose td { padding: 10px 12px; border-bottom: 1px solid var(--dsg-gline); text-align: left; }
.cf-post-hero { max-width: 1000px; margin: 0 auto 40px; border: 1px solid var(--dsg-gline); padding: 10px; }
.cf-post-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.cf-main-pad > p:last-child .cf-btn { margin-top: 12px; }
.single .cf-main-pad > p:last-child, .page .cf-main-pad > p:last-child { text-align: center; }

/* ---------- Thực đơn kiểu nhà hàng ---------- */
.dsg-carte__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin: 0 auto clamp(40px, 5vw, 64px); }
.dsg-carte__tabs button { position: relative; padding: 10px 16px; border: 0; background: none; color: var(--cf-muted); font: 500 12.5px/1.4 var(--cf-font-body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.dsg-carte__tabs button::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 1px; background: var(--cf-accent); transform: scaleX(0); transition: transform .25s; }
.dsg-carte__tabs button:hover, .dsg-carte__tabs button[aria-selected="true"] { color: var(--cf-accent); }
.dsg-carte__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.dsg-carte__group { max-width: 1080px; margin: 0 auto clamp(56px, 7vw, 88px); }
.dsg-carte__group[hidden] { display: none; }
.dsg-carte__cat { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; text-align: center; }
.dsg-carte__cat::before, .dsg-carte__cat::after { content: ""; flex: 1 1 60px; max-width: 220px; height: 1px; background: linear-gradient(90deg, transparent, var(--cf-accent)); }
.dsg-carte__cat::after { background: linear-gradient(90deg, var(--cf-accent), transparent); }
.dsg-carte__catnum { color: var(--cf-accent); font-family: var(--cf-font-body); font-size: 12px; letter-spacing: .2em; }
.dsg-carte__catnote { max-width: 560px; margin: 0 auto 30px; color: var(--cf-muted); font-size: 14.5px; text-align: center; font-style: italic; }
.dsg-carte__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin: 28px 0 0; padding: 0; list-style: none; }
.dsg-carte__item { min-width: 0; padding: 16px 0; border-bottom: 1px solid rgba(201, 164, 92, .14); }
.dsg-carte__row { display: flex; align-items: baseline; gap: 6px; }
.dsg-carte__name { min-width: 0; color: var(--cf-ink); text-decoration: none; font: 400 19px/1.4 var(--cf-font-head); }
.dsg-carte__price { flex: none; color: var(--cf-accent); font-weight: 500; font-size: 15px; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.dsg-carte__note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 0; color: var(--cf-muted); font-size: 14px; }
.dsg-carte__foot { max-width: 720px; margin: 0 auto; padding: 40px 24px; text-align: center; border: 1px solid var(--dsg-gline-2); outline: 1px solid var(--dsg-gline); outline-offset: -7px; }
.dsg-carte__foot p:first-child { font-family: var(--cf-font-head); font-size: 21px; }
.dsg-carte__foot p:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
@media (max-width: 760px) {
	.dsg-carte__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 0 20px; }
	.dsg-carte__tabs button { flex-shrink: 0; }
	.dsg-carte__list { grid-template-columns: minmax(0, 1fr); }
	.dsg-carte__row { flex-wrap: wrap; }
	.dsg-carte__row .dsg-dots { min-width: 12px; }
}

/* ---------- Đặt bàn ---------- */
.cf-booking-page { gap: clamp(28px, 5vw, 56px); }
.cf-booking-page__form { min-width: 0; padding: clamp(22px, 4vw, 44px); background: var(--cf-surface); border: 1px solid var(--dsg-gline-2); outline: 1px solid var(--dsg-gline); outline-offset: -7px; }
.cf-booking-page__info { min-width: 0; padding-top: 8px; }
.cf-booking-page__info .cf-contact-lines { gap: 14px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--dsg-gline); }
.cf-contact-lines .cf-ic { color: var(--cf-accent); }
.cf-contact-lines a:hover { color: var(--cf-accent); }
.cf-booking-page__info .cf-prose { font-size: 15.5px; color: var(--cf-muted); }
.cf-booking-fallback { padding: 24px; border: 1px solid var(--dsg-gline-2); }

/* ---------- Liên hệ ---------- */
.cf-contact__cards { gap: 0; border: 1px solid var(--dsg-gline-2); }
.cf-qcard { gap: 6px; padding: 26px 22px; border: 0; border-radius: 0; background: transparent; color: var(--cf-ink); transition: background .2s; }
.cf-qcard + .cf-qcard { border-left: 1px solid var(--dsg-gline); }
a.cf-qcard:hover { background: rgba(201, 164, 92, .06); color: var(--cf-ink); }
.cf-qcard b { color: var(--cf-accent); font: 500 12px/1.5 var(--cf-font-body); letter-spacing: .24em; text-transform: uppercase; }
.cf-qcard span { color: var(--cf-ink); font-family: var(--cf-font-head); font-size: 17px; line-height: 1.45; }
.cf-contact__main h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 20px; }
.cf-form label { color: var(--cf-ink); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.cf-form .cf-btn { width: 100%; }
.cf-map { border-color: var(--dsg-gline-2); border-radius: 0; }
.cf-map iframe { height: 360px; filter: invert(.9) hue-rotate(180deg) grayscale(.35) contrast(.9); }
.cf-map__fallback { background: var(--cf-surface); color: var(--cf-muted); }
.cf-map__fallback .cf-ic { color: var(--cf-accent); }
.cf-map__fallback a { color: var(--cf-accent); }
@media (max-width: 900px) {
	.cf-qcard:nth-child(3) { border-left: 0; }
	.cf-qcard:nth-child(n+3) { border-top: 1px solid var(--dsg-gline); }
}
@media (max-width: 480px) {
	.cf-contact__cards { grid-template-columns: minmax(0, 1fr); }
	.cf-qcard + .cf-qcard { border-left: 0; border-top: 1px solid var(--dsg-gline); }
}

/* ---------- Góc cà phê ---------- */
.cf-posts { gap: clamp(24px, 3vw, 40px); }
.cf-post-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--dsg-gline); padding-bottom: 22px; }
.cf-post-card__img { display: block; position: relative; overflow: hidden; margin-bottom: 18px; }
.cf-post-card__img img { border-radius: 0; filter: saturate(.85) brightness(.85); transition: transform .7s, filter .4s; }
.cf-post-card__img::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201, 164, 92, 0); transition: border-color .3s; }
.cf-post-card:hover .cf-post-card__img img { transform: scale(1.04); filter: none; }
.cf-post-card:hover .cf-post-card__img::after { border-color: var(--dsg-gline-2); }
.cf-post-card__meta { margin: 0 0 8px; color: var(--cf-accent); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.cf-post-card__title { margin: 0 0 10px; font-size: 23px; line-height: 1.35; }
.cf-post-card__title a { color: var(--cf-ink); text-decoration: none; }
.cf-post-card__title a:hover { color: var(--cf-accent); }
.cf-post-card__body p:last-child { margin: 0; color: var(--cf-muted); font-size: 15px; }
.cf-pagination .page-numbers, .woocommerce-pagination .page-numbers { border-color: var(--dsg-gline-2) !important; border-radius: 0; color: var(--cf-ink); }
.cf-pagination .current, .woocommerce-pagination .current { background: var(--cf-accent) !important; color: var(--cf-on-accent) !important; }

/* ---------- 404 ---------- */
.cf-404 { max-width: 640px; text-align: center; padding-top: clamp(64px, 10vw, 120px); }
.cf-404 .cf-kicker { margin: 0; color: transparent; -webkit-text-stroke: 1px var(--cf-accent); font: 400 clamp(110px, 20vw, 200px)/1.15 var(--cf-font-head); }
.cf-404 h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.3; }
.cf-404 p { color: var(--cf-muted); }
.cf-404 p:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
