/* =========================================================
   Lớp Mở · template gd-03 (thietkeweb.dev)
   Mobile-first · no framework
   ========================================================= */
:root {
  --bg: #fbfaff;
  --surface: #f4f2fb;
  --ink: #16123a;
  --muted: #5f5c78;
  --pri: #5b3df5;
  --pri-ink: #fff;
  --acc: #5b3df5;
  --acc-text: #5b3df5;
  --acc-ink: #fff;
  --lime: #c8f169;
  --line: #e7e4f2;
  --line-strong: #d3cfe6;
  --shadow: 0 18px 36px -20px rgba(91,61,245,.7);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --head-w: 800;
  --header-h: 68px;
  --header-bg: rgba(251,250,255,.94);
  --footer-bg: #100d2b;
  --call: #5b3df5;
  --btn-r: 12px;
  --input-r: 10px;
  --input-bg: #fff;
  --nav-bg: #fbfaff;
  --mc-bg: #fff;
  --mc-note: #f1edff;
}
*, *::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: -.025em; }
.logo__text { font-weight: 800; letter-spacing: -.02em; }
.eyebrow { color: var(--pri); letter-spacing: .1em; }
.btn--line { color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero { padding: 28px 0 56px; background: linear-gradient(180deg, #f1edff 0, var(--bg) 100%); overflow: hidden; }
.hero__in { display: grid; gap: 40px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; font-size: 13.5px; font-weight: 600; margin-bottom: 18px; }
.hero__badge b { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 9.6vw, 70px); line-height: 1.04; margin-bottom: 18px; }
.hero h1 span { color: var(--pri); }
.hero__lead { font-size: 17.5px; color: var(--muted); max-width: 520px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 24px; }
.hero__cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.hero__cats span { color: var(--muted); margin-right: 4px; }
.hero__cats a { border: 1px solid var(--line-strong); background: #fff; padding: 6px 12px; border-radius: 999px; font-weight: 600; transition: border-color .2s, color .2s; }
.hero__cats a:hover { border-color: var(--pri); color: var(--pri); }
.hero__pic { position: relative; padding: 0 0 30px; }
.hero__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; }
.ui { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(22,18,58,.45); padding: 12px 14px; }
.ui--prog { left: -8px; bottom: 0; display: flex; gap: 12px; align-items: center; width: 250px; }
.ui__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--pri); display: grid; place-items: center; flex: none; }
.ui__ic svg { width: 20px; height: 20px; fill: #fff; }
.ui--prog div { flex: 1; min-width: 0; }
.ui b { display: block; font-size: 14.5px; }
.ui small { display: block; font-size: 12.5px; color: var(--muted); }
.ui--prog i { display: block; height: 6px; background: #eeeaff; border-radius: 99px; margin-top: 6px; }
.ui--prog em { display: block; height: 100%; background: var(--pri); border-radius: 99px; }
.ui--rate { right: -6px; top: 18px; text-align: center; padding: 12px 16px; }
.ui--rate b { font: 800 28px/1 var(--head); }
.ui--rate span { display: flex; justify-content: center; margin: 4px 0 2px; }
.ui--rate svg { width: 14px; height: 14px; fill: #f5a524; }
.stats-s { border-block: 1px solid var(--line); background: #fff; }
.stats { display: grid; grid-template-columns: 1fr 1fr; }
.stats div { padding: 20px 8px; text-align: center; font-size: 13.5px; color: var(--muted); }
.stats b { display: block; font: 800 26px/1.2 var(--head); color: var(--ink); }
.sec-head--row { max-width: none; display: grid; gap: 10px; }
.sec-head--row p { max-width: 380px; }
.fbar { display: grid; gap: 12px; margin-bottom: 22px; }
.fg { display: grid; gap: 6px; min-width: 0; }
.fg__l { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.fg__b { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.fg button { flex: none; border: 1px solid var(--line-strong); background: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.fg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fbar__r { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.fbar__r select { border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; background: #fff; }
.cgrid { display: grid; gap: 18px; }
.cc { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.cc:hover { box-shadow: 0 24px 40px -28px rgba(22,18,58,.5); transform: translateY(-3px); }
.cc__img { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #eee; cursor: pointer; }
.cc__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cc__off { position: absolute; left: 12px; top: 12px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 12.5px; padding: 4px 9px; border-radius: 8px; }
.cc__b { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.cc__tag { display: flex; gap: 6px; margin: 0 0 8px; }
.cc__tag span { font-size: 12px; font-weight: 700; background: #f1edff; color: var(--pri); padding: 3px 9px; border-radius: 6px; }
.cc__tag span + span { background: #f2f2f5; color: var(--muted); }
.cc h3 { font: 700 18px/1.3 var(--head); margin-bottom: 10px; }
.cc h3 button { all: unset; cursor: pointer; }
.cc h3 button:hover { color: var(--pri); }
.cc h3 button:focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; }
.cc__ins { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
.cc__ins img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cc__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.cc__r { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-weight: 700; }
.cc__r svg { width: 15px; height: 15px; fill: #f5a524; }
.cc__f { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cc__p { margin: 0; line-height: 1.15; }
.cc__p b { display: block; font: 800 19px/1.2 var(--head); }
.cc__p s { font-size: 13px; color: var(--muted); }
.cc__p small { display: block; font-size: 12px; color: var(--muted); }
.cc .btn svg { width: 16px; height: 16px; }
.how-s { background: var(--ink); color: #fff; }
.how-s .sec-head h2 { color: #fff; }
.how-s .eyebrow { color: var(--lime); }
.how { display: grid; gap: 16px; counter-reset: s; }
.how li { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 24px; }
.how li > span { position: absolute; right: 20px; top: 14px; font: 800 48px/1 var(--head); color: rgba(255,255,255,.12); }
.how svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--lime); fill: var(--ink); margin-bottom: 14px; }
.how b { display: block; font-size: 18px; margin-bottom: 6px; }
.how p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }
.ins { display: grid; gap: 16px; }
.ins article { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.ins img { width: 96px; height: 110px; object-fit: cover; border-radius: 14px; }
.ins h3 { font: 700 18px/1.2 var(--head); }
.ins p { margin: 4px 0; font-size: 14.5px; color: var(--muted); }
.ins small { font-size: 12.5px; font-weight: 700; color: var(--pri); }
.revs { display: grid; gap: 16px; }
.revs figure { margin: 0; background: #fff; border-radius: 20px; padding: 22px; border: 1px solid var(--line); }
.revs__s { display: flex; gap: 2px; margin: 0 0 10px; }
.revs__s svg { width: 16px; height: 16px; fill: #f5a524; }
.revs blockquote { margin: 0 0 14px; font-size: 16px; }
.revs figcaption { font-size: 13px; color: var(--muted); }
.revs figcaption b { display: block; color: var(--ink); font-size: 15px; }
.checkout { border-top: 1px solid var(--line); }
.co h2 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.co .bk { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; }
.co__list li { align-items: flex-start; }
.coupon { margin-top: 20px; }
.coupon label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.coupon__in { display: flex; gap: 8px; }
.coupon__in input { flex: 1; min-width: 0; min-height: 42px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; background: #fff; }
.coupon__msg { font-size: 13.5px; margin: 6px 0 0; min-height: 1em; }
.coupon__msg.ok { color: #1a8a4a; } .coupon__msg.bad { color: #c62828; }
.co__hint { display: flex; gap: 8px; align-items: center; font-size: 14px; background: #f1edff; color: var(--pri); padding: 10px 14px; border-radius: 12px; margin-top: 14px; font-weight: 600; }
.co__hint svg { width: 18px; height: 18px; flex: none; }
.agree { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; font-size: 14px; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pri); }
.agree .err { grid-column: 2; margin: 0; }
.chips-f input:checked + span { background: var(--pri); border-color: var(--pri); }
.mc__list img { height: 48px; }
.mc__list li { grid-template-columns: 72px 1fr auto; }
.mc__list img { width: 72px; }
.cd { position: fixed; inset: 0; z-index: 95; display: grid; place-items: end center; }
.cd__ov { position: absolute; inset: 0; background: rgba(15,12,40,.6); }
.cd__box { position: relative; background: #fff; width: 100%; max-width: 760px; max-height: 92dvh; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; overflow: hidden; }
.cd__x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.cd__x svg { width: 22px; height: 22px; }
.cd__head { display: grid; gap: 14px; padding: 18px 18px 0; }
.cd__head img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; }
.cd__head h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 6px; }
.cd__ins { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.cd__body { padding: 6px 18px 18px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.cd__head + .cd__body { border-top: 0; }
.cd__body > p { color: var(--muted); }
.cd__body h3 { font: 700 17px/1.3 var(--head); margin: 18px 0 10px; }
.cd__body h3 small { font: 500 13px var(--font); color: var(--muted); margin-left: 6px; }
.cd__learn { display: grid; gap: 6px; font-size: 14.5px; }
.cd__learn li { padding-left: 26px; position: relative; }
.cd__learn li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--pri); border-bottom: 2.5px solid var(--pri); transform: rotate(-45deg); }
.cd__cur { display: grid; gap: 8px; }
.cd__cur details { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cd__cur summary { list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; cursor: pointer; background: #faf9fe; font-size: 14.5px; }
.cd__cur summary::-webkit-details-marker { display: none; }
.cd__cur summary small { color: var(--muted); flex: none; }
.cd__cur ol { padding: 4px 14px 8px; }
.cd__cur li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.cd__cur li:first-child { border: 0; }
.cd__cur li small { color: var(--muted); font-variant-numeric: tabular-nums; }
.cd__cur em { font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--lime); padding: 1px 7px; border-radius: 6px; margin-left: 4px; white-space: nowrap; }
.cd__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); background: #fff; }
.cd__foot .cc__p b { font-size: 22px; }
.cd__foot .cc__p s { margin-right: 6px; }
.faq-w { max-width: 820px; }
@media (min-width: 600px) {
  .cgrid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .how { grid-template-columns: repeat(3, 1fr); }
  .revs { grid-template-columns: repeat(3, 1fr); }
  .co .bk { grid-template-columns: 1fr 1fr; }
  .co .field--full, .co .chips-f { grid-column: 1 / -1; }
  .cd { place-items: center; padding: 20px; }
  .cd__box { border-radius: 24px; max-height: 88dvh; }
  .cd__head { grid-template-columns: 220px 1fr; align-items: center; padding: 22px 22px 6px; }
  .cd__head img { aspect-ratio: 4 / 3; }
  .cd__body { padding: 6px 22px 22px; }
}
@media (min-width: 960px) {
  .hero { padding: 48px 0 80px; }
  .hero__in { grid-template-columns: 1fr 1fr; gap: 56px; }
  .sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
  .fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
  .fg { display: flex; align-items: center; gap: 10px; }
  .fbar__r { margin-left: auto; justify-content: flex-end; white-space: nowrap; }
  .cgrid { grid-template-columns: repeat(4, 1fr); }
  .ins { grid-template-columns: repeat(3, 1fr); }
  .ins article { grid-template-columns: 1fr; padding: 0; overflow: hidden; gap: 0; }
  .ins img { width: 100%; height: auto; aspect-ratio: 6 / 5; border-radius: 0; }
  .ins article > div { padding: 16px 18px 18px; }
}
@media (max-width: 599.98px) {
  .hero__pic { margin: 0 6px; }
  .cgrid { gap: 12px; }
  .cc { flex-direction: row; border-radius: 16px; }
  .cc__img { width: 116px; flex: none; }
  .cc__img img { height: 100%; aspect-ratio: auto; }
  .cc__off { left: 8px; top: 8px; font-size: 11.5px; padding: 3px 7px; }
  .cc__b { padding: 12px; min-width: 0; }
  .cc__tag { margin-bottom: 6px; }
  .cc__tag span { font-size: 11px; padding: 2px 7px; }
  .cc h3 { font-size: 16px; margin-bottom: 6px; }
  .cc__ins { display: none; }
  .cc__meta { font-size: 12.5px; gap: 2px 10px; margin-bottom: 10px; }
  .cc__p b { font-size: 17px; }
  .cc .btn { padding: 8px 12px; min-height: 38px; }
}

.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); }
