/* ==========================================================================
   Book — spec "Book (đặt lịch)" (Linh). Built on practice.css (cream column, tokens, link, fade).
   390px values; from 768px the column is 560px, centred. Spacing is text to text.
   No boxes, rounded corners, shadows, solid buttons or red. Fade only.
   ========================================================================== */
.design-b.page-book:not(.menu-open) .site-header,
.design-b.page-book:not(.menu-open) .site-header.is-scrolled { color: #0E1A24; background: #EFE9DF; }

.pr.bk { position: relative; padding-top: 128px; padding-bottom: 96px; }
.bk-noscroll, .bk-noscroll body { overflow: hidden; }

/* Small label — Montserrat 11, caps, .22em, bronze (also the h1 of screens 1 and 2) */
.bk-label, .page-practice .bk-label, .page-practice .bk-h1 {
	display: block; margin: 0; padding: 0; border: 0;
	font-family: var(--pr-label); font-weight: 400; font-style: normal; font-size: 11px; line-height: 16px;
	letter-spacing: .22em; text-transform: uppercase; color: var(--pr-copper);
}
.bk-h1:focus { outline: none; }
fieldset.bk-block { margin-inline: 0; padding: 0; border: 0; min-width: 0; }
legend.bk-label { float: none; width: 100%; }


/* Progress: three 60px hairlines, 10px apart, current one navy, the others gold 40% */
.bk-progress { display: flex; gap: 10px; }
.bk-progress span { width: 60px; height: 1px; background: rgba(184, 155, 94, .4); }
.bk[data-screen="experience"] .bk-progress span:nth-child(1),
.bk[data-screen="book"] .bk-progress span:nth-child(2),
.bk[data-screen="done"] .bk-progress span:nth-child(3) { background: var(--pr-navy); }

/* Screen change: old fades out 300ms, new fades in 400ms */
.bk-screen { opacity: 1; transition: opacity .4s ease; }
.bk-screen.is-out { opacity: 0; transition: opacity .3s ease; }
.bk-screen.is-entering { opacity: 0; transition: none; }
.bk-s1 .bk-h1, .bk-s2 .bk-summary, .bk-s3 > .bk-label { margin-top: 56px; }

/* ---------- Screen 1 ---------- */
.bk-table { display: grid; grid-template-columns: 88px 1fr 1fr; column-gap: 16px; margin-top: 40px; align-items: baseline; }
.bk-cell { min-width: 0; }
.bk-colhead { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 24px; }
.bk-colname { font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 36px; line-height: 40px; color: var(--pr-navy); }
.bk-kanji { margin-top: 8px; font-family: var(--pr-ja); font-weight: 600; font-size: 52px; line-height: 56px; color: var(--pr-navy); }
.bk-rowlabel { font-family: var(--pr-label); font-size: 11px; line-height: 24px; letter-spacing: .22em; text-transform: uppercase; color: var(--pr-copper); }
.bk-val { font-family: var(--pr-serif); font-weight: 400; font-size: 17px; line-height: 24px; color: var(--pr-navy); text-align: center; text-wrap: pretty; }
.bk-rowlabel, .bk-val { padding-top: 28px; }
.bk-colhead + .bk-cell, .bk-corner ~ .bk-rowlabel:nth-of-type(1) { padding-top: 0; }
.bk-table > .bk-rowlabel:nth-child(4), .bk-table > .bk-val:nth-child(5), .bk-table > .bk-val:nth-child(6) { padding-top: 0; }
.bk-datescell { padding-top: 32px; }
.bk-val--price { white-space: nowrap; letter-spacing: -.01em; }

/* Square outline button (DATES, BOOK): same family as the top bar's BOOK */
.bk-btn {
	display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;
	height: 44px; padding: 0 0 0 .28em; border: 1px solid var(--pr-navy); border-radius: 0; background: transparent;
	font-family: var(--pr-label); font-weight: 400; font-size: 12px; line-height: 1; letter-spacing: .28em; text-transform: uppercase;
	color: var(--pr-navy); text-decoration: none; cursor: pointer;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.bk-btn:hover, .bk-btn:focus-visible { background: var(--pr-navy); color: var(--pr-cream); }
.bk-qlink { margin-top: 36px !important; } /* 44px link box: 48px from DATES */

/* ---------- Screen 2 ---------- */
.bk-sum { margin-top: 24px; }
.bk-sum__line { margin: 0; font-family: var(--pr-serif); font-weight: 400; font-size: 22px; line-height: 28px; color: var(--pr-navy); }
.bk-sum__first { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bk-change { flex: none; font-family: var(--pr-serif); font-style: italic; font-size: 17px; line-height: 24px; color: var(--pr-navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; padding: 10px 0; margin: -10px 0; }
.bk-block { margin-top: 56px; }
.bk-time, .bk-people, .bk-lang { margin-top: 40px; }

/* Calendar */
.bk-cal__head { display: flex; align-items: center; justify-content: space-between; }
.bk-month { margin: 0; font-family: var(--pr-serif); font-weight: 400; font-size: 22px; line-height: 28px; color: var(--pr-navy); }
.bk-cal__nav { display: flex; margin-right: -14px; }
.bk-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--pr-gold); cursor: pointer; transition: color .3s ease; }
.bk-arrow svg { width: 16px; height: 10px; overflow: visible; }
.bk-arrow:disabled { opacity: .3; cursor: default; }
@media (hover: hover) { .bk-arrow:not(:disabled):hover { color: var(--pr-navy); } }
.bk-grid { margin-top: 14px; }
.bk-row { display: grid; grid-template-columns: repeat(7, 1fr); }
.bk-wd span { font-family: var(--pr-label); font-size: 11px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase; color: var(--pr-copper); text-align: center; padding-left: .22em; }
.bk-days { margin-top: 8px; }
.bk-days [role="gridcell"] { display: flex; justify-content: center; }
.bk-day {
	display: flex; align-items: center; justify-content: center; width: 100%; max-width: 44px; height: 44px; padding: 0;
	border: 0; background: none; font-family: var(--pr-serif); font-weight: 400; font-size: 20px; line-height: 1; color: var(--pr-navy);
	font-variant-numeric: lining-nums; cursor: pointer; position: relative;
}
.bk-day--blank { cursor: default; }
.bk-day[aria-disabled="true"] { color: rgba(14, 26, 36, .3); cursor: default; }
.bk-day.is-sel::after {
	content: ""; position: absolute; left: 0; right: 0; top: 4px; bottom: 4px; border: 1px solid var(--pr-navy); pointer-events: none;
}
/* Never on the chosen day: this rule is stronger than its PC circle (desktop.css) and would move it. */
@media (hover: hover) {
	.bk-day:not(.is-sel):not([aria-disabled="true"]):not(.bk-day--blank):hover::after {
		content: ""; position: absolute; left: 0; right: 0; top: 4px; bottom: 4px; border: 1px solid var(--pr-gold); pointer-events: none;
	}
}
.bk-calerr { margin-top: 16px !important; font-family: var(--pr-serif); font-size: 19px; line-height: 30px; color: var(--pr-navy); }
.bk-calerr a, .bk-people__mail a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Time */
.bk-times { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 10px; margin-left: -12px; }
.bk-timeopt { position: relative; display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.bk-timeopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-timeopt span { padding: 6px 12px; border: 1px solid transparent; font-family: var(--pr-serif); font-size: 20px; line-height: 24px; color: var(--pr-navy); font-variant-numeric: lining-nums; }
.bk-timeopt input:checked + span { border-color: var(--pr-navy); }
.bk-timeopt.is-off { cursor: default; }
.bk-timeopt.is-off span { color: rgba(14, 26, 36, .3); }
.bk-timeopt input:focus-visible + span { outline: 1px solid var(--pr-gold); outline-offset: 4px; }
.bk-time.is-entering { opacity: 0; }
.bk-time { transition: opacity .4s ease; }

/* People */
.bk-people__row { display: flex; align-items: flex-start; gap: 24px; margin-top: 2px; }
.bk-counter { display: flex; align-items: center; flex: none; margin-left: -15px; }
.bk-step { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--pr-gold); cursor: pointer; transition: color .3s ease; }
.bk-step[aria-disabled="true"] { opacity: .3; cursor: default; }
@media (hover: hover) { .bk-step:not([aria-disabled="true"]):hover { color: var(--pr-navy); } }
.bk-sign__h, .bk-sign__v { position: absolute; background: currentColor; }
.bk-sign__h { left: 15px; width: 14px; top: 21.5px; height: 1px; }
.bk-sign__v { top: 15px; height: 14px; left: 21.5px; width: 1px; }
.bk-count { width: 40px; text-align: center; font-family: var(--pr-serif); font-size: 24px; line-height: 44px; color: var(--pr-navy); font-variant-numeric: lining-nums; }
.bk-people__row { align-items: center; }
.bk-people__max, .bk-people__mail { margin: 0; font-family: var(--pr-serif); font-size: 17px; line-height: 24px; color: rgba(14, 26, 36, .6); }
.bk-people__max { text-wrap: pretty; }
.bk-people__mail { margin-top: 16px; text-align: justify; text-align-last: left; text-wrap: pretty; hyphens: manual; -webkit-hyphens: manual; }
.bk-people__mail a { display: inline-block; padding: 10px 0; margin: -10px 0; color: rgba(14, 26, 36, .85); }

/* Radios (language): 16px gold ring, 8px navy dot when chosen */
.bk-radios { display: flex; flex-direction: column; margin-top: 4px; }
.bk-radios--row { flex-direction: row; flex-wrap: wrap; gap: 0 32px; }
.bk-radio { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-family: var(--pr-serif); font-size: 20px; line-height: 28px; color: var(--pr-navy); }
.bk-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-radio__dot { position: relative; flex: none; width: 16px; height: 16px; box-sizing: border-box; border: 1px solid var(--pr-gold); border-radius: 50%; transition: border-color .3s ease; }
.bk-radio input:checked + .bk-radio__dot::after { content: ""; position: absolute; left: 3px; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--pr-navy); }
@media (hover: hover) { .bk-radio:hover .bk-radio__dot { border-color: var(--pr-navy); } }
.bk-radio input:focus-visible + .bk-radio__dot { outline: 1px solid var(--pr-gold); outline-offset: 4px; }

/* Your details: no box, one 1px underline (navy 30%) */
.bk-details .bk-field:first-of-type { margin-top: 24px; }
.bk-field + .bk-field { margin-top: 32px; }
.bk-flabel { display: block; font-family: var(--pr-label); font-size: 11px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase; color: var(--pr-copper); }
.bk-input {
	display: block; width: 100%; box-sizing: border-box; height: 44px; margin-top: 8px; padding: 0;
	border: 0; border-bottom: 1px solid rgba(14, 26, 36, .3); border-radius: 0; background: transparent; box-shadow: none;
	font-family: var(--pr-serif); font-weight: 400; font-style: normal; font-size: 20px; line-height: 28px; color: var(--pr-navy);
	-webkit-appearance: none; appearance: none;
}
.bk-input::placeholder { color: rgba(14, 26, 36, .4); font-style: normal; opacity: 1; }
.bk-input:focus { outline: 1px solid var(--pr-gold); outline-offset: 4px; border-bottom-color: var(--pr-navy); }
.bk-note { height: auto; min-height: 64px; max-height: calc(5 * 28px + 10px); padding: 8px 0; resize: none; overflow-y: auto; field-sizing: content; }
.bk-err { margin: 8px 0 0 !important; font-family: var(--pr-serif); font-style: italic; font-size: 17px; line-height: 24px; color: var(--pr-copper); }
.bk-time .bk-err { margin: 12px 0 0 !important; }

/* Ticks: 22px square, 1px navy; gold check */
.bk-agree .bk-tick { margin-top: 4px; }
.bk-tick { position: relative; display: flex; align-items: flex-start; gap: 18px; min-height: 44px; padding: 8px 0; cursor: pointer; }
.bk-tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-tick__box { flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; box-sizing: border-box; margin-top: 4px; border: 1px solid var(--pr-navy); color: var(--pr-gold); }
.bk-tick__box svg { width: 12px; height: 10px; opacity: 0; overflow: visible; }
.bk-tick input:checked + .bk-tick__box svg { opacity: 1; }
.bk-tick input:focus-visible + .bk-tick__box { outline: 1px solid var(--pr-gold); outline-offset: 4px; }
.bk-tick__text {
	font-family: var(--pr-serif); font-size: 19px; line-height: 30px; color: var(--pr-navy);
	text-align: justify; text-align-last: left; text-wrap: pretty; hyphens: none;
}
.bk-terms { margin: 0 0 0 40px !important; }
.bk-terms .pr-link { padding: 0; border: 0; background: none; cursor: pointer; }
.bk-terms .pr-link__text { font-size: 17px; }

/* Missing when BOOK was pressed: 1px gold frame around the first missing block */
.is-missing { outline: 1px solid var(--pr-gold); outline-offset: 8px; }

/* BOOK: square, 1px navy, 56px, full width; not ready = navy 30% frame, navy 40% words */
.bk-confirm { height: 56px; }
.bk-confirm[aria-disabled="true"] { border-color: rgba(14, 26, 36, .3); color: rgba(14, 26, 36, .4); }
.bk-confirm[aria-disabled="true"]:hover, .bk-confirm[aria-disabled="true"]:focus-visible { background: transparent; color: rgba(14, 26, 36, .4); }
.bk-confirm:disabled { cursor: default; }

.bk-alert { margin-top: 40px; }
.bk-alert p { margin: 0 0 8px; font-family: var(--pr-serif); font-style: italic; font-size: 19px; line-height: 28px; color: var(--pr-copper); }

/* ---------- Screen 3 ---------- */
.bk-s3 { position: relative; }
.bk-done__kanji { position: absolute; right: 0; top: -24px; font-family: var(--pr-ja); font-weight: 600; font-size: 64px; line-height: 72px; color: rgba(14, 26, 36, .15); pointer-events: none; }
.page-practice .bk-done__title { margin: 16px 0 0; font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 44px; line-height: 50px; letter-spacing: 0; color: var(--pr-navy); }
.bk-done__title:focus { outline: none; }
.bk-done__conf { margin-top: 16px !important; font-family: var(--pr-serif); font-size: 19px; line-height: 30px; color: var(--pr-navy); }
.bk-done__info { margin: 40px 0 0; }
.bk-done__info > div + div { margin-top: 28px; }
.bk-done__info dd { margin: 8px 0 0; font-family: var(--pr-serif); font-size: 19px; line-height: 28px; color: var(--pr-navy); }
.bk-addr { color: inherit; text-decoration: none; }
.bk-done__sign { margin-top: 48px; }
.bk-done__closing { font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 28px; line-height: 34px; color: var(--pr-navy); }
.bk-done__kanjisig { margin-top: 16px !important; font-family: var(--pr-ja); font-weight: 600; font-size: 34px; line-height: 40px; color: var(--pr-navy); }
.bk-done__name { margin-top: 8px !important; font-family: var(--pr-serif); font-size: 20px; line-height: 28px; color: var(--pr-navy); }
.bk-done__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 38px !important; }

