/*
Theme Name: Cafe – Mộc An Coffee (mẫu Mộc / craft)
Template: cafe
Author: LTV
Version: 0.1.0
Text Domain: cafe-moc-an
Description: Giấy kraft, chữ viết tay Itim, ảnh dán băng keo giấy, con dấu mực, bảng phấn khung gỗ – quán nhỏ cà phê phin.
*/

/* ---------- Biến ---------- */
:root {
	--cf-bg: #E9DCC6;
	--cf-surface: #F5ECDC;
	--cf-ink: #3B2A1E;
	--cf-muted: #6A5442;
	--cf-line: #CDB894;
	--cf-accent: #5E7A4F;
	--cf-on-accent: #ffffff;
	--cf-accent-2: #C8A27A;
	--cf-radius: 6px;
	--cf-font-head: "Itim", "Comic Sans MS", cursive;
	--cf-font-body: "Nunito", system-ui, sans-serif;
	--cf-wrap: 1180px;
	--cf-hh: 64px;
	--an-primary: #4A6340;
	--an-radius: 6px;
	--an-cta: #5E7A4F;
	--moc-green-ink: #4A6340;
	--moc-rust: #9C3D27;
	--moc-card: #F5ECDC;
	--moc-paper-w: #FBF6EC;
	--moc-chalk: #F1E9D6;
	--moc-chalk-y: #F4D9A6;
	--moc-chalk-g: #C9DDB6;
	--moc-board: #2B2F2A;
	--moc-wood: #6B4C33;
	--moc-shadow: 0 12px 22px -14px rgba(59, 42, 30, .6), 0 1px 0 rgba(59, 42, 30, .12);
	--moc-paper: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(rgba(59, 42, 30, .06) 1px, transparent 1.6px) 4px 5px / 13px 13px, repeating-linear-gradient(97deg, rgba(59, 42, 30, .025) 0 1px, transparent 1px 6px), linear-gradient(180deg, #ECE0CB, #E5D6BD);
	--moc-squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11c28-7 58-9 96-4s68 4 98-4' fill='none' stroke='%235E7A4F' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
	--moc-wood-bg: repeating-linear-gradient(178deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 9px), repeating-linear-gradient(181.5deg, rgba(0, 0, 0, .09) 0 1px, transparent 1px 13px), linear-gradient(180deg, #74543A, #5F432D);
}

/* ---------- Nền giấy + chữ ---------- */
body.cf { background: var(--moc-paper), #E9DCC6; background-attachment: scroll; color: var(--cf-ink); font-size: 16.5px; }
h1, h2, h3, h4 { font-weight: 400; font-synthesis: none; line-height: 1.32; letter-spacing: .005em; }
a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
::selection { background: #C9DDB6; color: var(--cf-ink); }
:focus-visible { outline-color: var(--moc-green-ink); }
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 { background: var(--moc-paper-w); border-color: var(--cf-line); }
input:focus, select:focus, textarea:focus { border-color: var(--moc-green-ink); }

.moc-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 400 19px/1.35 var(--cf-font-head); color: var(--moc-green-ink); }
.moc-kicker .moc-doodle { color: var(--moc-green-ink); }
.moc-hl { background: var(--moc-squiggle) no-repeat 0 100% / 100% .3em; padding-bottom: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.moc-title__h { margin: 0 0 12px; font-size: clamp(32px, 4vw, 44px); line-height: 1.32; }
.moc-sec { padding: 72px 0; position: relative; }
.moc-sec__lead { max-width: 620px; color: var(--cf-muted); font-size: 17px; margin: 0 0 30px; }
.moc-sec__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 30px; flex-wrap: wrap; margin-bottom: 28px; }
.moc-more { display: inline-flex; align-items: center; gap: 6px; font: 400 20px var(--cf-font-head); color: var(--moc-green-ink); text-decoration: none; }
.moc-more:hover { text-decoration: underline wavy var(--cf-accent-2); }
.moc-doodle { display: block; }

/* ---------- Nút ---------- */
.cf-btn { border-radius: 6px; font: 700 15.5px/1.2 var(--cf-font-body); }
.cf-btn--primary { background: var(--cf-accent); color: #fff; box-shadow: 0 3px 0 #3E5333; }
.cf-btn--primary:hover { filter: none; background: #557046; color: #fff; transform: translateY(1px); box-shadow: 0 2px 0 #3E5333; }
.cf-btn--line { border: 2px solid var(--cf-ink); color: var(--cf-ink); background: rgba(251, 246, 236, .35); }
.cf-btn--line:hover { background: var(--cf-ink); color: var(--moc-paper-w); }
.moc-btn-zalo { background: #0068FF; color: #fff; box-shadow: 0 3px 0 #0049B3; }
.moc-btn-zalo:hover { color: #fff; transform: translateY(1px); box-shadow: 0 2px 0 #0049B3; }

/* ---------- Băng keo giấy + ảnh dán ---------- */
.moc-tape {
	position: absolute; z-index: 3; top: -13px; left: 50%; width: 104px; max-width: 46%; height: 27px; transform: translateX(-50%) rotate(-4deg); pointer-events: none;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 6px), rgba(232, 219, 186, .82);
	clip-path: polygon(3% 0, 97% 0, 100% 18%, 97.5% 36%, 100% 54%, 97% 72%, 99.5% 88%, 97% 100%, 3% 100%, .5% 84%, 3% 66%, 0 48%, 2.5% 30%, 0 14%);
	mix-blend-mode: multiply;
}
.moc-photo { position: relative; margin: 0; transform: rotate(var(--r, 0deg)); }
.moc-photo__img { display: block; padding: 7px; background: var(--moc-paper-w); box-shadow: var(--moc-shadow); }
.moc-photo__img img { width: 100%; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; }
.moc-photo__ph { display: grid; place-items: center; aspect-ratio: var(--ar, 4 / 3); background: #DCCBAE; color: var(--cf-muted); }
.moc-photo figcaption { margin-top: 10px; text-align: center; font: 400 19px/1.35 var(--cf-font-head); color: var(--cf-ink); }

/* ---------- Header ---------- */
.moc-header { position: relative; z-index: 40; }
.moc-header__top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; padding: 18px 0 14px; }
.moc-burger { display: none; }
.moc-header__note { display: grid; gap: 2px; margin: 0; font-size: 14px; color: var(--cf-muted); justify-self: start; }
.moc-header__note span, .moc-header__note a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.moc-header__note a:hover { color: var(--cf-ink); text-decoration: underline; }
.moc-header__brand { text-align: center; }
.moc-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cf-ink); }
.moc-logo__mark { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid currentColor; border-radius: 50%; color: var(--moc-green-ink); transform: rotate(-6deg); }
.moc-logo .cf-logo__text { font: 400 40px/1.3 var(--cf-font-head); white-space: nowrap; }
.moc-header__sub { display: block; margin-top: -2px; font: 400 15px/1.3 var(--cf-font-head); color: var(--cf-muted); letter-spacing: .06em; }
.moc-header__tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; justify-self: end; }
.moc-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border-radius: 6px; text-decoration: none; font: 400 19px var(--cf-font-head); color: var(--cf-ink); }
.moc-cart:hover { background: rgba(251, 246, 236, .55); }
.moc-cart .cart-count { position: absolute; top: -2px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--moc-rust); color: #fff; font: 800 12px/1 var(--cf-font-body); border: 2px solid var(--cf-bg); }
.moc-stampbtn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; color: var(--moc-green-ink); text-decoration: none; font: 400 20px/1.2 var(--cf-font-head);
	border: 2.5px solid currentColor; border-radius: 6px; outline: 1.2px solid currentColor; outline-offset: 3px; transform: rotate(-3deg); background: rgba(251, 246, 236, .3); transition: transform .2s, background .2s, color .2s;
}
.moc-stampbtn:hover { transform: rotate(0); background: var(--moc-green-ink); color: #fff; }
.moc-header__strip { background: var(--moc-wood-bg); border-top: 3px solid #4F3725; border-bottom: 3px solid #4F3725; box-shadow: 0 6px 14px -8px rgba(59, 42, 30, .6); }
.moc-nav__list { display: flex; justify-content: center; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
.moc-nav__list li { display: flex; align-items: center; }
.moc-nav__list li + li::before { content: "•"; color: var(--cf-accent-2); font-size: 14px; }
.moc-nav__list a { display: block; padding: 11px 20px; color: #F6EEDC; text-decoration: none; font: 400 20px/1.35 var(--cf-font-head); white-space: nowrap; }
.moc-nav__list a:hover, .moc-nav__list .current-menu-item > a, .moc-nav__list .current_page_parent > a, .moc-nav__list .current-menu-ancestor > a { text-decoration: underline wavy var(--cf-accent-2) 1.5px; text-underline-offset: 7px; }
.moc-nav__head, .moc-nav__extra, .moc-nav__close { display: none; }
@media (max-width: 1180px) {
	.moc-nav__list a { padding: 10px 14px; font-size: 19px; }
	.moc-logo .cf-logo__text { font-size: 36px; }
}
@media (max-width: 960px) {
	.moc-header { position: sticky; top: 0; z-index: 60; background: var(--moc-paper), #E9DCC6; box-shadow: 0 2px 0 rgba(59, 42, 30, .14); }
	.moc-header__top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; padding: 6px 0; min-height: var(--cf-hh); }
	.moc-burger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--cf-ink); cursor: pointer; }
	.moc-header__note, .moc-header__sub { display: none; }
	.moc-logo { gap: 8px; }
	.moc-logo__mark { width: 38px; height: 38px; border-width: 1.6px; }
	.moc-logo__mark svg { width: 26px; height: 26px; }
	.moc-logo .cf-logo__text { font-size: 26px; }
	.moc-header__tools { gap: 6px; }
	.moc-cart { padding: 6px 10px; }
	.moc-header__strip { background: none; border: 0; box-shadow: none; }
	.moc-nav {
		position: fixed; z-index: 90; top: 0; left: 0; bottom: 0; width: min(86vw, 340px); padding: 14px 20px 28px; overflow-y: auto; overscroll-behavior: contain;
		background: var(--moc-paper), #F1E6D2; box-shadow: 8px 0 30px -10px rgba(0, 0, 0, .45); transform: translateX(-104%); visibility: hidden; transition: transform .28s ease, visibility .28s;
	}
	.cf-nav-open .moc-nav { transform: none; visibility: visible; }
	.moc-nav__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 2px dashed rgba(59, 42, 30, .3); }
	.moc-nav__brand { display: inline-flex; align-items: center; gap: 8px; font: 400 23px/1.3 var(--cf-font-head); color: var(--moc-green-ink); }
	.moc-nav__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--cf-ink); cursor: pointer; }
	.moc-nav__list { display: block; }
	.moc-nav__list li + li::before { display: none; }
	.moc-nav__list a { padding: 12px 4px; color: var(--cf-ink); font-size: 22px; border-bottom: 1.5px dashed rgba(59, 42, 30, .2); white-space: normal; }
	.moc-nav__list .current-menu-item > a { color: var(--moc-green-ink); }
	.moc-nav__extra { display: grid; gap: 10px; margin-top: 22px; }
	.moc-nav__lines { margin-top: 10px; font-size: 14.5px; color: var(--cf-muted); }
}
@media (max-width: 640px) {
	.moc-stampbtn { display: none; }
	.moc-cart .cf-cart__label { display: none; }
}
@media (max-width: 380px) {
	.moc-logo .cf-logo__text { font-size: 23px; }
	.moc-logo__mark { width: 34px; height: 34px; }
}

