/* Maison Lumière – trang con: đầu trang, carte, bánh theo yêu cầu, liên hệ, blog, bài, 404. */

/* Đầu trang con: căn giữa, phụ đề Pháp, đường hoa văn */
.cf-page-head { padding: 52px 0 36px; text-align: center; border-bottom: 1px solid var(--cf-line); background:
	radial-gradient(circle at 50% 120%, rgba(201, 164, 92, .14), rgba(201, 164, 92, 0) 60%), var(--ml-ivory); }
.cf-page-head .woocommerce-breadcrumb { margin-bottom: 14px; font-size: 13px; letter-spacing: .03em; }
.cf-page-head .cf-kicker { display: block; margin: 0 0 4px; font: italic 500 20px/1.35 var(--cf-font-head); color: var(--ml-gold-ink); }
.cf-page-head__title { font-size: clamp(36px, 5vw, 58px); margin: 0 auto; max-width: 880px; }
.cf-page-head__title::after { content: ""; display: block; width: 120px; height: 12px; margin: 14px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M0 6h48M72 6h48' stroke='%23C9A45C' stroke-width='1'/%3E%3Cpath d='M60 1l5 5-5 5-5-5z' fill='%23C9A45C'/%3E%3Ccircle cx='51' cy='6' r='1.4' fill='%23C9A45C'/%3E%3Ccircle cx='69' cy='6' r='1.4' fill='%23C9A45C'/%3E%3C/svg%3E") center / contain no-repeat; }
.cf-page-head__lead { margin: 14px auto 0; max-width: 640px; font-size: 16px; }
.cf-main-pad { padding: 48px 0 88px; }

/* Văn bản */
.cf-prose { font-size: 16.5px; line-height: 1.75; margin-inline: auto; }
.cf-prose h2 { font-size: 32px; margin: 1.5em 0 .4em; }
.cf-prose h3 { font-size: 25px; margin: 1.3em 0 .4em; }
.cf-prose a { color: var(--ml-navy); text-decoration-color: var(--ml-gold); }
.cf-prose ul { list-style: none; padding: 0; }
.cf-prose ul li { position: relative; padding-left: 24px; margin-bottom: 6px; }
.cf-prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; background: var(--ml-gold); transform: rotate(45deg); }
.cf-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--ml-gold); font: italic 500 22px/1.5 var(--cf-font-head); }
.cf-prose img { margin: 1.2em 0; }

/* Trang Menu bánh: tab + carte */
.ml-menu__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 2px; margin: 0 auto 36px; max-width: 1000px; }
.ml-menu__tabs button { position: relative; padding: 9px 14px; border: 0; background: transparent; cursor: pointer; font: 500 14.5px/1.4 var(--cf-font-body); color: var(--cf-muted); white-space: nowrap; }
.ml-menu__tabs button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--ml-gold); transform: scaleX(0); transition: transform .2s; }
.ml-menu__tabs button:hover { color: var(--ml-navy); }
.ml-menu__tabs button[aria-selected="true"] { color: var(--ml-navy); font-weight: 600; }
.ml-menu__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.ml-carte--full { max-width: 860px; margin: 0 auto; padding: 56px 64px 44px; }
.ml-carte__brand { text-align: center; font: 600 13px/1.6 var(--cf-font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--ml-navy); margin: 0 0 8px; }
.ml-carte__brand span { color: var(--ml-gold-ink); letter-spacing: .14em; }
.ml-carte__group { padding-top: 34px; }
.ml-carte__group + .ml-carte__group { margin-top: 18px; border-top: 1px solid var(--cf-line); }
.ml-carte__group[hidden] { display: none; }
.ml-carte__head { text-align: center; margin-bottom: 18px; }
.ml-carte__desc { color: var(--cf-muted); font-size: 14.5px; max-width: 560px; margin: 6px auto 0; }
.ml-carte__sizes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ml-carte__sizes li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 10px; background: var(--ml-ivory); border: 1px solid var(--cf-line); font-size: 13px; color: var(--cf-muted); min-width: 0; }
.ml-carte__sizes li span { min-width: 0; }
.ml-carte__sizes .ml-price { color: var(--ml-navy); font-size: 14px; }
.ml-carte__row .ml-badge { align-self: center; }
.ml-carte__foot { margin: 30px 0 0; padding-top: 18px; border-top: 1px solid var(--cf-line); text-align: center; font: italic 500 17px/1.5 var(--cf-font-head); color: var(--ml-gold-ink); }
@media (max-width: 760px) {
	.ml-carte--full { padding: 40px 18px 30px; }
	.ml-carte__sizes { grid-template-columns: minmax(0, 1fr); }
	.ml-menu__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-right: -20px; padding-bottom: 4px; }
	.ml-menu__tabs button { flex-shrink: 0; }
}

