/* ==========================================================================
   An Bình Cake — giao diện
   Màu: hồng đất + kem
   ========================================================================== */
:root {
	--rose: #b86f6f;
	--rose-dark: #8e4d4f;
	--rose-soft: #f0d6d0;
	--rose-tint: #f8e9e4;
	--cream: #fbf4ea;
	--cream-2: #f3e6d5;
	--paper: #fffdf9;
	--ink: #3d2b2a;
	--muted: #7a6260;
	--line: #ead8cc;
	--zalo: #0068ff;
	--ok: #3b8a5a;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px -12px rgba(110, 60, 55, .28);
	--shadow-sm: 0 4px 14px -6px rgba(110, 60, 55, .22);
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: clip;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-dark); text-decoration: none; }
a:hover { color: var(--rose); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
#dat-banh, #main { scroll-margin-top: 110px; }

.container { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.container--narrow { max-width: 900px; }
.center { text-align: center; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(184, 111, 111, .55); outline-offset: 2px; }

.abc-icon { flex: none; }

/* ---------- Nút ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer;
	transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
	text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--rose); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--rose-dark); color: #fff; }
.btn--outline { border-color: var(--rose); color: var(--rose-dark); background: transparent; }
.btn--outline:hover { background: var(--rose); color: #fff; }
.btn--light { background: var(--cream); color: var(--rose-dark); }
.btn--light:hover { background: #fff; color: var(--rose-dark); }
.btn--zalo { background: var(--zalo); color: #fff; }
.btn--zalo:hover { background: #0052cc; color: #fff; }
.btn--small { padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Thanh trên & header ---------- */
.topbar { background: var(--rose-dark); color: var(--cream); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--cream); }
.topbar .abc-icon { width: 15px; height: 15px; opacity: .85; }
.topbar .topbar__short { display: none; }
.topbar__phones a { color: var(--cream); }
.info-list--big span a { color: var(--muted); }

.site-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(251, 244, 234, .92);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__logo, .brand__logo svg, img.brand__logo { width: 56px; height: 56px; display: block; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-size: 1.35rem; }
.brand__text small { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.brand--light, .brand--light .brand__text small { color: var(--cream); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav li a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; }
.site-nav li a:hover { background: var(--rose-tint); color: var(--rose-dark); }
.site-nav li.is-active > a { background: var(--rose-soft); color: var(--rose-dark); }
.site-nav__cta { padding: 11px 20px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle .abc-icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }

/* ---------- Tiêu đề khu vực ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 48px 0 80px; }
.section--tint { background: var(--paper); border-block: 1px solid var(--line); }
.section--rose { background: var(--rose); color: var(--cream); }
.section--rose .section-title { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-title { text-align: center; }
.section-title--left { text-align: left; }
.section-sub { color: var(--muted); }
.eyebrow {
	display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--rose); margin-bottom: 10px;
}
.eyebrow--light { color: var(--rose-soft); }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(circle at 85% 20%, var(--rose-soft) 0, transparent 42%),
		radial-gradient(circle at 10% 90%, var(--cream-2) 0, transparent 40%),
		var(--cream);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 64px 0 80px; }
.hero h1 { margin-bottom: 18px; }
.hero__sub { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero__facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 32px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--serif); font-size: 1.7rem; color: var(--rose-dark); line-height: 1.1; }
.hero__facts span { font-size: 14px; color: var(--muted); }
.hero__media { position: relative; }
.hero__img {
	width: 100%; aspect-ratio: 1; object-fit: cover;
	border-radius: 48% 52% 46% 54% / 54% 46% 54% 46%;
	box-shadow: var(--shadow);
	border: 10px solid var(--paper);
}
.hero__badge { position: absolute; top: -6px; left: -10px; width: 112px; height: 112px; border-radius: 50%; box-shadow: var(--shadow-sm); background: var(--paper); padding: 5px; transform: rotate(-8deg); }
.hero__badge-logo svg { width: 100%; height: 100%; }
.hero__card {
	position: absolute; right: -8px; bottom: 28px; display: flex; align-items: center; gap: 12px;
	background: var(--paper); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow);
}
.hero__card .abc-icon { color: var(--rose); width: 28px; height: 28px; }
.hero__card strong { display: block; font-size: 15px; }
.hero__card span { font-size: 13px; color: var(--muted); }

/* ---------- Ưu điểm ---------- */
.perks { background: var(--paper); border-block: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; }
.perk { display: flex; align-items: center; gap: 14px; }
.perk .abc-icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--rose-tint); color: var(--rose); }
.perk strong { display: block; font-size: 15.5px; }
.perk span { font-size: 13.5px; color: var(--muted); }

