/*
Theme Name: Tiệm bánh – Bột & Bơ
Template: cafe
Description: Mẫu giao diện "Bánh bento tối giản" cho web mẫu ngành Tiệm bánh – bánh kem (theme con của khung ăn uống "cafe"). Trắng, be xám, mực và một điểm nhấn đỏ dâu; xem trước chữ trên bánh, hộp bento chia ngăn, mã No. cho từng bánh.
Author: LTV
Version: 1.0.0
Text Domain: tiembanh-bento
*/

/* ===== Biến ===== */
:root {
	--bb-white: #FFFFFF;
	--bb-beige: #E9E4DC;
	--bb-paper: #F5F2ED;
	--bb-ink: #222222;
	--bb-muted: #5F5A54;
	--bb-line: #DCD6CC;
	--bb-accent: #B8323F;      /* đỏ dâu – điểm nhấn duy nhất */
	--bb-accent-dk: #962632;
	--cf-bg: var(--bb-white);
	--cf-surface: var(--bb-paper);
	--cf-ink: var(--bb-ink);
	--cf-muted: var(--bb-muted);
	--cf-line: var(--bb-line);
	--cf-accent: var(--bb-ink);
	--cf-on-accent: #FFFFFF;
	--cf-accent-2: var(--bb-beige);
	--cf-radius: 4px;
	--cf-font-head: "Josefin Sans", "Be Vietnam Pro", system-ui, sans-serif;
	--cf-font-body: "Be Vietnam Pro", system-ui, sans-serif;
	--cf-wrap: 1180px;
	--cf-hh: 110px;
	--an-primary: #222222;   /* màu chính của LTV Commerce (bước, tổng tiền, thanh toán) */
	--an-cta: #222222;
	--an-heart: #B8323F;
}
@media (max-width: 960px) { :root { --cf-hh: 60px; } }

body { font-size: 15.5px; line-height: 1.7; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.38; letter-spacing: .01em; }
::selection { background: var(--bb-beige); color: var(--bb-ink); }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--bb-accent); outline-offset: 3px; }

/* ===== Chi tiết nhỏ dùng chung ===== */
.bb-code { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 600 12.5px/1.5 var(--cf-font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--bb-muted); }
.bb-code::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bb-accent); flex-shrink: 0; }
.bb-no { display: inline-block; font: 600 12.5px/1.5 var(--cf-font-head); letter-spacing: .08em; color: var(--bb-ink); white-space: nowrap; }
.bb-flag { display: inline-block; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--bb-accent); }
.bb-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.bb-link:hover { color: var(--bb-accent); }
.bb-ph { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: var(--bb-beige); }

.bb-head__t { margin: 0 0 10px; font-weight: 300; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.35; }
.bb-head__lead { max-width: 560px; margin: 0; color: var(--bb-muted); }
.bb-head--center { text-align: center; margin-bottom: 34px; }
.bb-head--center .bb-code { justify-content: center; }
.bb-head--center .bb-head__lead { margin-inline: auto; }
.bb-head--row .bb-head__t { margin: 0; }

