:root {
  --bg: #0a1712;
  --surface: #11241c;
  --surface2: #17312a;
  --felt: #0f3a2a;
  --ink: #f3efe2;
  --muted: #c3cbbd;
  --accent: #ab7acd;
  --gold: #e0b252;
  --line: rgba(224, 178, 82, 0.3);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html.cb-lock {
  overflow: hidden;
}

body.cb-body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Sarabun", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 72px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--ink);
}

h1, h2 {
  font-family: "Yeseva One", "Sarabun", serif;
}

h1 {
  font-size: clamp(28px, 5.2vw, 46px);
  line-height: 1.3;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.35;
  margin: 0 0 14px;
}

.cb-lat {
  font-family: "Yeseva One", "Sarabun", serif;
}

img {
  max-width: 100%;
  height: auto;
}

a.cb-skip {
  position: absolute;
  top: -120px;
  left: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--gold);
  color: #0a1712;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
}

a.cb-skip:focus {
  top: 12px;
  left: 12px;
}

header.cb-top {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: #0a1712;
  border-bottom: 1px solid var(--line);
}

div.cb-top-in {
  display: flex;
  align-items: center;
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  gap: 16px;
}

a.cb-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

svg.cb-mark {
  width: 44px;
  height: 30px;
  flex-shrink: 0;
  display: block;
}

span.cb-wm {
  font-size: 21px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

span.cb-wm b.cb-lat {
  color: var(--ink);
  font-weight: 700;
}

span.cb-wm span.cb-lat {
  color: var(--gold);
  font-weight: 700;
}

nav.cb-menu {
  display: none;
  margin-left: auto;
}

nav.cb-menu > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

nav.cb-menu > ul > li {
  margin: 0;
  padding: 0;
}

nav.cb-menu > ul > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

nav.cb-menu > ul > li > a:hover,
nav.cb-menu > ul > li > a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

a.cb-top-cta {
  font-size: 14px;
  padding: 8px 16px;
  margin-left: auto;
}

button.cb-burger {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}

button.cb-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

nav.cb-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 12, 9, 0.72);
  display: flex;
}

nav.cb-drawer[hidden] {
  display: none;
}

div.cb-dr-in {
  width: min(86vw, 340px);
  height: 100%;
  background: var(--surface);
  padding: 20px;
  overflow-y: auto;
  border-right: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  animation: cb-dr-slide 180ms ease-out;
}

@keyframes cb-dr-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

a.cb-dr-home {
  font-size: 18px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

div.cb-dr-grp {
  margin-top: 18px;
}

p.cb-dr-h {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 8px;
  font-weight: 600;
  text-transform: uppercase;
}

div.cb-dr-grp ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

div.cb-dr-grp li a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
  transition: color 180ms ease;
}

div.cb-dr-grp li a:hover {
  color: var(--gold);
}

nav.cb-drawer a.cb-btn.cb-btn-line {
  width: 100%;
  margin-top: auto;
}

.cb-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  border: 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.cb-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.cb-btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.cb-btn-gold {
  background: var(--gold);
  color: #0a1712;
}

.cb-btn-gold:hover {
  color: #0a1712;
}

.cb-btn-line {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.cb-btn-line:hover {
  color: var(--gold);
}

.cb-btn-lg {
  min-height: 50px;
  padding: 12px 26px;
  font-size: 16px;
}

nav.cb-bn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0f2a21;
  border-top: 1px solid var(--gold);
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.cb-bn-tab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  border: 0;

  min-height: 44px;
  text-decoration: none;
  cursor: pointer;
  padding: 4px 0;
  transition: color 180ms ease;
}

.cb-bn-tab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.cb-bn-tab:hover,
.cb-bn-tab[aria-current="page"] {
  color: var(--gold);
}

nav.cb-crumb {
  font-size: 13px;
  padding: 10px 16px;
  max-width: 1240px;
  margin: 0 auto;
}

nav.cb-crumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

nav.cb-crumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

nav.cb-crumb li:not(:last-child)::after {
  content: "/";
  color: var(--accent);
}

nav.cb-crumb a {
  color: var(--muted);
  text-decoration: none;
}

nav.cb-crumb a:hover {
  color: var(--gold);
}