/* Bánh theo yêu cầu */
.ml-trio { list-style: none; margin: 0 auto 64px; padding: 0; max-width: 900px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.ml-trio li { display: grid; justify-items: center; gap: 14px; padding: 10px 8px 0; }
.ml-trio .ml-arch { width: 100%; aspect-ratio: 3 / 4; }
.ml-trio li:nth-child(2) { transform: translateY(-18px); }
.ml-bespoke-page__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.ml-prose { max-width: none; }
.ml-prose > p:first-child { font: 500 23px/1.5 var(--cf-font-head); color: var(--ml-navy); }
.ml-prose h2 { padding-bottom: 8px; border-bottom: 1px solid var(--cf-line); }
.ml-prose em { color: var(--cf-muted); font-size: 14px; }
.ml-order-card { padding: 40px 34px 32px; background: var(--ml-paper); border: 1px solid var(--ml-navy); outline: 1px solid var(--ml-gold); outline-offset: -8px; box-shadow: 0 28px 44px -32px rgba(30, 42, 74, .55); }
.ml-order-card .ml-fr { text-align: center; }
.ml-order-card h2 { text-align: center; font-size: 30px; margin: 0; }
.ml-order-card__hint { font-size: 14.5px; color: var(--cf-muted); text-align: center; }
.ml-order-card__or { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; color: var(--ml-gold-ink); font: italic 500 18px/1 var(--cf-font-head); }
.ml-order-card__or::before, .ml-order-card__or::after { content: ""; flex: 1; height: 1px; background: var(--cf-line); }
.ml-order-card__tel { text-align: center; margin: 14px 0 0; font-size: 14.5px; }
.ml-order-card__tel a { font-weight: 700; text-decoration: none; }
.ml-order-card .cf-form .cf-field:last-child .cf-btn { width: 100%; }
@media (max-width: 960px) { .ml-bespoke-page__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
@media (max-width: 600px) {
	.ml-trio { gap: 12px; margin-bottom: 44px; }
	.ml-trio li { padding: 6px 2px 0; gap: 8px; }
	.ml-trio .ml-fr { font-size: 15px; text-align: center; }
	.ml-trio li:nth-child(2) { transform: none; }
	.ml-order-card { padding: 32px 18px 24px; outline-offset: -6px; }
}

/* Form chung */
.cf-form label, .woocommerce form .form-row label { font-weight: 600; font-size: 13.5px; letter-spacing: .02em; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea { border: 1px solid #CFC2A6; border-radius: 0; background: var(--ml-paper); }
input:focus, select:focus, textarea:focus { border-color: var(--ml-navy); box-shadow: 0 0 0 3px rgba(201, 164, 92, .3); }
.cf-notice { border-radius: 0; }

/* Liên hệ */
.cf-contact__cards { gap: 0; border: 1px solid var(--ml-navy); background: var(--ml-paper); margin-bottom: 56px; }
.cf-qcard { border: 0; border-radius: 0; padding: 24px 22px; text-align: center; justify-items: center; }
.cf-qcard + .cf-qcard { border-left: 1px solid var(--cf-line); }
.cf-qcard b { font: 600 22px/1.32 var(--cf-font-head); color: var(--ml-navy); }
.cf-qcard span { font-size: 14px; }
a.cf-qcard:hover b { color: var(--ml-gold-ink); }
.cf-contact__main h2 { font-size: 32px; }
.cf-contact__main h2::before { content: "Écrivez-nous"; display: block; font: italic 500 18px/1.35 var(--cf-font-head); color: var(--ml-gold-ink); }
.cf-map { border-radius: 0; border-color: var(--ml-navy); padding: 8px; background: var(--ml-paper); }
.cf-map iframe { height: 340px; }
.cf-map__fallback { background: transparent; padding: 12px 4px 4px; }
@media (max-width: 900px) {
	.cf-qcard + .cf-qcard { border-left: 0; }
	.cf-qcard:nth-child(even) { border-left: 1px solid var(--cf-line); }
	.cf-qcard:nth-child(n+3) { border-top: 1px solid var(--cf-line); }
}
@media (max-width: 420px) { .cf-qcard { padding: 18px 10px; } .cf-qcard b { font-size: 19px; } }

/* Blog: Góc làm bánh */
.cf-posts { gap: 44px 32px; }
.cf-post-card { display: grid; gap: 16px; align-content: start; }
.cf-post-card__img { display: block; padding: 8px; border: 1px solid var(--cf-line); background: var(--ml-paper); }
.cf-post-card__img img { border-radius: 0; aspect-ratio: 4 / 3; }
.cf-post-card__meta { font: italic 500 17px/1.4 var(--cf-font-head); color: var(--ml-gold-ink); margin: 0 0 2px; }
.cf-post-card__title { font-size: 26px; margin: 0 0 8px; }
.cf-post-card__title a { text-decoration: none; }
.cf-post-card__title a:hover { color: var(--ml-gold-ink); }
.cf-post-card__body p:last-child { color: var(--cf-muted); font-size: 15px; }
.cf-pagination .page-numbers, .woocommerce-pagination .page-numbers { border-radius: 0; }

/* Bài viết */
.single-post .cf-page-head .cf-kicker { font-size: 18px; }
.cf-post-hero { margin: 0 auto 40px; max-width: 960px; padding: 10px; border: 1px solid var(--cf-line); background: var(--ml-paper); }
.cf-post-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.single-post .cf-main-pad > p:last-child { text-align: center; margin-top: 48px; }

/* 404 */
.ml-404 { text-align: center; max-width: 640px; }
.ml-404__cloche { display: block; margin: 0 auto 16px; }
.ml-404 h1 { font-size: clamp(36px, 5vw, 52px); }
.ml-404 > p:not(.ml-fr) { color: var(--cf-muted); }
.ml-404__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
