/* =========================================================
   Cú Mèo Edu · template gd-05 (thietkeweb.dev)
   Mobile-first · no framework
   ========================================================= */
:root {
  --bg: #fffdf6;
  --surface: #f4f1e6;
  --ink: #1b1b1b;
  --muted: #55605c;
  --pri: #0f9d8a;
  --pri-ink: #fff;
  --acc: #ffd23f;
  --acc-text: #0f9d8a;
  --acc-ink: #1b1b1b;
  --yel: #ffd23f;
  --pink: #ff6f91;
  --mint: #d9f4ec;
  --line: #1b1b1b;
  --line-strong: #1b1b1b;
  --shadow: none;
  --font: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Bai Jamjuree", "Mulish", system-ui, sans-serif;
  --head-w: 700;
  --header-h: 70px;
  --header-bg: rgba(255,253,246,.96);
  --footer-bg: #1b1b1b;
  --call: #0f9d8a;
  --btn-r: 12px;
  --input-r: 10px;
  --input-bg: #fff;
  --nav-bg: #fffdf6;
  --card-r: 14px;
}
*, *::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 ===== */
body { background: var(--bg); }
h1, h2 { letter-spacing: -.01em; }
.logo__text { font-weight: 700; }
.eyebrow { color: var(--pri); background: var(--yel); padding: 3px 10px; border: 2px solid var(--ink); border-radius: 6px; font-size: 12px; }
.btn { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 700; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); filter: none; }
.btn--acc { background: var(--yel); color: var(--ink); }
.btn--pri { background: var(--pri); color: #fff; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.hero { padding: 26px 0 120px; background: var(--mint); border-bottom: 2px solid var(--ink); }
.hero__in { display: grid; gap: 30px; align-items: center; }
.sticker { display: inline-flex; align-items: center; gap: 6px; background: var(--pink); color: #fff; font-weight: 700; font-size: 14px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; transform: rotate(-2deg); margin-bottom: 18px; }
.sticker svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(36px, 9vw, 64px); line-height: 1.1; margin-bottom: 18px; }
.hero mark { background: var(--yel); color: inherit; padding: 0 .12em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__lead { font-size: 17.5px; color: #33423d; max-width: 520px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__pic { position: relative; }
.hero__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); }
.hero__n { position: absolute; right: 10px; bottom: -22px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 8px 14px; font-size: 13px; font-weight: 600; box-shadow: 3px 3px 0 var(--ink); }
.hero__n b { display: block; font: 700 24px/1.1 var(--head); color: var(--pri); }
.match-s { margin-top: -84px; position: relative; padding-bottom: 20px; }
.match { background: #fff; border: 2px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink); padding: 22px; }
.match__h h2 { font-size: clamp(24px, 4vw, 32px); margin: 10px 0 18px; }
.match__f { display: grid; gap: 14px; }
.match__f .btn { align-self: end; }
.match__err { margin: 0; color: #c62828; font-weight: 700; font-size: 14px; }
.match__err:empty { display: none; }
.field select, .field input { border: 2px solid var(--ink); }
.chips-f span { border: 2px solid var(--ink); font-weight: 600; }
.chips-f input:checked + span { background: var(--pri); border-color: var(--ink); color: #fff; }
.match__res { margin-top: 20px; border-top: 2px dashed var(--ink); padding-top: 20px; display: grid; gap: 16px; }
.match__sum { display: grid; gap: 12px; }
.match__sum > p { margin: 0; font-size: 16px; }
.match__price { background: var(--mint); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 16px; display: grid; }
.match__price span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.match__price b { font: 700 28px/1.2 var(--head); color: var(--pri); }
.match__price small { font-size: 12.5px; color: var(--muted); }
.match__list { display: grid; gap: 10px; }
.mt { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; border: 2px solid var(--ink); border-radius: 14px; padding: 8px 10px; }
.mt img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; object-position: top; }
.mt b { display: block; font-size: 15.5px; }
.mt small { display: block; font-size: 12.5px; color: var(--muted); }
.mt small.ok { color: #13795b; font-weight: 700; }
.mt small.warn { color: #a0522d; font-weight: 700; }
.mt-empty { margin: 0; background: #fff5d6; border: 2px solid var(--ink); border-radius: 14px; padding: 14px; }
.mt-empty a { font-weight: 700; text-decoration: underline; }
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.subs button { display: grid; justify-items: start; gap: 4px; text-align: left; border: 2px solid var(--ink); border-radius: 16px; background: #fff; padding: 16px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.subs button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--mint); }
.subs svg { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--yel); border: 2px solid var(--ink); margin-bottom: 6px; }
.subs b { font: 700 17px/1.2 var(--head); }
.subs small { font-size: 13px; color: var(--muted); }
.subs button:nth-child(3n+2) svg { background: var(--pink); fill: #fff; }
.subs button:nth-child(3n) svg { background: var(--pri); fill: #fff; }
.sec-head--row { max-width: none; display: grid; gap: 10px; }
.sec-head--row p { max-width: 420px; }
.tf { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; padding: 2px 4px 6px 2px; }
.tf::-webkit-scrollbar { display: none; }
.tf button { flex: none; border: 2px solid var(--ink); background: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 14px; }
.tf [aria-pressed="true"] { background: var(--ink); color: #fff; }
.tus { display: grid; gap: 18px; }
.tu { background: #fff; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 5px 5px 0 var(--ink); }
.tu__img { position: relative; border-bottom: 2px solid var(--ink); background: var(--mint); }
.tu__img img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.tu__r { position: absolute; right: 10px; top: 10px; display: inline-flex; gap: 4px; align-items: center; background: var(--yel); border: 2px solid var(--ink); border-radius: 99px; padding: 3px 9px; font-weight: 700; font-size: 13px; }
.tu__r svg { width: 14px; height: 14px; }
.tu__b { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.tu h3 { font: 700 19px/1.2 var(--head); }
.tu__exp { font-size: 13px; color: var(--pri); font-weight: 700; margin: 4px 0 8px; }
.tu__b > p:not([class]) { font-size: 14.5px; color: var(--muted); }
.tu__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tu__tags span { font-size: 12px; font-weight: 700; background: var(--mint); border: 1.5px solid var(--ink); border-radius: 6px; padding: 2px 8px; }
.tu .btn { margin-top: auto; }
.sks { display: grid; gap: 18px; }
.sk { background: #fff; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; }
.sk img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); }
.sk__b { position: relative; padding: 26px 18px 18px; }
.sk__ic { position: absolute; top: -26px; left: 16px; width: 50px; height: 50px; border-radius: 14px; background: var(--pink); border: 2px solid var(--ink); display: grid; place-items: center; }
.sk__ic svg { width: 26px; height: 26px; fill: #fff; }
.sk h3 { font: 700 20px/1.2 var(--head); }
.sk__age { font-weight: 700; color: var(--pri); font-size: 14px; margin: 4px 0 8px; }
.sk__b > p:not([class]) { font-size: 14.5px; color: var(--muted); }
.sk__m { display: flex; gap: 6px; align-items: center; font-size: 13.5px; font-weight: 600; }
.sk__m svg { width: 16px; height: 16px; }
.sk__f { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 2px dashed var(--line-strong); padding-top: 14px; }
.sk__f b { font: 700 20px/1.2 var(--head); }
.sk__f small { font: 500 12.5px var(--font); color: var(--muted); margin-left: 3px; }
.one-s { background: var(--yel); border-block: 2px solid var(--ink); }
.one { display: grid; gap: 30px; align-items: center; }
.one__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); }
.one h2 { font-size: clamp(28px, 4.6vw, 42px); margin: 12px 0 18px; }
.one .eyebrow { background: #fff; }
.flow { display: grid; gap: 12px; counter-reset: f; }
.flow li { counter-increment: f; position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px 12px 58px; }
.flow li::before { content: counter(f); position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--pri); color: #fff; font: 700 16px/32px var(--head); text-align: center; }
.flow b { font-size: 16px; }
.flow p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.price > div { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 20px; box-shadow: 4px 4px 0 var(--ink); }
.price h3 { font: 700 20px/1.2 var(--head); }
.price p { margin: 2px 0 10px; color: var(--muted); font-size: 14px; }
.price b { font: 700 30px/1.1 var(--head); color: var(--pri); }
.price small { display: block; font-size: 13px; color: var(--muted); }
.price .is-hot { background: var(--mint); }
.price .is-hot span { position: absolute; top: -14px; right: 14px; background: var(--pink); color: #fff; border: 2px solid var(--ink); border-radius: 99px; font-size: 12px; font-weight: 700; padding: 3px 10px; }
.revs { display: grid; gap: 16px; }
.revs figure { margin: 0; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 22px; }
.revs figure:nth-child(2) { background: var(--mint); }
.revs blockquote { margin: 0 0 14px; font-size: 16.5px; }
.revs figcaption { font-size: 13px; color: var(--muted); }
.revs figcaption b { display: block; color: var(--ink); font-size: 15px; }
.trial-s { background: var(--pri); color: #fff; border-top: 2px solid var(--ink); }
.trial { display: grid; gap: 28px; }
.trial h2 { font-size: clamp(30px, 5vw, 44px); margin: 12px 0; }
.trial__l > p { color: rgba(255,255,255,.85); }
.trial__c { display: grid; gap: 10px; margin-top: 16px; }
.trial__c li { display: flex; gap: 10px; align-items: center; }
.trial__c svg { width: 18px; height: 18px; fill: var(--yel); flex: none; }
.card-f { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 22px; padding: 22px; box-shadow: 8px 8px 0 var(--ink); }
.bk { display: grid; gap: 14px; }
.faq-w { max-width: 820px; }
.faq details { border: 2px solid var(--ink); }
@media (min-width: 600px) {
  .bk { grid-template-columns: 1fr 1fr; }
  .bk .field--full, .bk .chips-f { grid-column: 1 / -1; }
  .match__f { grid-template-columns: 1fr 1fr; }
  .match__f .chips-f { grid-column: 1 / -1; }
  .subs { grid-template-columns: repeat(4, 1fr); }
  .tus { grid-template-columns: 1fr 1fr; }
  .sks { grid-template-columns: repeat(3, 1fr); }
  .revs { grid-template-columns: repeat(3, 1fr); }
  .match__sum { grid-template-columns: 1fr auto; align-items: center; }
  .match__list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero { padding: 48px 0 140px; }
  .hero__in { grid-template-columns: 1fr 1fr; gap: 56px; }
  .match { padding: 30px; }
  .match__f { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto auto; align-items: end; }
  .match__f .chips-f { grid-column: auto; }
  .match__f .chips-f__in { flex-wrap: nowrap; }
  .sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
  .tus { grid-template-columns: repeat(4, 1fr); }
  .one { grid-template-columns: 1fr 1fr; gap: 64px; }
  .price { grid-template-columns: repeat(4, 1fr); }
  .trial { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
  .card-f { padding: 30px; }
}
@media (max-width: 599.98px) {
  .tu { flex-direction: row; }
  .tu__img { width: 120px; flex: none; border-bottom: 0; border-right: 2px solid var(--ink); }
  .tu__img img { height: 100%; aspect-ratio: auto; }
  .tu__r { right: auto; left: 6px; top: 6px; }
  .tu__b { padding: 12px; min-width: 0; }
  .tu__b > p:not([class]) { display: none; }
  .tu .btn { padding: 8px 10px; font-size: 13px; }
  .mt { grid-template-columns: 48px 1fr; }
  .mt img { width: 48px; height: 48px; }
  .mt .btn { grid-column: 1 / -1; }
  .price > div { padding: 16px 14px; }
  .price b { font-size: 24px; }
  .sk img { aspect-ratio: 16 / 9; }
}

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--card-r, 14px); background: var(--card-bg, #fff); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .2s; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