main {
  display: block;
}

section.cb-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

div.cb-hero-txt {
  display: block;
}

p.cb-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.cb-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 16px;
  line-height: 1.6;
}

div.cb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

div.cb-felt {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 520 / 330;
}

svg.cb-table {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

ul.cb-zones {
  list-style: none;
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 17%;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  z-index: 1;
}

li.cb-z1, li.cb-z2, li.cb-z3 {
  font-size: clamp(12px, 1.7vw, 15px);
  letter-spacing: 0.16em;
  color: var(--gold);
  background: rgba(10, 23, 18, 0.55);
  padding: 4px 8px;
  border-radius: 4px;
}

div.cb-cards {
  position: absolute;
  inset: 4% 12% 20% 12%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
  z-index: 2;
}

figure.cb-card {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
}

figure.cb-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

figure.cb-card.cb-c1 { transform: rotate(-7deg); }
figure.cb-card.cb-c2 { transform: translateY(-4%); }
figure.cb-card.cb-c3 { transform: rotate(7deg); }

section.cb-phero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 16px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

div.cb-phero-txt {
  display: block;
}

section.cb-phero h1 {
  font-size: clamp(26px, 4.4vw, 38px);
  margin: 0 0 12px;
}

ul.cb-phero-ims {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

ul.cb-phero-ims li img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
}

section.cb-types {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 16px;
}

section.cb-types h2,
section.cb-shelf h2 {
  position: relative;
  padding-bottom: 12px;
  margin: 0 0 20px;
}

section.cb-types h2::after,
section.cb-shelf h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

ul.cb-ttl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

li.cb-tt {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  align-items: flex-start;
}

li.cb-tt img {
  width: 88px;
  height: auto;
  flex: none;
  border-radius: 6px;
  display: block;
}

li.cb-tt h3 {
  font-size: 19px;
  margin: 0 0 4px;
  color: var(--ink);
}

li.cb-tt p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

article.cb-prose {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 16px;
}

article.cb-prose.cb-long,
.cb-long {
  max-width: 860px;
}

article.cb-prose h2 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  border-left: 4px solid var(--gold);
  padding-left: 12px;
}

article.cb-prose h3 {
  font-size: 20px;
  color: var(--gold);
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}

article.cb-prose p {
  margin: 0 0 1.05em;
}

article.cb-prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 180ms ease;
}

article.cb-prose a:hover {
  color: #f3d98f;
}

article.cb-prose ul,
article.cb-prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.05em;
}

article.cb-prose li {
  margin-bottom: 0.4em;
}

article.cb-prose strong {
  color: var(--ink);
}

article.cb-prose table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
}

article.cb-prose th,
article.cb-prose td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  overflow-wrap: break-word;
  word-break: normal;
}

article.cb-prose th {
  background: var(--surface2);
  color: var(--ink);
  text-align: left;
}

aside.cb-mid {
  text-align: center;
  margin: 28px 0;
  padding: 18px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 10px;
}

aside.cb-mid p {
  margin: 0 0 12px;
}

section.cb-shelf {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px;
}

ul.cb-sgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 14px;
}

li.cb-sc {
  display: flex;
  flex-direction: column;
}

li.cb-sc img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
}

li.cb-sc span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  overflow-wrap: break-word;
  word-break: normal;
}

section.cb-prov {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px;
}

ul.cb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

li.cb-chip {
  width: 96px;
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(171, 122, 205, 0.5);
  border-radius: 10px;
  padding: 8px;
}

li.cb-chip img {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

li.cb-chip span {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

p.cb-small {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
}

section.cb-sa {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 16px;
}

div.cb-sa-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

table.cb-vt {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
  margin: 0 auto;
}

table.cb-vt th,
table.cb-vt td {
  padding: 10px 14px;
  border: 1px solid var(--line);
}

table.cb-vt th {
  background: var(--surface2);
  color: var(--gold);
  text-align: left;
}

section.cb-myth {
  padding: 20px 16px;
}

div.cb-myth-in {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(171, 122, 205, 0.12);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 22px;
}

section.cb-myth h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

section.cb-myth h2::after {
  display: none;
}

section.cb-myth .cb-btn,
div.cb-myth-in .cb-btn {
  margin-top: 12px;
}

section.cb-gal {
  padding: 8px 16px 20px;
}

div.cb-gal-in {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

figure.cb-gf {
  margin: 0;
  width: 150px;
}

figure.cb-gf img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
}

figure.cb-gf figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  text-align: center;
}

section.cb-faq {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 16px;
}

details.cb-q {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
}

details.cb-q summary {
  padding: 14px 44px 14px 16px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--ink);
}