/* Nút */
.bb-btn { min-height: 48px; padding: 12px 22px; border-radius: 2px; border-width: 1px; font: 600 13.5px/1.3 var(--cf-font-body); letter-spacing: .06em; text-transform: uppercase; }
.bb-btn--ink { background: var(--bb-ink); color: #fff; border-color: var(--bb-ink); }
.bb-btn--ink:hover { background: var(--bb-accent); border-color: var(--bb-accent); color: #fff; }
.bb-btn--accent { background: var(--bb-accent); color: #fff; border-color: var(--bb-accent); }
.bb-btn--accent:hover { background: var(--bb-accent-dk); border-color: var(--bb-accent-dk); color: #fff; }
.bb-btn--line { background: transparent; color: var(--bb-ink); border-color: var(--bb-ink); }
.bb-btn--line:hover { background: var(--bb-ink); color: #fff; }
.bb-btn--zalo { background: #0068FF; color: #fff; border-color: #0068FF; }
.bb-btn--zalo:hover { background: #0052cc; color: #fff; }

/* ===== Logo: mặt bánh tròn + quả dâu ===== */
.bb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bb-ink); }
.bb-logo .cf-logo__text { font: 600 21px/1.4 var(--cf-font-head); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; padding-top: 3px; }
.bb-mark { position: relative; display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: var(--bb-beige); box-shadow: inset 0 0 0 1.5px var(--bb-ink); flex-shrink: 0; }
.bb-mark::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dotted var(--bb-ink); }
.bb-mark i { position: absolute; top: 7px; left: 9px; width: 7px; height: 8px; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; background: var(--bb-accent); }
.bb-ph .bb-mark { width: 40px; height: 40px; }
.bb-ph .bb-mark i { top: 12px; left: 15px; width: 11px; height: 13px; }
.bb-ph .bb-mark::before { inset: 7px; }

/* ===== Header mảnh căn giữa ===== */
.bb-header { position: sticky; top: 0; z-index: 40; background: var(--bb-white); border-bottom: 1px solid var(--bb-line); }
.admin-bar .bb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bb-header { top: 0; } }
.bb-header__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; height: 64px; }
.bb-header__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bb-header__hours { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12.5px; color: var(--bb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-header__hours span { overflow: hidden; text-overflow: ellipsis; }
.bb-header__tools { justify-self: end; display: flex; align-items: center; gap: 4px; }
.bb-tool { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--bb-ink); text-decoration: none; }
.bb-tool:hover { background: var(--bb-paper); }
.bb-cart .cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--bb-accent); color: #fff; font: 700 11px/18px var(--cf-font-body); text-align: center; }
.bb-burger { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.bb-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--bb-ink); }
.bb-burger span:first-child { top: 16px; }
.bb-burger span:last-child { top: 25px; right: 16px; }

.bb-nav { border-top: 1px solid var(--bb-line); }
.bb-nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 38px; }
.bb-nav__list a { display: block; padding: 11px 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--bb-ink); border-bottom: 1.5px solid transparent; line-height: 1.6; white-space: nowrap; }
.bb-nav__list a:hover { color: var(--bb-accent); }
.bb-nav__list .current-menu-item > a, .bb-nav__list .current_page_item > a, .bb-nav__list .current-menu-ancestor > a { border-bottom-color: var(--bb-accent); }
.bb-nav__head, .bb-nav__extra { display: none; }

@media (max-width: 1180px) { .bb-nav__list { gap: 28px; } }
@media (max-width: 1100px) { .bb-header__hours span { max-width: 210px; } }
@media (max-width: 960px) {
	.bb-header__in { height: 60px; gap: 8px; }
	.bb-header__hours { display: none; }
	.bb-burger { display: block; margin-left: -10px; }
	.bb-logo .cf-logo__text { font-size: 18px; letter-spacing: .16em; }
	.bb-logo { gap: 8px; }
	.bb-nav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(86vw, 360px); display: flex; flex-direction: column; padding: 16px 22px 26px; background: var(--bb-white); border-top: 0; border-right: 1px solid var(--bb-line); overflow-y: auto; transform: translateX(-102%); transition: transform .28s ease; visibility: hidden; }
	.cf-nav-open .bb-nav { transform: none; visibility: visible; }
	.bb-nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--bb-line); }
	.bb-nav__brand { font: 600 16px/1.4 var(--cf-font-head); letter-spacing: .2em; text-transform: uppercase; }
	.bb-nav__close { display: grid; place-items: center; width: 42px; height: 42px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
	.bb-nav__list { flex-direction: column; gap: 0; }
	.bb-nav__list a { padding: 13px 0; font: 400 22px/1.4 var(--cf-font-head); letter-spacing: .02em; text-transform: none; border-bottom: 1px solid var(--bb-line); }
	.bb-nav__list .current-menu-item > a, .bb-nav__list .current_page_item > a { color: var(--bb-accent); border-bottom-color: var(--bb-line); }
	.bb-nav__extra { display: grid; gap: 10px; margin-top: 22px; }
	.bb-nav__lines { margin-top: 12px; font-size: 14px; color: var(--bb-muted); }
}
@media (max-width: 380px) { .bb-logo .cf-logo__text { font-size: 16px; letter-spacing: .12em; } .bb-tool--user { display: none; } }

/* ===== Khung khối ===== */
.bb-sec { padding: 88px 0; }
.bb-sec__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
@media (max-width: 760px) { .bb-sec { padding: 60px 0; } .bb-sec__top { flex-wrap: wrap; align-items: flex-start; } }