/* ---------- Chip lọc ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px;
	background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 14.5px;
}
.chip small { color: var(--muted); font-size: 12px; }
.chip:hover { border-color: var(--rose); color: var(--rose-dark); }
.chip.is-active { background: var(--rose); border-color: var(--rose); color: #fff; }
.chip.is-active small { color: var(--rose-soft); }

/* ---------- Thẻ bánh ---------- */
.cake-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 36px; }
.cake-card {
	background: var(--paper); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}
.cake-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cake-card__media { position: relative; }
.cake-card__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.cake-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cake-card:hover .cake-card__img img { transform: scale(1.04); }
.cake-card__img--empty { display: grid; place-items: center; color: var(--rose-soft); }
.cake-card__img--empty .abc-icon { width: 64px; height: 64px; }
.cake-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cake-card__cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); }
.cake-card__title { font-size: 1.08rem; margin: 0; }
.cake-card__title a { color: var(--ink); }
.cake-card__title a:hover { color: var(--rose-dark); }
.cake-card__price { margin: 0; color: var(--muted); font-size: 14px; }
.cake-card__price strong { color: var(--rose-dark); font-size: 1.15rem; }
.cake-card .btn { margin-top: auto; align-self: flex-start; }
.badge {
	position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px;
	font-size: 12px; font-weight: 600;
}
.badge--ready { background: rgba(255, 253, 249, .94); color: var(--ok); box-shadow: var(--shadow-sm); }
.badge--ready::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }

.size-pills { list-style: none; margin: 4px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.size-pills li { font-size: 12.5px; padding: 3px 9px; border-radius: 8px; background: var(--rose-tint); color: var(--rose-dark); white-space: nowrap; }
.size-pills li span { font-weight: 600; }
.size-pills--table li { font-size: 13.5px; padding: 4px 10px; }

/* ---------- Bánh có sẵn ---------- */
.ready-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ready-item { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-align: center; }
.ready-item img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--cream); box-shadow: var(--shadow-sm); margin-bottom: 8px; transition: transform .2s ease; }
.ready-item:hover img { transform: rotate(-3deg) scale(1.03); }
.ready-item__name { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.ready-item__price { font-size: 13.5px; color: var(--rose-dark); }

/* ---------- Bảng giá ---------- */
.prices-home { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.prices-home__intro { position: sticky; top: 110px; }
.size-guide { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.size-guide li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 6px; text-align: center; display: flex; flex-direction: column; }
.size-guide strong { font-family: var(--serif); font-size: 1.3rem; color: var(--rose-dark); }
.size-guide span { font-size: 12.5px; color: var(--muted); }
.size-guide--wide { margin-bottom: 36px; }

.price-group { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 8px 22px 12px; margin-bottom: 22px; }
.price-group__title { font-size: 1.2rem; margin: 14px 0 6px; }
.price-group__title a { color: var(--ink); }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.price-table td { padding: 12px 6px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table__name a { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.price-table__name img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.price-table__act { text-align: right; width: 1%; }
.price-table .size-pills { margin: 0; }
.price-table__note { color: var(--muted); font-size: 14px; text-align: center; }

.price-summary { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 8px 10px; }
.price-summary__row { display: grid; grid-template-columns: 60px 1fr auto 20px; align-items: center; gap: 16px; padding: 12px; border-radius: 14px; color: var(--ink); }
.price-summary__row + .price-summary__row { border-top: 1px dashed var(--line); }
.price-summary__row:hover { background: var(--rose-tint); color: var(--ink); }
.price-summary__row img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; }
.price-summary__name strong { display: block; font-size: 1.02rem; }
.price-summary__name small { color: var(--muted); }
.price-summary__price { font-family: var(--serif); font-weight: 700; color: var(--rose-dark); font-size: 1.1rem; white-space: nowrap; }
.price-summary__arrow { color: var(--rose); font-size: 1.6rem; line-height: 1; }

/* ---------- Các bước ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); padding: 26px; }
.steps li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--rose-dark); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.steps strong { display: block; font-size: 1.1rem; margin-bottom: 6px; color: #fff; }
.steps p { margin: 0; color: var(--rose-soft); }

/* ---------- Giới thiệu ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 9 / 8; }
.about__collage img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.about__collage img:first-child { grid-row: 1 / span 2; }
.about__text p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Liên hệ & bản đồ ---------- */
.contact-block { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: stretch; }
.contact-block__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: var(--cream-2); }
.contact-block__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }
.info-list .abc-icon { color: var(--rose); margin-top: 3px; }
.info-list--big { gap: 20px; margin: 22px 0 30px; }
.info-list--big .abc-icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--rose-tint); margin-top: 0; }
.info-list--big strong { display: block; }
.info-list--big span, .info-list--big a { color: var(--muted); }
.zalo-dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--zalo); color: #fff; font-size: 12px; font-weight: 700; flex: none; margin-top: 3px; }