/* ---------- Hero ---------- */
.moc-hero { overflow: hidden; padding: 56px 0 64px; }
.moc-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.moc-hero__title { margin: 0 0 18px; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.32; }
.moc-hero__lead { max-width: 500px; font-size: 18px; color: var(--cf-muted); margin: 0 0 26px; }
.moc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.moc-hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--cf-muted); }
.moc-hero__facts li { display: flex; align-items: center; gap: 7px; }
.moc-hero__facts .cf-ic { color: var(--moc-green-ink); }
.moc-hero__art { position: relative; height: 520px; }
.moc-hero__art .moc-photo { position: absolute; }
.moc-photo--a { --r: -3deg; top: 34px; left: 8%; width: 72%; z-index: 1; }
.moc-photo--b { --r: 5deg; --ar: 1 / 1; left: 0; bottom: 0; width: 44%; z-index: 2; }
.moc-photo--c { --r: -6deg; --ar: 4 / 5; right: 0; bottom: 36px; width: 40%; z-index: 2; }
.moc-hero__art .moc-photo figcaption { position: absolute; left: 0; right: 0; bottom: -36px; margin: 0; }
.moc-photo--b figcaption { transform: rotate(-4deg); }
.moc-stamp { position: absolute; z-index: 4; top: -8px; right: 2%; width: 150px; height: 150px; color: var(--moc-green-ink); border-radius: 50%; background: rgba(239, 229, 210, .9); box-shadow: 0 6px 16px -10px rgba(59, 42, 30, .6); }
.moc-stamp__ring { width: 100%; height: 100%; animation: moc-spin 26s linear infinite; }
.moc-stamp__ring text { font: 400 13px var(--cf-font-head); fill: currentColor; letter-spacing: .5px; }
.moc-stamp__in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; transform: rotate(-8deg); }
.moc-stamp__in small { font: 400 15px/1.3 var(--cf-font-head); }
.moc-stamp__in b { font: 400 14.5px/1.3 var(--cf-font-head); white-space: nowrap; }
@keyframes moc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .moc-stamp__ring { animation: none; } }
@media (max-width: 1180px) { .moc-hero__art { height: 450px; } }
@media (max-width: 900px) {
	.moc-hero { padding: 30px 0 48px; }
	.moc-hero__in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.moc-hero__art { height: auto; aspect-ratio: 1 / .9; max-width: 560px; width: 100%; margin: 0 auto; }
	.moc-hero__art .moc-photo figcaption { font-size: 16px; bottom: -30px; }
	.moc-stamp { width: 112px; height: 112px; top: -14px; }
	.moc-stamp__ring text { font-size: 14px; }
	.moc-stamp__in small { font-size: 12px; }
	.moc-stamp__in b { font-size: 13px; }
}