/* ---------- "View terms" window ---------- */
.bk-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px 16px; opacity: 0; transition: opacity .3s ease; }
.bk-modal.is-open { opacity: 1; }
.bk-modal[hidden] { display: none; }
.bk-modal__veil { position: absolute; inset: 0; background: rgba(14, 26, 36, .85); }
.bk-modal__box { position: relative; width: 100%; max-width: 560px; max-height: 100%; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; padding: 40px 24px; background: var(--pr-cream); border: 1px solid rgba(184, 155, 94, .5); border-radius: 0; }
.bk-modal__box:focus { outline: none; }
.bk-modal__box .lg-sec { margin-top: 28px; }
.bk-modal__privacy { margin-top: 56px !important; }
.bk-modal__close { margin-top: 32px !important; }
.bk-modal__close .pr-link { padding: 0; border: 0; background: none; cursor: pointer; }

/* Wide screens: 560px column (practice.css); the label column widens to 120px */
@media (min-width: 768px) {
	.bk-table { grid-template-columns: 120px 1fr 1fr; }
}
/* 320px: the calendar still fits (7 × 38px) */
@media (max-width: 359px) {
	.bk-table { grid-template-columns: 72px 1fr 1fr; column-gap: 12px; }
	.bk-rowlabel { letter-spacing: .12em; font-size: 10px; }
	.bk-people__row { flex-direction: column; gap: 8px; }
}