/* ---------- Trang con ---------- */
.page-hero { text-align: center; padding: 64px 0 40px; background: radial-gradient(circle at 50% 0, var(--rose-soft), transparent 60%), var(--cream); }
.page-hero--small { padding: 48px 0 24px; }
.page-hero__sub { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--rose-dark); }

.cta-box {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	background: var(--paper); border: 2px dashed var(--rose-soft); border-radius: var(--radius); padding: 28px 32px; margin-top: 16px;
}
.cta-box h2 { font-size: 1.5rem; margin-bottom: 4px; }
.cta-box p { margin: 0; color: var(--muted); }

/* ---------- Chi tiết bánh ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product__media { position: relative; }
.product__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; cursor: zoom-in; }
.product__lead { font-size: 1.1rem; color: var(--muted); }
.size-picker { margin: 26px 0; }
.size-picker__label { font-weight: 600; margin-bottom: 10px; }
.size-picker__opts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.size-opt input { position: absolute; opacity: 0; }
.size-opt span {
	display: flex; flex-direction: column; align-items: center; min-width: 108px; padding: 12px 16px;
	border: 2px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; transition: all .15s ease;
}
.size-opt strong { font-size: 15px; }
.size-opt em { font-style: normal; color: var(--rose-dark); font-weight: 600; }
.size-opt input:checked + span { border-color: var(--rose); background: var(--rose-tint); box-shadow: var(--shadow-sm); }
.size-opt input:focus-visible + span { outline: 3px solid rgba(184, 111, 111, .5); }
.product__perks { list-style: none; padding: 20px 0; margin: 0 0 20px; border-block: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.product__perks li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.product__perks .abc-icon { color: var(--rose); }

.entry > * + * { margin-top: 1em; }
.entry img { border-radius: var(--radius-sm); }

/* ---------- Form đặt bánh ---------- */
.order-layout { display: grid; grid-template-columns: 1.55fr .85fr; gap: 36px; align-items: start; }
.order-layout__side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--paper); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h2 { font-size: 1.35rem; }
.side-card .btn + .btn { margin-top: 10px; }
.side-card p { color: var(--muted); }