/* ===== 1. Xem trước chữ trên bánh ===== */
.bb-studio { padding: 56px 0 72px; border-bottom: 1px solid var(--bb-line); }
.bb-studio__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.bb-studio__t { margin: 0 0 18px; font-weight: 300; font-size: clamp(38px, 5vw, 64px); line-height: 1.3; letter-spacing: -.005em; }
.bb-studio__lead { max-width: 470px; margin: 0 0 30px; color: var(--bb-muted); font-size: 16px; }
.bb-writer { max-width: 500px; }
.bb-writer__label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bb-writer__label small { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--bb-muted); }
.bb-writer__field { position: relative; }
.bb-writer__field input { min-height: 60px; padding: 14px 64px 10px 0; border: 0; border-bottom: 1.5px solid var(--bb-ink); border-radius: 0; background: transparent; font: italic 600 24px/1.45 var(--cf-font-head); }
.bb-writer__field input:focus { border-bottom-color: var(--bb-accent); }
.bb-writer__field input::placeholder { color: #8d877f; font-weight: 400; }
.bb-writer__count { position: absolute; right: 0; bottom: 14px; font: 600 12.5px/1 var(--cf-font-head); letter-spacing: .06em; color: var(--bb-muted); }
.bb-writer__flavors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; padding: 0; border: 0; }
.bb-writer__flavors legend { float: left; margin-right: 6px; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bb-flavor { position: relative; font-weight: 500; }
.bb-flavor input { position: absolute; opacity: 0; pointer-events: none; }
.bb-flavor span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--bb-line); border-radius: 99px; font-size: 14px; cursor: pointer; transition: border-color .15s; }
.bb-flavor span:hover { border-color: var(--bb-ink); }
.bb-flavor i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.bb-flavor--dau i { background: #F7EDE4; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), inset 0 0 0 4px #F7EDE4, inset 0 0 0 8px var(--bb-accent); }
.bb-flavor--soco i { background: #5A3B2E; }
.bb-flavor--matcha i { background: #B9C49A; }
.bb-flavor input:checked + span { border-color: var(--bb-ink); background: var(--bb-ink); color: #fff; }
.bb-flavor input:focus-visible + span { outline: 2px solid var(--bb-accent); outline-offset: 2px; }
.bb-writer__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.bb-writer__hint { margin: 14px 0 0; font-size: 13.5px; color: var(--bb-muted); }

.bb-studio__stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 7%; background: var(--bb-beige); }
.bb-studio__tag { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; max-width: 78%; margin: 0; padding: 12px 18px; background: var(--bb-white); font-size: 14px; font-weight: 600; }
.bb-studio__price { font-weight: 400; color: var(--bb-muted); }
.bb-studio__note { position: absolute; right: 14px; top: 12px; margin: 0; font-size: 12px; color: var(--bb-muted); }

/* Mặt bánh vẽ bằng CSS */
.bb-cake { --cream: #F7EDE4; --pipe: #FFFFFF; --ink: #B8323F; --berry: #C73446; --fs: 34px; width: 100%; max-width: 480px; aspect-ratio: 1; display: grid; place-items: center; }
.bb-cake__top { position: relative; width: 92%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, .5), transparent 55%), var(--cream); box-shadow: 0 0 0 10px rgba(255, 255, 255, .55), 0 0 0 11px rgba(34, 34, 34, .08), 0 40px 50px -30px rgba(34, 34, 34, .45), inset 0 -14px 30px rgba(0, 0, 0, .07); transition: background-color .3s; }
.bb-cake__top::before { content: ""; position: absolute; inset: 3.5%; border-radius: 50%; border: 11px dotted var(--pipe); filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .14)); }
.bb-cake__top::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1.5px dashed var(--pipe); opacity: .8; }
.bb-cake__berries i { position: absolute; z-index: 1; width: 9%; height: 10.5%; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .45) 0 8%, transparent 9%), radial-gradient(circle at 65% 55%, rgba(255, 230, 160, .5) 0 4%, transparent 5%), var(--berry); box-shadow: 0 3px 4px -1px rgba(0, 0, 0, .25); }
.bb-cake__berries i::before { content: ""; position: absolute; left: 22%; right: 22%; top: -14%; height: 26%; border-radius: 50% 50% 0 0; background: #5D7A3A; }
.bb-cake__berries i:nth-child(1) { left: 21%; top: 30%; --r: -55deg; }
.bb-cake__berries i:nth-child(2) { left: 33.5%; top: 19.5%; --r: -28deg; }
.bb-cake__berries i:nth-child(3) { left: 50%; top: 15.5%; }
.bb-cake__berries i:nth-child(4) { left: 66.5%; top: 19.5%; --r: 28deg; }
.bb-cake__berries i:nth-child(5) { left: 79%; top: 30%; --r: 55deg; }
.bb-cake__text { position: relative; z-index: 2; width: 64%; margin: 9% 0 0; text-align: center; font: italic 600 var(--fs)/1.38 var(--cf-font-head); color: var(--ink); overflow-wrap: anywhere; text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 2px 2px rgba(0, 0, 0, .16); letter-spacing: .01em; min-height: 1.38em; }
.bb-cake__text:empty::before { content: "…"; opacity: .4; }
.bb-cake--soco { --cream: #5A3B2E; --pipe: #F3E2CF; --ink: #FBF1E4; }
.bb-cake--soco .bb-cake__text { text-shadow: 0 2px 2px rgba(0, 0, 0, .35); }
.bb-cake--soco .bb-cake__top { background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, .14), transparent 55%), var(--cream); }
.bb-cake--matcha { --cream: #CFD7B4; --pipe: #FFFFFF; --ink: #3F4A22; --berry: #7B2B30; }
.bb-cake--matcha .bb-cake__berries i { width: 6.5%; height: 6.5%; border-radius: 50%; }
.bb-cake--matcha .bb-cake__berries i::before { display: none; }
.bb-cake--small { max-width: 300px; --fs: 44px; }

@media (max-width: 960px) {
	.bb-studio { padding: 34px 0 52px; }
	.bb-studio__in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.bb-studio__stage { order: -1; max-width: 560px; width: 100%; margin-inline: auto; }
	.bb-studio__text { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
	.bb-studio__stage { padding: 9% 5% 15%; aspect-ratio: auto; }
	.bb-cake__top::before { border-width: 7px; }
	.bb-studio__tag { font-size: 13px; padding: 8px 12px; max-width: 92%; }
	.bb-studio__note { display: none; }
	.bb-writer__field input { font-size: 21px; }
	.bb-writer__flavors legend { float: none; width: 100%; margin-bottom: 2px; }
	.bb-writer__go .bb-btn { width: 100%; }
}

/* ===== 2. Bánh nổi bật ===== */
.bb-sig__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.bb-sig__item { min-width: 0; }
.bb-sig__img { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bb-beige); }
.bb-sig__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bb-sig__item:hover .bb-sig__img img { transform: scale(1.04); }
.bb-sig__meta { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 4px; padding-top: 10px; border-top: 1px solid var(--bb-ink); }
.bb-sig__name { margin: 0 0 4px; font-size: 20px; line-height: 1.4; }
.bb-sig__name a { text-decoration: none; }
.bb-sig__name a:hover { color: var(--bb-accent); }
.bb-sig__price { margin: 0; font-weight: 600; font-size: 14.5px; }
.bb-sig__price span { font-weight: 400; color: var(--bb-muted); }
@media (max-width: 960px) { .bb-sig__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .bb-sig__list { gap: 24px 12px; } .bb-sig__name { font-size: 17px; } .bb-sig__price span { display: block; font-size: 13px; } }

/* ===== 3. Hộp bento chia ngăn ===== */
.bb-bento-sec { background: var(--bb-paper); }
.bb-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 10px; background: var(--bb-beige); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--bb-line); }
.bb-bento__cell { position: relative; display: block; min-width: 0; overflow: hidden; border-radius: 9px; background: var(--bb-white); text-decoration: none; color: var(--bb-ink); }
.bb-bento__cell--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.bb-bento__img { display: block; aspect-ratio: 1; height: 100%; }
.bb-bento__img img, .bb-bento__img .bb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bb-bento__cell:hover .bb-bento__img img { transform: scale(1.04); }
.bb-bento__label { position: absolute; left: 10px; bottom: 10px; right: 10px; display: grid; gap: 0; width: fit-content; max-width: calc(100% - 20px); padding: 10px 14px 9px; background: var(--bb-white); border-radius: 6px; }
.bb-bento__label b { font: 400 19px/1.38 var(--cf-font-head); }
.bb-bento__label em { font-style: normal; font-size: 13.5px; line-height: 1.5; color: var(--bb-muted); max-width: 380px; margin-top: 2px; }
.bb-bento__label small { font-size: 12.5px; color: var(--bb-muted); }
.bb-bento__cell--1 .bb-bento__label { left: 16px; bottom: 16px; padding: 16px 20px 14px; }
.bb-bento__cell--1 .bb-bento__label b { font-size: 28px; }
.bb-bento__cell:hover .bb-bento__label b { color: var(--bb-accent); }
.bb-bento__extra { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 16px 4px; border-bottom: 1px solid var(--bb-ink); text-decoration: none; }
.bb-bento__extra b { font: 400 20px/1.4 var(--cf-font-head); white-space: nowrap; }
.bb-bento__extra span:not(.bb-no) { flex: 1; min-width: 0; font-size: 14px; color: var(--bb-muted); }
.bb-bento__extra:hover b { color: var(--bb-accent); }
@media (max-width: 760px) {
	.bb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; border-radius: 12px; }
	.bb-bento__cell--1 { grid-column: 1 / -1; grid-row: auto; }
	.bb-bento__label { left: 6px; bottom: 6px; right: 6px; max-width: calc(100% - 12px); padding: 7px 10px; }
	.bb-bento__label b { font-size: 16px; }
	.bb-bento__cell--1 .bb-bento__label { left: 10px; bottom: 10px; padding: 12px 14px; }
	.bb-bento__cell--1 .bb-bento__label b { font-size: 22px; }
	.bb-bento__label em { display: none; }
	.bb-bento__extra { flex-wrap: wrap; }
	.bb-bento__extra span:not(.bb-no) { flex-basis: 100%; order: 3; }
}