:lang(vi) .bk-label, :lang(vi) .bk-flabel, :lang(vi) .bk-rowlabel, :lang(vi) .bk-wd span { text-transform: none; letter-spacing: .08em; font-size: 12px; }

@media (prefers-reduced-motion: reduce) {
	.bk-screen, .bk-screen.is-out, .bk-time, .bk-modal, .bk-btn, .bk-arrow, .bk-step, .bk-radio__dot { transition: none; }
}
.fade-ready .pr .bk-modal [data-fade] { opacity: 1; transition: none; } /* the window shows its text at once */

/* ==========================================================================
   Chỉnh sửa v1 (Linh, 18 Nov 2026)
   ========================================================================== */
/* TIME: ranges ("10:00–12:00"); frames 32px apart, the second one wraps 16px below if it does not fit (320px). */
.bk-times { gap: 16px 32px; }
/* Under PAY: one line 16px below, Cormorant 17px navy 60%, no icon or Square logo; then 96px to the footer. */
.page-practice .bk-paynote { margin: 16px 0 0; font-family: var(--pr-serif); font-weight: 400; font-size: 17px; line-height: 24px; color: rgba(14,26,36,.6); text-align: left; }
.bk-done__info .lk-addr { padding: 0; }

/* ==========================================================================
   Chỉnh sửa v2 (Linh, 19 Nov 2026)
   ========================================================================== */