.order-form { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.order-form fieldset { border: 0; margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--line); }
.order-form legend { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.order-form legend span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: #fff; font-family: var(--sans); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field > span { font-weight: 600; font-size: 14px; }
.field small { color: var(--muted); font-size: 12.5px; }
.field input, .field select, .field textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(184, 111, 111, .15); }
.field input[type="file"] { padding: 10px; background: var(--cream); }
.field.is-invalid input { border-color: #c0392b; background: #fff6f5; }
.field-row { display: flex; gap: 14px; align-items: flex-end; }
.field--qty { flex: 0 0 110px; }
.field--total { flex: 0 0 150px; }
.field--total output { display: block; padding: 11px 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--rose-dark); }
.order-form__thumb { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.choice-group { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.choice { flex: 1; min-width: 200px; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; background: #fff; }
.choice small { font-weight: 400; color: var(--muted); }
.choice input:checked + span { border-color: var(--rose); background: var(--rose-tint); }
.choice input:focus-visible + span { outline: 3px solid rgba(184, 111, 111, .5); }
.order-form__small { color: var(--muted); font-size: 13px; text-align: center; margin: 12px 0 0; }
.form-errors { background: #fdecea; border: 1px solid #f3c2bd; color: #8a2b22; border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }

.order-done { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; text-align: center; }
.order-done__icon .abc-icon { width: 64px; height: 64px; color: var(--rose); margin: 0 auto 10px; }
.order-done p { color: var(--muted); }
.order-done__text { text-align: left; white-space: pre-wrap; background: var(--cream); border-radius: 12px; padding: 16px 18px; font-family: var(--sans); font-size: 14.5px; line-height: 1.7; }
.order-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 8px; }
.order-done__hint { color: var(--ok) !important; font-weight: 600; }

/* ---------- Danh sách bài ---------- */
.post-list { display: flex; flex-direction: column; gap: 22px; }
.post-item { display: grid; grid-template-columns: 160px 1fr; gap: 20px; background: var(--paper); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.post-item img { border-radius: 12px; }
.post-item h2 { font-size: 1.3rem; }

/* ---------- Footer ---------- */
.site-footer { background: #3a2827; color: #e9d8cf; padding: 64px 0 0; margin-top: 0; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.site-footer a { color: #f3dcd6; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
.site-footer__brand p { margin-top: 16px; color: #cbb6ad; max-width: 340px; }
.site-footer .info-list .abc-icon { color: var(--rose-soft); }
.footer-menu, .site-footer .menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 18px 0 90px; font-size: 13.5px; color: #a8928a; }

/* ---------- Nút nổi ---------- */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 12px; }
.float-cta__btn {
	width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
	color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35); font-weight: 700; font-size: 14px;
}
.float-cta__btn:hover { color: #fff; transform: scale(1.06); }
.float-cta__btn--zalo { background: var(--zalo); }
.float-cta__btn--call { background: var(--rose); animation: abc-pulse 2.4s infinite; }
.float-cta__btn--call .abc-icon { width: 24px; height: 24px; }
@keyframes abc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(184, 111, 111, .55); }
	70% { box-shadow: 0 0 0 16px rgba(184, 111, 111, 0); }
	100% { box-shadow: 0 0 0 0 rgba(184, 111, 111, 0); }
}

/* ---------- Xem ảnh lớn ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(40, 24, 23, .9); display: grid; place-items: center; padding: 24px; }
.lightbox figure { margin: 0; max-width: min(900px, 100%); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 14px; }
.lightbox figcaption { color: var(--cream); text-align: center; margin-top: 12px; font-family: var(--serif); font-size: 1.2rem; }
.lightbox__close { position: absolute; top: 18px; right: 18px; background: rgba(255, 255, 255, .15); border: 0; border-radius: 50%; width: 46px; height: 46px; color: #fff; cursor: pointer; display: grid; place-items: center; }
body.lb-open { overflow: hidden; }

/* ---------- Phân trang ---------- */
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.page-numbers { padding: 8px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.page-numbers.current { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ==========================================================================
   Màn hình nhỏ
   ========================================================================== */
@media (max-width: 1080px) {
	.cake-grid { grid-template-columns: repeat(3, 1fr); }
	.ready-row { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-header { backdrop-filter: none; background: var(--cream); }
	.site-nav {
		position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--paper);
		flex-direction: column; align-items: stretch; padding: 100px 24px 24px; gap: 18px;
		transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: var(--shadow); z-index: 45;
	}
	.site-nav ul { flex-direction: column; }
	.site-nav li a { padding: 12px 14px; font-size: 1.05rem; }
	.nav-open .site-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle { position: relative; z-index: 46; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open { overflow: hidden; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(40, 24, 23, .4); z-index: 39; }

	.hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 56px; }
	.hero__media { max-width: 460px; margin: 0 auto; width: 100%; order: -1; }
	.hero__text { text-align: center; }
	.hero__sub { margin-inline: auto; }
	.hero .btn-row, .hero__facts { justify-content: center; }
	.perks__grid { grid-template-columns: 1fr 1fr; }
	.prices-home, .about, .contact-block, .product, .order-layout { grid-template-columns: 1fr; gap: 32px; }
	.prices-home__intro, .order-layout__side { position: static; }
	.steps { grid-template-columns: 1fr; }
	.section { padding: 60px 0; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.topbar { font-size: 12.5px; }
	.topbar__inner { flex-wrap: wrap; justify-content: center; gap: 2px 14px; padding: 5px 0; }
	.topbar .topbar__long, .topbar .topbar__ship { display: none; }
	.topbar .topbar__short { display: inline-flex; }
	.chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
	.chips::-webkit-scrollbar { display: none; }
	.chip { white-space: nowrap; }
	.site-header__inner { min-height: 66px; }
	.brand__logo, .brand__logo svg, img.brand__logo { width: 46px; height: 46px; }
	.brand__text strong { font-size: 1.15rem; }
	.cake-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.cake-card__body { padding: 12px 12px 16px; }
	.cake-card__title { font-size: .98rem; }
	.cake-card .size-pills { display: none; }
	.cake-card .btn { width: 100%; padding: 8px 10px; font-size: 13px; }
	.ready-row { grid-template-columns: repeat(2, 1fr); }
	.hero__facts { gap: 18px; }
	.hero__facts strong { font-size: 1.35rem; }
	.hero__badge { width: 84px; height: 84px; }
	.hero__card { right: 0; bottom: 8px; padding: 10px 14px; }
	.perks__grid { grid-template-columns: 1fr; gap: 14px; }
	.size-guide { grid-template-columns: repeat(2, 1fr); }
	.price-group { padding: 6px 14px 10px; }
	.price-summary__row { grid-template-columns: 48px 1fr; gap: 4px 12px; }
	.price-summary__row img { width: 48px; height: 48px; grid-row: span 2; }
	.price-summary__price { font-size: 1rem; }
	.price-summary__arrow { display: none; }
	.price-table thead { display: none; }
	.price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
	.price-table tr:last-child { border-bottom: 0; }
	.price-table td { border: 0; padding: 0; }
	.price-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
	.price-table__act { grid-row: 1; grid-column: 2; }
	.order-form { padding: 22px 18px; }
	.field-row { flex-wrap: wrap; }
	.field-row .field { flex: 1 1 100%; }
	.field-row .field--qty, .field-row .field--total { flex: 1 1 40%; }
	.order-form__thumb { display: none; }
	.cta-box { padding: 22px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.post-item { grid-template-columns: 1fr; }
	.float-cta__btn { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
