/* =========================================================
   Nhà Tí Hon – template tt-06 (thietkeweb.dev)
   Mobile-first · no framework
   ========================================================= */
:root {
  --bg: #fffaf3;
  --surface: #f6efe4;
  --ink: #23314d;
  --muted: #5d6780;
  --pri: #23314d;
  --acc: #f2704a;
  --acc-text: #d2522c;
  --acc-ink: #fff;
  --mint: #9fdcc9;
  --line: #efe5d6;
  --line-strong: #e2d5c2;
  --shadow: 0 26px 50px -30px rgba(35,49,77,.4);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Quicksand", system-ui, sans-serif;
  --head-w: 700;
  --header-h: 70px;
  --header-bg: rgba(255,250,243,.95);
  --footer-bg: #23314d;
  --call: #f2704a;
  --btn-r: 999px;
  --input-r: 14px;
  --sz-r: 999px;
  --mc-bg: #fffaf3;
  --mc-note: #f6efe4;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-variant-numeric: lining-nums; }
h1, h2 { font-family: var(--head); font-weight: var(--head-w, 700); letter-spacing: var(--head-ls, -.01em); text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { fill: currentColor; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--pri); color: #fff; padding: 10px 16px; }
.skip:focus { left: 10px; top: 10px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--btn-r, 10px); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .25s; white-space: nowrap; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--pri { background: var(--pri); color: var(--pri-ink, #fff); }
.btn--pri:hover { filter: brightness(1.08); box-shadow: var(--shadow); }
.btn--acc { background: var(--acc); color: var(--acc-ink, #fff); }
.btn--acc:hover { filter: brightness(1.06); box-shadow: var(--shadow); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--line { border-color: currentColor; color: var(--pri); }
.btn--line:hover { background: var(--pri); color: var(--pri-ink, #fff); border-color: var(--pri); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-text, var(--acc)); margin-bottom: 10px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg, rgba(255,255,255,.96)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--logo, var(--ink)); flex: none; }
.logo__mark { width: 38px; height: 38px; flex: none; color: var(--acc); }
.logo__text { font-family: var(--head); font-size: 21px; font-weight: 700; line-height: 1; display: flex; flex-direction: column; letter-spacing: -.01em; }
.logo__text small { font-family: var(--font); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-top: 5px; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; border-radius: 8px; color: var(--logo, var(--ink)); }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--nav-bg, var(--bg)); color: var(--nav-ink, var(--ink)); padding: 12px 20px 40px; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; border-top: 1px solid var(--line); }
.menu-open .nav { opacity: 1; transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.nav ul { display: flex; flex-direction: column; }
.nav li a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav li a:hover { color: var(--acc-text, var(--acc)); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--surface); }
.sec-head { max-width: 680px; margin: 0 0 32px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 12px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head--light h2 { color: #fff; }
.sec-head--light p { color: rgba(255,255,255,.78); }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label span { color: var(--acc-text, var(--acc)); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--input-r, 8px); border: 1.5px solid var(--line-strong, var(--line)); background: var(--input-bg, #fff); color: var(--input-ink, var(--ink)); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23777'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; padding-right: 38px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent); }
.field [aria-invalid="true"] { border-color: #d33c3c; }
.err { display: block; color: #d33c3c; font-size: 13px; min-height: 0; margin-top: 4px; }
.err:empty { display: none; }
.form__privacy { font-size: 12.5px; color: var(--muted); margin: 0; }
.form__ok { padding: 14px 16px; border-radius: 10px; background: #e8f6ec; color: #1d5e33; border: 1px solid #b9e2c6; font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg, #111); color: var(--footer-ink, rgba(255,255,255,.72)); padding: 56px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer .logo { color: #fff; }
.footer .logo__text small { color: rgba(255,255,255,.55); }
.footer__brand p { margin: 16px 0 0; max-width: 360px; }
.footer__title { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__links li { margin-bottom: 9px; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 72px; font-size: 13px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { text-decoration: underline; }

/* ---------- Floating contact + demo badge ---------- */
.float { position: fixed; right: 16px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float__btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); position: relative; transition: transform .2s; }
.float__btn:hover { transform: scale(1.06); }
.float__btn--zalo { background: #0068ff; }
.float__btn--zalo svg { width: 38px; height: 38px; }
.float__btn--call { background: var(--call, var(--acc)); }
.float__btn--call svg { width: 24px; height: 24px; fill: var(--call-ink, #fff); }
.float__btn--call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--call, var(--acc)); animation: ring 2s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.demo-badge { position: fixed; left: 10px; bottom: 10px; z-index: 65; max-width: calc(100% - 90px); font: 500 11px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #fff; background: rgba(17,17,17,.82); padding: 6px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.2); opacity: .9; transition: opacity .2s; }
.demo-badge:hover { opacity: 1; text-decoration: underline; }
@media (min-width: 600px) { .demo-badge { font-size: 12px; } }

@media (min-width: 768px) {
  .section { padding: 88px 0; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .float { right: 24px; bottom: 28px; }
  .float__btn { width: 56px; height: 56px; }
}
@media (min-width: 1024px) {
  .burger { display: none; }
  .nav { position: static; height: auto; background: none; color: inherit; padding: 0; opacity: 1; transform: none; visibility: visible; flex-direction: row; align-items: center; gap: 24px; border: 0; overflow: visible; }
  .nav ul { flex-direction: row; gap: 26px; }
  .nav li a { padding: 6px 0; font-size: 15px; border: 0; color: var(--logo, var(--ink)); }
  .nav__cta { display: none; }
  .container { padding: 0 32px; }
}
@media (max-width: 1023.98px) { .header__actions .btn--hide-m { display: none; } }
.logo { min-width: 0; flex: 0 1 auto; }
.logo__text { min-width: 0; white-space: nowrap; }
.logo__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) {
  .header__inner { gap: 8px; }
  .logo { gap: 8px; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__text { font-size: 18px; }
  .logo__text small { font-size: 8.5px; letter-spacing: .1em; }
  .header__actions { gap: 2px; }
  .header__actions .btn--sm { padding: 8px 12px; font-size: 13px; min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Booking widget + demo confirmation ---------- */
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--input-r, 8px); background: var(--input-bg, #fff); color: var(--input-ink, var(--ink)); min-height: 48px; }
.stepper button { width: 42px; height: 44px; flex: none; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: inherit; border-radius: var(--input-r, 8px); }
.stepper button:hover { background: color-mix(in srgb, var(--acc) 12%, transparent); }
.field .stepper input { border: 0; min-height: 44px; padding: 0; text-align: center; flex: 1; min-width: 0; background: transparent; box-shadow: none; -moz-appearance: textfield; font-weight: 600; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--acc); }
.field input[type="date"] { min-width: 0; }
.bk-sum { margin: 0; font-size: 14px; color: var(--muted); }
.bk-sum b { color: var(--ink); font-size: 16px; }
.modal-open { overflow: hidden; }
.bk-modal { position: fixed; inset: 0; z-index: 100; background: rgba(10,12,16,.62); display: grid; place-items: center; padding: 20px; }
.bk-modal__box { background: #fff; color: #1d1d1f; border-radius: 18px; width: 100%; max-width: 440px; padding: 28px 24px 22px; position: relative; max-height: calc(100dvh - 40px); overflow: auto; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); font-family: var(--font); }
.bk-modal__ic { width: 56px; height: 56px; border-radius: 50%; background: #e6f5eb; display: grid; place-items: center; margin-bottom: 14px; }
.bk-modal__ic svg { width: 28px; height: 28px; fill: #1a9a53; }
.bk-modal h2 { font-family: var(--head); font-size: 23px; margin-bottom: 6px; }
.bk-modal__code { margin: 0; font-size: 14.5px; color: #555; }
.bk-modal__code b { color: #1d1d1f; letter-spacing: .04em; }
.bk-modal dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 16px 0; padding: 14px 16px; background: #f4f4f1; border-radius: 12px; font-size: 14.5px; }
.bk-modal dt { color: #666; }
.bk-modal dd { margin: 0; font-weight: 600; text-align: right; }
.bk-modal__note { font-size: 13px; color: #666; }
.bk-modal__x { position: absolute; top: 8px; right: 8px; width: 42px; height: 42px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; color: #555; }
.bk-modal__x:hover { background: #f1f1f1; }
.bk > *, .bk .field { min-width: 0; }
.field input[type="date"] { display: block; width: 100%; }

/* chip choices + order errors */
.chips-f { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips-f legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips-f__in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-f label { position: relative; cursor: pointer; }
.chips-f input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-f span { display: inline-block; padding: 8px 14px; border-radius: var(--input-r, 10px); border: 1.5px solid var(--line-strong, var(--line)); background: var(--input-bg, #fff); font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.chips-f input:checked + span { background: var(--pri); border-color: var(--pri); color: var(--pri-ink, #fff); }
.chips-f input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.bk-err { margin: 0; color: #c62828; font-size: 13.5px; font-weight: 600; }
.bk-err:empty { display: none; }

/* tabs + menu list */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; border: 1.5px solid var(--line-strong, var(--line)); background: transparent; color: inherit; padding: 9px 18px; border-radius: var(--btn-r, 999px); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tabs [aria-selected="true"] { background: var(--pri); border-color: var(--pri); color: var(--pri-ink, #fff); }
.mlist { display: grid; gap: 18px; }
.mi__t { display: flex; align-items: baseline; gap: 10px; }
.mi h3 { font-size: 17px; font-weight: 600; margin: 0; }
.mi__dots { flex: 1; min-width: 20px; border-bottom: 1.5px dotted var(--line-strong, var(--line)); transform: translateY(-4px); }
.mi b { font-weight: 700; white-space: nowrap; color: var(--price, var(--pri)); }
.mi p { margin: 3px 0 0; font-size: 14.5px; color: var(--muted); max-width: 46ch; }
.mi__tag { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acc-text, var(--acc)); border: 1px solid currentColor; border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.logo__mark { stroke: currentColor; stroke-width: 0; }

/* ---------- Shop: cart button, mini cart, toast, product card, filters, checkout ---------- */
.cart-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: var(--logo, var(--ink)); display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.cart-btn:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn__n { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--acc); color: var(--acc-ink, #fff); font: 700 11px/19px var(--font); text-align: center; transform: scale(.85); opacity: .5; transition: transform .2s, opacity .2s; }
.cart-btn__n.has { transform: scale(1); opacity: 1; }
.mc { position: fixed; inset: 0; z-index: 90; }
.mc__ov { position: absolute; inset: 0; background: rgba(10,10,10,.5); opacity: 0; transition: opacity .25s; }
.mc__box { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--mc-bg, #fff); color: var(--mc-ink, #1d1d1f); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); font-family: var(--font); }
.mc.is-open .mc__ov { opacity: 1; }
.mc.is-open .mc__box { transform: none; }
.mc-open { overflow: hidden; }
.mc__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,.08); }
.mc__head h2 { font-size: 21px; }
.mc__head h2 span { font-family: var(--font); font-size: 15px; color: #777; font-weight: 500; }
.mc__x { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: inherit; }
.mc__x:hover { background: rgba(0,0,0,.06); }
.mc__x svg { width: 22px; height: 22px; }
.mc__free { margin: 0; padding: 10px 20px; background: var(--mc-note, #f4f1ea); font-size: 13.5px; }
.mc__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.mc__empty { color: #777; text-align: center; padding: 48px 0; margin: 0; }
.mc__list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.07); align-items: start; }
.mc__list img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; background: #eee; }
.mc__i b { display: block; font-size: 14.5px; line-height: 1.3; font-weight: 600; }
.mc__i small { display: block; color: #777; font-size: 13px; margin-top: 2px; }
.mc__q { display: inline-flex; align-items: center; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; margin-top: 8px; }
.mc__q button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; font-size: 16px; color: inherit; border-radius: 50%; }
.mc__q em { font-style: normal; min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.mc__r { text-align: right; }
.mc__r b { display: block; font-size: 14.5px; white-space: nowrap; }
.mc__rm { border: 0; background: none; color: #999; font-size: 12.5px; text-decoration: underline; cursor: pointer; margin-top: 6px; padding: 4px 0; }
.mc__foot { border-top: 1px solid rgba(0,0,0,.08); padding: 14px 20px 18px; display: grid; gap: 10px; }
.mc__rows p, .co__rows p { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 14px; color: #666; }
.mc__rows b, .co__rows b { color: inherit; font-weight: 600; }
.mc__total, .co__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 700; }
.mc__total b, .co__total b { font-size: 22px; }
.mc__cont { border: 0; background: none; text-decoration: underline; cursor: pointer; font-size: 14px; color: inherit; padding: 4px; }
.toast { position: fixed; left: 50%; top: calc(var(--header-h) + 12px); z-index: 95; transform: translate(-50%, -20px); opacity: 0; pointer-events: none; background: #1d1d1f; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: opacity .25s, transform .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard__img { position: relative; overflow: hidden; }
.pcard__img img { width: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__badge { position: absolute; left: 10px; top: 10px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; background: var(--acc); color: var(--acc-ink, #fff); }
.pcard__b { display: flex; flex-direction: column; flex: 1; padding-top: 12px; }
.pcard h3 { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.pcard__sub { font-size: 13px; color: var(--muted); margin: 3px 0 0; }
.pcard__p { margin: 6px 0 10px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pcard__p b { font-size: 16px; }
.pcard__p s { font-size: 13px; color: var(--muted); }
.pcard__add { margin-top: auto; }
.sz { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sz label { position: relative; }
.sz input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sz span { display: grid; place-items: center; min-width: 34px; height: 32px; padding: 0 8px; border: 1px solid var(--line-strong, var(--line)); font-size: 12.5px; font-weight: 600; border-radius: var(--sz-r, 4px); cursor: pointer; }
.sz input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sz input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.fbar { display: grid; gap: 12px; margin-bottom: 24px; }
.fbar > * { min-width: 0; max-width: 100%; }
.fg { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fg__l { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); flex: none; }
.fg__b { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.fg__b::-webkit-scrollbar { display: none; }
.fg button { flex: none; border: 1px solid var(--line-strong, var(--line)); background: transparent; color: inherit; padding: 7px 14px; font-size: 14px; font-weight: 600; border-radius: var(--btn-r, 999px); cursor: pointer; }
.fg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fbar__r { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.fbar__r select { min-height: 40px; padding: 6px 34px 6px 12px; border: 1px solid var(--line-strong, var(--line)); border-radius: var(--input-r, 8px); background: var(--input-bg, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23777'/%3E%3C/svg%3E") no-repeat right 8px center / 20px; color: var(--input-ink, var(--ink)); appearance: none; -webkit-appearance: none; font-size: 14px; }
.p-empty { text-align: center; color: var(--muted); padding: 30px 0; }
.co { display: grid; gap: 32px; }
.co h2 { font-size: clamp(28px, 4.4vw, 40px); margin-bottom: 10px; }
.co__list { margin: 20px 0 14px; border-top: 1px solid var(--line); }
.co__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.co__list em { font-style: normal; color: var(--muted); }
.co__list .co-empty { color: var(--muted); }
.co__list b { white-space: nowrap; }
.co__rows p { color: var(--muted); }
.co__total { border-top: 1.5px solid var(--ink); padding-top: 12px; margin-top: 8px; }
.co .bk { display: grid; gap: 14px; }
@media (min-width: 600px) { .co .bk { grid-template-columns: 1fr 1fr; } .co .field--full, .co .chips-f { grid-column: 1 / -1; } .fbar__r { justify-content: space-between; } }
@media (min-width: 960px) { .co { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .co__sum { position: sticky; top: calc(var(--header-h) + 24px); } }
.mc-open .toast { top: auto; bottom: 28px; }

.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); }
.social a:hover { background: rgba(255,255,255,.1); }
.social svg { width: 17px; height: 17px; fill: #fff; }

/* ===== template-specific ===== */
.topbar { background: var(--mint); color: var(--ink); font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px 16px; }
h1, h2 { font-weight: 700; letter-spacing: -.01em; }
.logo__text { font-family: var(--head); font-weight: 700; font-size: 23px; }
.logo__mark { color: var(--acc); }
.btn--light { background: #fff; color: var(--ink); }
.hero { position: relative; isolation: isolate; }
.hero picture { display: block; }
.hero__bg { width: 100%; aspect-ratio: 780 / 640; object-fit: cover; object-position: 50% 40%; }
.hero__in { position: relative; margin-top: -64px; padding-bottom: 36px; }
.hero__txt { background: #fff; border-radius: 28px; padding: 26px 22px; box-shadow: var(--shadow); }
.hero__pill { display: inline-flex; gap: 6px; align-items: center; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13.5px; padding: 6px 13px; border-radius: 999px; margin-bottom: 14px; }
.hero__pill svg { width: 16px; height: 16px; fill: var(--acc); }
.hero h1 { font-size: clamp(38px, 6.4vw, 66px); line-height: 1.08; margin-bottom: 12px; }
.hero h1 span { color: var(--acc); }
.hero__txt p { color: var(--muted); font-size: 16.5px; }
.hero__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero__btns .btn--light { border: 1.5px solid var(--line-strong); }
.ages-s { padding: 8px 0 12px; }
.ages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.age { border-radius: 22px; padding: 18px 16px; display: grid; gap: 2px; transition: transform .2s; }
.age:hover { transform: translateY(-3px); }
.age b { font-family: var(--head); font-size: 19px; font-weight: 700; }
.age span { font-size: 13px; color: var(--muted); }
.age--1 { background: #fde3d9; } .age--2 { background: #d8f1ea; } .age--3 { background: #dceffa; } .age--4 { background: #fff1c7; }
.fbar--c { justify-items: center; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
.pcard__img { border-radius: 22px; background: var(--surface); }
.pcard__img img { aspect-ratio: 4 / 5; }
.pcard__badge { border-radius: 999px; background: var(--acc); left: 12px; top: 12px; }
.pcard h3 { font-family: var(--head); font-size: 17px; font-weight: 700; }
.pcard__p b { color: var(--acc-text); }
.sz span { border-radius: 999px; padding: 0 10px; }
.size-s { background: var(--surface); }
.size { display: grid; gap: 30px; }
.size > * { min-width: 0; }
.size h2 { font-size: clamp(30px, 4.4vw, 42px); margin: 6px 0 12px; }
.kc { margin-top: 20px; display: grid; gap: 12px; max-width: 360px; }
.kc__out { margin: 0; background: #fff; border-radius: 16px; padding: 14px 16px; font-size: 15px; }
.kc__out b { color: var(--acc-text); font-size: 20px; }
.tbl-w { overflow-x: auto; background: #fff; border-radius: 22px; padding: 6px 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 420px; }
.tbl th, .tbl td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tbl td:first-child { font-weight: 800; color: var(--acc-text); }
.gift { display: grid; gap: 28px; background: #fff; border-radius: 32px; padding: 18px; box-shadow: var(--shadow); }
.gift__pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; }
.gift__b { padding: 4px 6px 10px; display: flex; flex-direction: column; align-items: flex-start; }
.gift h2 { font-size: clamp(30px, 4.4vw, 42px); margin: 6px 0 10px; }
.gift__b > p { color: var(--muted); }
.gift .pcard__p b { font-size: 26px; }
.gift__card { display: flex; gap: 8px; align-items: center; font-size: 15px; margin: 4px 0 10px; cursor: pointer; }
.gift__card input { width: 18px; height: 18px; accent-color: var(--acc); }
.gift__msg { width: 100%; max-width: 380px; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 14px; margin-bottom: 12px; }
.perks-s { background: var(--ink); color: #dfe5f0; padding: 44px 0; }
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
.perks svg { width: 30px; height: 30px; fill: var(--mint); margin-bottom: 8px; }
.perks b { display: block; color: #fff; font-family: var(--head); font-size: 19px; margin-bottom: 4px; }
.perks p { margin: 0; font-size: 14px; color: #b9c3d6; }
.school { position: relative; isolation: isolate; padding: 220px 0 32px; }
.school > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -1; }
.school__card { background: #fff; border-radius: 28px; padding: 26px; max-width: 440px; }
.school h2 { font-size: clamp(28px, 4vw, 38px); margin: 6px 0 8px; }
.school p { color: var(--muted); }
.revs { display: grid; gap: 16px; }
.revs figure { margin: 0; padding: 24px; background: var(--surface); border-radius: 24px; }
.stars { color: #ffb400; letter-spacing: 2px; }
.revs blockquote { margin: 10px 0 14px; font-size: 16px; line-height: 1.55; }
.revs figcaption { font-size: 13px; color: var(--muted); }
.revs figcaption b { display: block; color: var(--ink); font-size: 15px; }
.checkout { background: var(--surface); }
.co .bk { background: #fff; padding: 24px; border-radius: 28px; }
.co__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--muted); }
.co__note svg { width: 20px; height: 20px; flex: none; fill: var(--acc); margin-top: 1px; }
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .ages { grid-template-columns: repeat(4, 1fr); }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .revs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .hero picture { position: absolute; inset: 0; z-index: -1; }
  .hero__bg { height: 100%; aspect-ratio: auto; object-position: 70% 40%; }
  .hero { min-height: 600px; display: flex; align-items: center; }
  .hero__in { margin-top: 0; padding-block: 64px; width: 100%; }
  .hero__txt { max-width: 500px; padding: 38px; }
}
@media (min-width: 900px) {
  .size { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
  .gift { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 24px; }
  .school { padding: 120px 0; }
}
@media (min-width: 1024px) {
  .section { padding: 92px 0; }
  .hero { min-height: calc(100vh - var(--header-h) - 36px); max-height: 800px; }
  .ages-s { padding: 28px 0 0; }
  .hero picture { left: 44%; border-radius: 0 0 0 48px; overflow: hidden; }
  .hero__bg { object-position: 45% 40%; }
  .hero__txt { background: none; box-shadow: none; padding: 0; max-width: min(470px, calc(44vw - 170px)); }
  .hero h1 { font-size: clamp(50px, 4.8vw, 70px); }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
  .fbar { grid-template-columns: auto auto 1fr; align-items: center; gap: 28px; justify-items: stretch; }
  .fbar__r { justify-content: flex-end; gap: 18px; }
  .co .bk { padding: 36px; }
}