/* Browser autofill (Chrome / Android / Safari): no pale-blue box. The field stays transparent on the cream,
   navy text, Cormorant 20px, only the 1px underline. Covers the three fields and the note. */
.bk-input:-webkit-autofill,
.bk-input:-webkit-autofill:hover,
.bk-input:-webkit-autofill:focus,
.bk-input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px #EFE9DF inset;
	box-shadow: 0 0 0 1000px #EFE9DF inset;
	-webkit-text-fill-color: #0E1A24;
	caret-color: #0E1A24;
	font-family: var(--pr-serif); font-size: 20px; font-weight: 400;
	transition: background-color 600000s 0s, color 600000s 0s;
}
.bk-input:autofill { box-shadow: 0 0 0 1000px #EFE9DF inset; -webkit-text-fill-color: #0E1A24; caret-color: #0E1A24; }

/* ---------- Payment unavailable (spec Linh, 19 Nov 2026) — 390px; left-aligned, square, no shadow ---------- */
.pr.pu { padding-top: 144px; padding-bottom: 96px; text-align: left; }
.pu-label { margin: 0; font-family: var(--pr-label); font-weight: 400; font-size: 11px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase; color: var(--pr-copper); }
.page-practice .pu-title { margin: 16px 0 0; font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 36px; line-height: 42px; letter-spacing: 0; text-wrap: balance; color: var(--pr-navy); }
.pu-title span { display: block; }
.pr .pu-text { margin: 32px 0 0; font-family: var(--pr-serif); font-weight: 400; font-size: 19px; line-height: 30px; color: var(--pr-navy); text-align: justify; text-align-last: left; text-wrap: pretty; hyphens: none; }
.pu-btn { height: 56px; margin-top: 40px; }
.pu-mail { display: block; margin-top: 16px; font-family: var(--pr-serif); font-weight: 400; font-size: 17px; line-height: 26px; color: rgba(14, 26, 36, .6); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-align: left; overflow-wrap: anywhere; }

/* ==========================================================================
   v3 (Linh, 24 Nov 2026): screen 1 = two equal columns, one per option (no Place/Time/… table).
   Each column: thin rule on top, italic title (min 60px so both columns line up), length, price, DATES.
   ========================================================================== */
.bk-opts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; margin-top: 40px; }
.bk-opt { display: flex; flex-direction: column; min-width: 0; padding-top: 20px; border-top: 1px solid rgba(184, 155, 94, .55); }
.page-practice .bk-opt__title { margin: 0; min-height: 60px; font-family: var(--pr-serif); font-weight: 300; font-style: italic; font-size: 26px; line-height: 30px; letter-spacing: 0; color: var(--pr-navy); }
.bk-opt__line { margin: 0; font-family: var(--pr-serif); font-weight: 400; font-size: 19px; line-height: 28px; color: var(--pr-navy); }
.bk-opt__title + .bk-opt__line { margin-top: 20px; }
.bk-opt .bk-dates { margin-top: auto; }
.bk-opt__line:last-of-type { margin-bottom: 28px; }