/* ===== 4. Phiếu đặt bánh ===== */
.bb-how__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.bb-how__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.bb-ticket { position: relative; padding: 28px 30px 24px; background: var(--bb-white); border: 1px solid var(--bb-ink); box-shadow: 12px 12px 0 var(--bb-beige); }
.bb-ticket::before, .bb-ticket::after { content: ""; position: absolute; top: 74px; width: 18px; height: 18px; border-radius: 50%; background: var(--bb-white); border: 1px solid var(--bb-ink); }
.bb-ticket::before { left: -10px; clip-path: inset(0 0 0 50%); }
.bb-ticket::after { right: -10px; clip-path: inset(0 50% 0 0); }
.bb-ticket__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px dashed var(--bb-ink); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-muted); }
.bb-ticket__brand { font: 600 17px/1.4 var(--cf-font-head); letter-spacing: .18em; color: var(--bb-ink); }
.bb-ticket__rows { margin: 0; }
.bb-ticket__rows > div { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--bb-line); }
.bb-ticket__rows dt { display: flex; align-items: center; gap: 10px; font: 400 19px/1.4 var(--cf-font-head); white-space: nowrap; }
.bb-ticket__rows dt .cf-ic { color: var(--bb-accent); align-self: center; }
.bb-ticket__rows > div::after { content: ""; order: 1; flex: 1; min-width: 16px; border-bottom: 1.5px dotted var(--bb-line); transform: translateY(-4px); }
.bb-ticket__rows dd { order: 2; margin: 0; font-size: 13.5px; color: var(--bb-muted); white-space: nowrap; }
.bb-ticket__rule { margin: 16px 0 10px; font-size: 14px; }
.bb-ticket__ship { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; font-size: 13.5px; color: var(--bb-muted); }
.bb-ticket__ship li { display: flex; align-items: center; gap: 7px; }
.bb-ticket__code { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--bb-ink); font-size: 13px; color: var(--bb-muted); text-align: center; letter-spacing: .04em; }
.bb-ticket__code b { color: var(--bb-accent); letter-spacing: .12em; }
@media (max-width: 960px) { .bb-how__in { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 520px) {
	.bb-ticket { padding: 22px 18px 18px; box-shadow: 8px 8px 0 var(--bb-beige); }
	.bb-ticket__rows > div { flex-wrap: wrap; gap: 2px 10px; }
	.bb-ticket__rows > div::after { display: none; }
	.bb-ticket__rows dt { font-size: 17.5px; white-space: normal; }
	.bb-ticket__rows dd { padding-left: 28px; white-space: normal; flex-basis: 100%; }
	.bb-ticket::before, .bb-ticket::after { top: 64px; }
}

/* ===== 5. Bánh theo yêu cầu ===== */
.bb-custom { background: var(--bb-beige); }
.bb-custom__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.bb-custom__img { margin: 0; min-height: 100%; }
.bb-custom__img img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.bb-custom__text { align-self: center; padding: 56px 0 56px 64px; }
.bb-custom__text > p:not(.bb-code):not(.bb-custom__btns) { color: #3b3834; max-width: 470px; }
.bb-custom__list { list-style: none; margin: 22px 0 26px; padding: 0; border-top: 1px solid var(--bb-ink); max-width: 470px; }
.bb-custom__list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(34, 34, 34, .2); font-size: 15px; }
.bb-custom__list b { font-weight: 600; white-space: nowrap; color: var(--bb-ink); }
.bb-custom__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.bb-custom .bb-btn--line:hover { background: var(--bb-ink); }
@media (max-width: 860px) {
	.bb-custom__in { grid-template-columns: minmax(0, 1fr); width: 100%; }
	.bb-custom__img img { aspect-ratio: 4 / 3; }
	.bb-custom__text { padding: 40px 20px 52px; width: min(var(--cf-wrap), 100%); }
}
@media (max-width: 480px) { .bb-custom__btns .bb-btn { width: 100%; } }

/* ===== 6. Lưới ảnh vuông kiểu mạng xã hội ===== */
.bb-feed { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.bb-feed li { min-width: 0; }
.bb-feed a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--bb-beige); text-decoration: none; }
.bb-feed img, .bb-feed .bb-ph { width: 100%; height: 100%; object-fit: cover; }
.bb-feed__cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 12px; background: rgba(34, 34, 34, .72); color: #fff; opacity: 0; transition: opacity .2s; font-size: 13px; line-height: 1.45; }
.bb-feed__cap .bb-no { color: #fff; }
.bb-feed__cap b { font: 400 16px/1.38 var(--cf-font-head); }
.bb-feed a:hover .bb-feed__cap, .bb-feed a:focus-visible .bb-feed__cap { opacity: 1; }
@media (max-width: 960px) { .bb-feed { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bb-feed { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; } .bb-feed__cap { display: none; } }

/* ===== 7. Ghé studio ===== */
.bb-visit { padding: 92px 0 100px; border-top: 1px solid var(--bb-line); text-align: center; }
.bb-visit .bb-code { justify-content: center; }
.bb-visit__hours { margin: 0; font-weight: 300; font-size: clamp(52px, 9vw, 112px); line-height: 1.2; letter-spacing: .02em; }
.bb-visit__sub { margin: 6px 0 26px; color: var(--bb-muted); }
.bb-visit__lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; max-width: 900px; margin: 0 auto 30px; font-size: 14.5px; }
.bb-visit__lines li { align-items: center; }
.bb-visit__lines .cf-ic { margin-top: 0; color: var(--bb-accent); }
.bb-visit__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
@media (max-width: 560px) { .bb-visit { padding: 64px 0 72px; } .bb-visit__lines { flex-direction: column; align-items: center; } .bb-visit__btns .bb-btn { width: 100%; } }

/* ===== Chân trang ===== */
.bb-footer { padding: 64px 0 28px; background: var(--bb-beige); color: var(--bb-ink); font-size: 14.5px; }
.bb-footer__brand { text-align: center; padding-bottom: 34px; margin-bottom: 38px; border-bottom: 1px solid rgba(34, 34, 34, .18); }
.bb-logo--foot .cf-logo__text { font-size: 26px; }
.bb-logo--foot .bb-mark { width: 30px; height: 30px; }
.bb-logo--foot .bb-mark i { top: 9px; left: 11px; width: 9px; height: 10px; }
.bb-footer__brand p { max-width: 520px; margin: 14px auto 0; color: #45413d; }
.bb-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.bb-footer__h { margin: 0 0 14px; font: 600 12.5px/1.5 var(--cf-font-body); letter-spacing: .14em; text-transform: uppercase; }
.bb-footer__lines { color: #3b3834; }
.bb-footer__lines a:hover { color: var(--bb-accent); }
.bb-footer__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; color: #3b3834; }
.bb-footer__links { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.bb-footer__links a { text-decoration: none; }
.bb-footer__links a:hover { color: var(--bb-accent); text-decoration: underline; }
.bb-footer__social a { border-width: 1px; }
.bb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(34, 34, 34, .18); font-size: 13px; color: #45413d; }
.bb-footer__bottom p { margin: 0; }
@media (max-width: 860px) { .bb-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bb-footer__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bb-footer { padding-bottom: 96px; } .bb-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

/* Nút Zalo + Gọi nổi: tròn nhỏ, viền trắng */
.cf-fab__btn { width: 50px; height: 50px; box-shadow: 0 0 0 3px var(--bb-white), 0 8px 18px -8px rgba(0, 0, 0, .5); }
.cf-fab__btn--call { background: var(--bb-ink); }