/* ---------- Bảng phấn ---------- */
.moc-board { padding: 14px; border-radius: 8px; background: var(--moc-wood-bg); box-shadow: 0 22px 36px -22px rgba(40, 25, 15, .8), inset 0 0 0 2px rgba(0, 0, 0, .18); }
.moc-board__in {
	position: relative; overflow: hidden; padding: 44px 52px 36px; border-radius: 3px; color: var(--moc-chalk);
	background: radial-gradient(ellipse at 20% 15%, rgba(255, 255, 255, .07), transparent 45%), radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, .05), transparent 40%), radial-gradient(ellipse at 55% 40%, rgba(255, 255, 255, .03), transparent 30%), var(--moc-board);
	box-shadow: inset 0 0 50px rgba(0, 0, 0, .5);
}
.moc-board a { color: inherit; }
.moc-board__head { text-align: center; margin-bottom: 30px; position: relative; z-index: 1; }
.moc-board__kicker { margin: 0; font: 400 20px/1.35 var(--cf-font-head); color: var(--moc-chalk-g); }
.moc-board__title { display: inline-block; margin: 0; padding-bottom: 8px; font-size: clamp(32px, 4vw, 46px); color: var(--moc-chalk); text-shadow: 0 0 1px rgba(255, 255, 255, .35); border-bottom: 2.5px dashed rgba(241, 233, 214, .55); }
.moc-board__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 60px; position: relative; z-index: 1; }
.moc-board__item { min-width: 0; }
.moc-board__row { display: flex; align-items: baseline; gap: 10px; }
.moc-board__name { font: 400 23px/1.32 var(--cf-font-head); text-decoration: none; text-shadow: 0 0 1px rgba(255, 255, 255, .3); min-width: 0; }
.moc-board__name:hover { text-decoration: underline wavy rgba(241, 233, 214, .6) 1.5px; text-underline-offset: 6px; }
.moc-board__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(241, 233, 214, .4); transform: translateY(-5px); }
.moc-board__price { font: 400 20px/1.3 var(--cf-font-head); color: var(--moc-chalk-y); white-space: nowrap; }
.moc-board__note { margin: 4px 0 0; font-size: 14.5px; color: rgba(241, 233, 214, .8); }
.moc-board__badge { display: inline-block; margin-right: 4px; padding: 0 8px; border: 1.5px solid var(--moc-chalk-y); border-radius: 99px; color: var(--moc-chalk-y); font: 400 13.5px/1.5 var(--cf-font-head); transform: rotate(-3deg); }
.moc-board__foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: 34px 0 0; padding-top: 22px; border-top: 2px dashed rgba(241, 233, 214, .25); }
.moc-board__link { display: inline-flex; align-items: center; gap: 8px; font: 400 21px var(--cf-font-head); text-decoration: none; }
.moc-board__link:hover { text-decoration: underline wavy rgba(241, 233, 214, .6); }
.moc-board__hint { font: 400 19px/1.35 var(--cf-font-head); color: var(--moc-chalk-g); }
.moc-board__doodle { position: absolute; color: rgba(241, 233, 214, .2); pointer-events: none; }
.moc-board__doodle--a { top: 22px; right: 28px; transform: rotate(10deg); }
.moc-board__doodle--b { top: 30px; left: 26px; transform: rotate(-20deg); }
@media (max-width: 860px) {
	.moc-board { padding: 9px; }
	.moc-board__in { padding: 30px 20px 26px; }
	.moc-board__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.moc-board__doodle--a { width: 48px; height: 48px; top: 12px; right: 12px; }
	.moc-board__doodle--b { display: none; }
	.moc-board__name { font-size: 21px; }
	.moc-board__price { font-size: 18px; }
}
@media (max-width: 420px) {
	.moc-board__row { flex-wrap: wrap; }
	.moc-board__dots { display: none; }
	.moc-board__price { width: 100%; }
}