details.cb-q summary::-webkit-details-marker {
  display: none;
}

details.cb-q summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
}

details.cb-q[open] summary::after {
  content: "\2212";
}

details.cb-q p {
  padding: 0 16px 14px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

section.cb-cta {
  margin: 24px 16px 0;
  max-width: 960px;
  text-align: center;
  padding: 28px 18px;
  background: linear-gradient(135deg, var(--felt) 0%, var(--surface) 100%);
  border: 1px solid var(--gold);
  border-radius: 14px;
}

section.cb-cta h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

section.cb-cta p {
  font-size: 18px;
  max-width: 60ch;
  margin: 0 auto 16px;
  color: var(--muted);
}

footer.cb-foot {
  background: #07110d;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding: 28px 16px 84px;
}

div.cb-foot-in {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.cb-fh {
  font-size: 15px;
  color: var(--gold);
  margin: 0 0 8px;
  font-weight: 600;
}

.cb-fc {
  display: flex;
  flex-direction: column;
}

.cb-fc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cb-fc li a {
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
  display: inline-block;
  text-decoration: none;
  min-height: 44px;
  line-height: 34px;
  transition: color 180ms ease;
}

.cb-fc li a:hover {
  color: var(--gold);
}

.cb-fbrand p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.6;
}

aside.cb-foot-quote {
  max-width: 1240px;
  margin: 18px auto;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

aside.cb-foot-quote p {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--ink);
}

aside.cb-foot-quote a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

p.cb-legal {
  font-size: 13px;
  color: var(--muted);
  max-width: 1240px;
  margin: 12px auto;
  line-height: 1.6;
}

strong.cb-age {
  display: inline-block;
  padding: 1px 8px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  margin-right: 8px;
  font-size: 12px;
  font-weight: 700;
}

p.cb-copy {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

@media (min-width: 600px) {
  div.cb-foot-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  body.cb-body {
    font-size: 17px;
    padding-bottom: 0;
  }

  nav.cb-bn {
    display: none;
  }

  footer.cb-foot {
    padding-bottom: 28px;
  }

  ul.cb-ttl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  div.cb-sa-in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  figure.cb-gf {
    width: 190px;
  }
}

@media (min-width: 800px) {
  section.cb-phero {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
  }
}

@media (min-width: 900px) {
  section.cb-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}

@media (min-width: 992px) {
  section.cb-cta {
    margin: 24px auto 0;
  }
}

@media (min-width: 1000px) {
  div.cb-foot-in {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  nav.cb-menu {
    display: block;
  }

  button.cb-burger {
    display: none;
  }

  a.cb-top-cta {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  div.cb-dr-in {
    animation: none;
  }

  .cb-btn,
  .cb-bn-tab,
  nav.cb-menu > ul > li > a,
  div.cb-dr-grp li a,
  .cb-fc li a,
  article.cb-prose a {
    transition: none;
  }
}

.cb-bn-menu {
  font-family: inherit;
  cursor: pointer;
}

.cb-top-cta {
  white-space: nowrap;
  flex: none;
}

@media (max-width: 1023px) {
  .cb-top-cta {
    padding: 8px 12px;
    font-size: 14px;
  }
  .cb-wm {
    font-size: 19px;
  }
}

.cb-card img {
  object-fit: contain;
}

.cb-crumb a {
  display: inline-block;
  padding: 8px 4px;
  min-height: 32px;
}

.cb-prose .cb-btn,
.cb-prose .cb-btn:hover {
  text-decoration: none;
  color: var(--gold);
}

.cb-phero + .cb-prose {
  padding-top: 8px;
}

.cb-prose > h2:first-child {
  margin-top: 0.6em;
}

h1, h2, h3 {
  text-wrap: balance;
}

.cb-nw{white-space:nowrap}