/* ---------- Pha phin 4 bước ---------- */
.moc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: none; }
.moc-step { position: relative; text-align: center; min-width: 0; padding: 0 6px; }
.moc-step__ic { position: relative; display: grid; place-items: center; width: 118px; height: 118px; margin: 0 auto 16px; border: 2px dashed rgba(59, 42, 30, .45); border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%; background: rgba(251, 246, 236, .45); color: var(--cf-ink); }
.moc-step__no { position: absolute; top: -4px; left: calc(50% + 30px); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cf-accent); color: #fff; font: 400 21px/1 var(--cf-font-head); transform: rotate(-8deg); box-shadow: 0 2px 0 #3E5333; }
.moc-step h3 { margin: 0 0 6px; font-size: 23px; }
.moc-step p { margin: 0; font-size: 15px; color: var(--cf-muted); }
.moc-step + .moc-step::before {
	content: ""; position: absolute; top: 44px; left: -34px; width: 50px; height: 26px; opacity: .55;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' fill='none' stroke='%233B2A1E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c14-9 31-12 49-7'/%3E%3Cpath d='M45 5c4 3 7 6 9 8.5-3 2.5-7 4-11 5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.moc-steps__more { margin: 34px 0 0; text-align: center; }
@media (max-width: 900px) {
	.moc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
	.moc-step + .moc-step::before { display: none; }
}
@media (max-width: 560px) {
	.moc-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.moc-step { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 16px; text-align: left; padding: 0; }
	.moc-step__ic { grid-row: 1 / 3; width: 88px; height: 88px; margin: 0; }
	.moc-step__ic svg { width: 52px; height: 52px; }
	.moc-step__no { left: 62px; top: -8px; width: 32px; height: 32px; font-size: 18px; }
	.moc-step h3 { font-size: 21px; margin: 0; align-self: end; }
}

/* ---------- Góc quán ---------- */
.moc-space__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 40px; align-items: end; margin-bottom: 40px; }
.moc-space__head .moc-sec__lead { margin: 0 0 14px; }
.moc-space { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding: 0 6px; }
.moc-space .moc-photo { --ar: 4 / 5; }
.moc-photo--s1 { --r: -2.2deg; }
.moc-photo--s2 { --r: 1.6deg; margin-top: 26px; }
.moc-photo--s3 { --r: -1deg; }
.moc-photo--s2 .moc-tape { left: 22%; transform: translateX(-50%) rotate(-28deg); top: -6px; width: 84px; }
.moc-photo--s3 .moc-tape { transform: translateX(-50%) rotate(5deg); }
@media (max-width: 860px) {
	.moc-space__head { grid-template-columns: minmax(0, 1fr); margin-bottom: 28px; }
	.moc-space { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
	.moc-photo--s2 { margin-top: 0; }
	.moc-photo--s3 { grid-column: 1 / -1; width: 72%; justify-self: center; --ar: 4 / 3; }
}
@media (max-width: 480px) {
	.moc-space { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 0 10px; }
	.moc-photo--s3 { width: auto; justify-self: stretch; }
	.moc-space .moc-photo { --ar: 4 / 3; }
}

/* ---------- Vé đặt bàn nhanh (răng cưa chỉ ở hai đầu) ---------- */
.moc-ticket {
	--tk: #F7EFDF; position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); margin: 0 12px; background: var(--tk); border-radius: 2px;
	filter: drop-shadow(0 14px 16px rgba(59, 42, 30, .22));
}
.moc-ticket::before, .moc-ticket::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12px; }
.moc-ticket::before { left: -12px; background: conic-gradient(from 53deg at 0 50%, var(--tk) 74deg, transparent 0) 0 0 / 12px 18px repeat-y; }
.moc-ticket::after { right: -12px; background: conic-gradient(from 233deg at 100% 50%, var(--tk) 74deg, transparent 0) 0 0 / 12px 18px repeat-y; }
.moc-ticket__stub { position: relative; padding: 34px 30px; border-right: 2.5px dashed rgba(59, 42, 30, .3); overflow: hidden; }
.moc-ticket__kicker { display: inline-block; margin: 0 0 14px; padding: 2px 12px; border: 2px solid var(--moc-rust); border-radius: 4px; color: var(--moc-rust); font: 400 17px/1.4 var(--cf-font-head); transform: rotate(-4deg); }
.moc-ticket__title { margin: 0 0 10px; font-size: clamp(26px, 2.6vw, 32px); }
.moc-ticket__stub p:not(.moc-ticket__kicker) { margin: 0; font-size: 15px; color: var(--cf-muted); }
.moc-ticket__no { position: absolute; right: 18px; bottom: 12px; font: 400 28px var(--cf-font-head); color: rgba(59, 42, 30, .14); transform: rotate(-10deg); }
.moc-ticket__form { padding: 28px 30px; min-width: 0; }
.moc-ticket .an-bk { --an-primary: var(--moc-green-ink); --an-radius: 6px; }
.moc-ticket .an-bk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; margin-bottom: 16px; }
.moc-ticket .an-bk-grid > label.an-f-full { grid-column: auto; }
.moc-ticket .an-bk-grid > div.an-f-full, .moc-ticket .an-bk-grid > .an-date-wrap { order: 5; grid-column: 1 / -1; }
.moc-ticket .an-slots { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.moc-ticket .an-slot { flex-shrink: 0; }
.moc-ticket .an-bk > button[type="submit"], .moc-ticket .an-bk .an-step-nav button[type="submit"] { min-width: 200px; }
@media (max-width: 1100px) { .moc-ticket .an-bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
	.moc-ticket { grid-template-columns: minmax(0, 1fr); }
	.moc-ticket__stub { border-right: 0; border-bottom: 2.5px dashed rgba(59, 42, 30, .3); padding: 26px 22px 22px; }
	.moc-ticket__form { padding: 22px; }
}
@media (max-width: 560px) {
	.moc-ticket { margin: 0 10px; }
	.moc-ticket__stub, .moc-ticket__form { padding-left: 16px; padding-right: 16px; }
	.moc-ticket .an-bk-grid { grid-template-columns: minmax(0, 1fr); }
	.moc-ticket .an-bk > button[type="submit"] { width: 100%; min-width: 0; }
}

/* ---------- Form LTV Booking (chung) ---------- */
.an-bk { --an-primary: var(--moc-green-ink); --an-radius: 6px; }
.an-f > span { color: var(--cf-ink); font-weight: 700; }
.an-f input:not([type="radio"]), .an-f select, .an-f textarea, .an-date-btn { background: var(--moc-paper-w); border-color: var(--cf-line); }
.an-slot span { background: var(--moc-paper-w); border-color: var(--cf-line); }
.an-slot.is-full span { background: rgba(205, 184, 148, .25); color: #9A8670; }
.an-bk-ok { background: var(--moc-paper-w); border: 2px dashed var(--cf-accent); }
.an-bk-ok-title { color: var(--moc-green-ink); font-family: var(--cf-font-head); font-weight: 400; }

/* ---------- Thẻ bài (Góc cà phê) ---------- */
.cf-posts { gap: 34px 28px; }
.cf-post-card { position: relative; display: flex; flex-direction: column; padding: 10px 10px 18px; background: var(--moc-card); box-shadow: var(--moc-shadow); border-radius: 2px; transition: transform .2s; }
.cf-post-card:nth-child(3n+1) { transform: rotate(-.8deg); }
.cf-post-card:nth-child(3n+2) { transform: rotate(.6deg); }
.cf-post-card:hover { transform: rotate(0) translateY(-3px); }
.cf-post-card__img { position: relative; display: block; }
.cf-post-card__img img { border-radius: 0; aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.cf-post-card__body { padding: 14px 8px 0; }
.cf-post-card__meta { display: inline-block; margin: 0 0 10px; padding: 0 10px; border: 1.8px solid var(--moc-green-ink); border-radius: 4px; color: var(--moc-green-ink); font: 400 15px/1.6 var(--cf-font-head); transform: rotate(-3deg); }
.cf-post-card__title { margin: 0 0 8px; font-size: 23px; line-height: 1.32; }
.cf-post-card__title a { text-decoration: none; }
.cf-post-card__title a:hover { text-decoration: underline wavy var(--cf-accent-2) 1.5px; }
.cf-post-card__body p:last-child { margin: 0; font-size: 15px; color: var(--cf-muted); }
@media (max-width: 600px) { .cf-post-card:nth-child(n) { transform: none; } }

/* ---------- Thư mời kẹp gỗ (CTA cuối) ---------- */
.moc-invite-sec { padding-top: 40px; padding-bottom: 96px; }
.moc-invite { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; max-width: 1000px; margin: 0 auto; padding: 50px 52px 44px; background: var(--moc-paper-w); box-shadow: var(--moc-shadow); transform: rotate(-.6deg); }
.moc-pin { position: absolute; top: -30px; left: 50%; width: 22px; height: 66px; margin-left: -11px; border-radius: 4px 4px 6px 6px; background: linear-gradient(90deg, #A27B55, #C29A70 45%, #9B744F); box-shadow: 0 4px 6px -2px rgba(59, 42, 30, .5); transform: rotate(4deg); }
.moc-pin::after { content: ""; position: absolute; top: 22px; left: -3px; right: -3px; height: 7px; border-radius: 3px; background: linear-gradient(#B9BDC0, #7E8488); }
.moc-invite__title { margin: 0 0 8px; font-size: clamp(30px, 3.6vw, 42px); }
.moc-invite__text p:last-child { margin: 0; color: var(--cf-muted); }
.moc-invite__cta { display: grid; gap: 10px; }
.moc-invite__doodle { position: absolute; right: 22px; top: 18px; color: var(--moc-rust); opacity: .55; transform: rotate(12deg); }
@media (max-width: 760px) {
	.moc-invite { grid-template-columns: minmax(0, 1fr); padding: 44px 22px 26px; transform: none; }
	.moc-invite__cta .cf-btn { white-space: normal; text-align: center; }
}

/* ---------- Footer ---------- */
.moc-footer { position: relative; margin-top: 30px; padding: 64px 0 20px; background: #3B2A1E; color: #EFE3CC; }
.moc-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 15px; background: #3B2A1E; clip-path: polygon(0 60%, 3% 20%, 6% 70%, 9% 35%, 13% 80%, 17% 30%, 21% 65%, 25% 15%, 29% 70%, 33% 40%, 37% 85%, 41% 25%, 45% 60%, 49% 20%, 53% 75%, 57% 35%, 61% 70%, 65% 10%, 69% 60%, 73% 30%, 77% 80%, 81% 25%, 85% 65%, 89% 20%, 93% 70%, 97% 30%, 100% 55%, 100% 100%, 0 100%); }
.moc-footer a { color: #EFE3CC; }
.moc-footer__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px 40px; }
.moc-footer__brand { position: relative; }
.moc-logo--light { color: #F6EEDC; }
.moc-logo--light .moc-logo__mark { color: var(--cf-accent-2); }
.moc-logo--light .cf-logo__text { font-size: 32px; }
.moc-footer__brand > p { margin: 14px 0 20px; max-width: 320px; font-size: 15px; color: #DCCDB2; }
.moc-since { display: inline-grid; place-content: center; text-align: center; width: 110px; height: 110px; border: 2px dashed var(--cf-accent-2); border-radius: 50%; color: var(--cf-accent-2); transform: rotate(-9deg); outline: 1.5px solid var(--cf-accent-2); outline-offset: 4px; }
.moc-since small { font: 400 14px/1.2 var(--cf-font-head); }
.moc-since b { font: 400 30px/1.15 var(--cf-font-head); }
.moc-footer__h { margin: 0 0 14px; font-size: 23px; color: #F6EEDC; }
.moc-footer__lines { font-size: 15px; gap: 10px; }
.moc-footer__lines .cf-ic { color: var(--cf-accent-2); }
.moc-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.moc-footer__links a { text-decoration: none; }
.moc-footer__links a:hover, .moc-footer__lines a:hover { text-decoration: underline wavy var(--cf-accent-2); }
.moc-footer__social { margin-bottom: 14px; }
.moc-footer__social a { border-color: var(--cf-accent-2); color: #F6EEDC; }
.moc-footer__social a:hover { background: var(--cf-accent-2); color: #3B2A1E; }
.moc-footer__small { font-size: 14.5px; color: #DCCDB2; margin: 0 0 16px; }
.moc-footer__base { margin-top: 44px; padding-top: 16px; border-top: 1.5px dashed rgba(239, 227, 204, .25); font-size: 14px; color: #CDBB9C; }
.moc-footer__base p { margin: 0; }
@media (max-width: 1024px) { .moc-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .moc-footer__grid { grid-template-columns: minmax(0, 1fr); } .moc-footer { padding-bottom: 90px; } }

/* ---------- Nút nổi Zalo / Gọi ---------- */
.cf-fab__btn { border: 3px solid var(--moc-paper-w); box-shadow: 0 8px 18px -8px rgba(40, 25, 15, .7); }
.cf-fab__btn--call { background: var(--cf-accent); }
.cf-fab__btn--zalo { font-family: var(--cf-font-head); font-weight: 400; font-size: 15px; }

/* ---------- Nhãn chung ---------- */
.cf-badge { background: transparent; border: 1.5px solid var(--moc-rust); color: var(--moc-rust); font: 400 13px/1.5 var(--cf-font-head); border-radius: 4px; }
.cf-kicker { margin: 0 0 4px; font: 400 19px/1.35 var(--cf-font-head); color: var(--moc-green-ink); }
