/* ════════════════ Kota Bharu branch on the Penang website ════════════════
   MOCK-UP for client sign-off (Nov 2026). See inc/kota-bharu/template-branches.php.
   Loaded on the Kota Bharu page (/kota-bharu/, in Malay) and, on the Penang
   pages, only when the address carries ?kb=<letter>: the letter picks which
   way in to the Kota Bharu page is shown. */

/* ── Layout A, desktop: the right third of the hero photo band ── */
.hero-branch { display: none; }
@media (min-width: 1001px) {
  .hero-carousel.has-branch { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: stretch; }
  .hero-carousel.has-branch .hero-cslide-track { min-width: 0; }
  .hero-carousel.has-branch .hero-cslide { flex: 0 0 50%; }
  /* The "9 Worlds" badge belongs to the Penang photos, so it moves off the card. */
  .hero-carousel.has-branch .hero-carousel-badge { right: calc(33.333% + 16px); }

  .hero-branch {
    display: block; position: relative; overflow: hidden; min-height: 0;
    border-radius: var(--r-card); background: var(--sky);
    box-shadow: var(--shadow-soft); color: var(--ink-strong); text-decoration: none;
  }
  .hero-branch img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 100%; display: block;
    transition: transform .5s ease;
  }
  .hero-branch:hover img { transform: scale(1.04); }
  .hero-branch-body {
    position: absolute; left: 12px; right: 12px; bottom: 12px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
    padding: 12px 16px 13px; border-radius: 12px;
    background: rgba(255, 255, 255, .95);
  }
  .hero-branch-tag {
    padding: 3px 9px; border-radius: var(--r-pill); background: var(--uforea-yellow);
    font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  }
  .hero-branch-title {
    margin-top: 4px; font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
    font-size: clamp(22px, 2vw, 28px); line-height: 1.1;
  }
  .hero-branch-sub { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
  .hero-branch:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 3px; }
}

/* ── Layout A, phones and tablets: slim announcement above the hero photo ── */
.branch-pill { display: none; }
@media (max-width: 1000px) {
  .branch-pill {
    position: relative; z-index: 3;
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 12px; padding: 10px 14px; min-height: 44px;
    border-radius: var(--r-pill); background: var(--sky); border: 1px solid #BFE0F2;
    color: var(--ink-strong); font-size: 14.5px; line-height: 1.25; text-decoration: none;
  }
  .branch-pill-tag {
    flex: 0 0 auto; padding: 3px 9px; border-radius: var(--r-pill); background: var(--uforea-yellow);
    font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  }
  .branch-pill-text { flex: 1 1 auto; min-width: 0; }
  .branch-pill svg { flex: 0 0 auto; }
}

/* ── Layout C: Penang / Kota Bharu switch ──
   Two plain links between two pages. On the Penang homepage it sits at the top
   of the hero; the Kota Bharu page carries the same switch in every layout. */
.branch-tabs {
  position: relative; z-index: 3;
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin: 0 0 18px; padding: 4px; border-radius: 18px;
  background: rgba(63, 63, 63, .08);
}
.branch-tab {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px;
  min-width: 236px; padding: 12px 18px 11px; border-radius: 14px;
  color: var(--ink-strong); text-decoration: none;
}
/* Each side leads with its shop's logo: "UFOREA" and "UFOREA Sports". */
.branch-tab-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; margin-bottom: 6px; }
.branch-tab-logo { display: block; height: 26px; width: auto; max-width: 100%; }
/* The UFOREA Sports logo is twice as wide: it takes the tab's width instead of its height. */
.branch-tab-logo.is-sports { height: auto; width: 100%; max-width: 230px; }
.branch-tab-brand { min-height: 26px; }
.branch-tab-sports { font-size: 13px; font-weight: 700; letter-spacing: .16em; line-height: 1; text-transform: uppercase; color: var(--ink-strong); }
.branch-tab-name { font-weight: 700; font-size: 16px; line-height: 1.25; white-space: nowrap; }
.branch-tab-meta { font-size: 12.5px; line-height: 1.3; color: var(--ink); white-space: nowrap; }
/* "Baru" rides on the tab's top corner like a sticker. */
.branch-tab-new {
  position: absolute; top: -8px; right: 10px;
  padding: 2px 8px; border-radius: var(--r-pill); background: var(--uforea-yellow); border: 2px solid #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase;
}
.branch-tab[aria-current] { background: #fff; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .45); }
.branch-tab:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 2px; }
@media (max-width: 720px) {
  .branch-tabs { display: grid; margin-bottom: 22px; } /* clears the "9 Worlds" badge above the photo */
  .branch-tab { min-width: 0; padding: 11px 10px 10px; }
  .branch-tab-brand { gap: 3px 6px; margin-bottom: 5px; }
  .branch-tab-logo { height: 20px; }
  .branch-tab-logo.is-sports { height: auto; }
  .branch-tab-brand { min-height: 20px; }
  .branch-tab-sports { font-size: 11px; letter-spacing: .13em; }
  .branch-tab-name { font-size: 15.5px; }
}
@media (max-width: 380px) {
  .branch-tab { padding: 10px 8px 9px; }
  .branch-tab-logo { height: 17px; }
  .branch-tab-sports { font-size: 10px; letter-spacing: .1em; }
  .branch-tab-name { font-size: 14.5px; }
  .branch-tab-meta { font-size: 11.5px; }
}

/* ── Layout D: Kota Bharu holds the right third of the first screen ──
   The link is stretched over the card, so the whole card opens the page. */
.hero-kbcol {
  position: relative; z-index: 3; overflow: hidden;
  border-radius: 20px; border: 1px solid #BFE0F2;
  background: linear-gradient(180deg, var(--sky) 0%, #F3F9FD 100%);
  color: var(--ink-strong);
}
.hero-kbcol-art { position: relative; overflow: hidden; }
.hero-kbcol-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-kbcol-tag {
  display: inline-block; padding: 3px 9px; border-radius: var(--r-pill); background: var(--uforea-yellow);
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero-kbcol-title {
  margin: 6px 0 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
  font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1;
}
.hero-kbcol-open { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.hero-kbcol-slogan {
  margin: 14px 0 0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600;
  font-size: 19px; line-height: 1.3; color: var(--trustworthy-text);
}
.hero-kbcol-link { margin-top: 18px; width: 100%; justify-content: center; }
.hero-kbcol-link::after { content: ""; position: absolute; inset: 0; }
/* A transform would shrink the stretched area to the button itself. */
.hero-kbcol-link:hover, .hero-kbcol-link:active { transform: none; }
.hero-kbcol-link:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 3px; }

@media (min-width: 1001px) {
  /* The hero becomes two columns: Penang keeps two thirds, Kota Bharu the rest. */
  body.kb-mock-d .hero > .container {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-auto-flow: row dense; column-gap: 28px; align-items: start;
  }
  body.kb-mock-d .hero > .container > * { grid-column: 1; }
  body.kb-mock-d .hero > .container > .home-banner { grid-column: 1 / -1; }
  body.kb-mock-d .hero > .container > .hero-kbcol { grid-column: 2; grid-row: span 2; }
  /* A square picture, then the words, so the name and the button stay on the first screen. */
  body.kb-mock-d .hero-kbcol-art { aspect-ratio: 1 / 1; }
  body.kb-mock-d .hero-kbcol-art img { position: absolute; inset: 0; }
  body.kb-mock-d .hero-kbcol-art .branch-kb-sticker { top: 12px; right: 12px; width: 78px; height: 78px; }
  body.kb-mock-d .hero-kbcol-art .branch-kb-sticker b { font-size: 23px; }
  body.kb-mock-d .hero-kbcol-art .branch-kb-sticker span { font-size: 10px; }
  body.kb-mock-d .hero-kbcol-body { padding: 20px 24px 24px; }
  /* Penang's pieces scale down to fit two thirds of the width. */
  body.kb-mock-d .hero-cslide { flex: 0 0 50%; }
  body.kb-mock-d .hero-grid { gap: 26px; }
  body.kb-mock-d .hero .h1 { font-size: clamp(32px, 3.55vw, 52px); }
}

@media (max-width: 1000px) {
  /* Picture card above the hero photo: thumbnail, name, date and an arrow. */
  .hero-kbcol {
    display: grid; grid-template-columns: 84px minmax(0, 1fr) auto;
    column-gap: 12px; align-items: center;
    margin: 0 0 22px; padding: 10px; border-radius: 18px; /* bottom gap clears the "9 Worlds" badge */
  }
  .hero-kbcol-art { width: 84px; height: 84px; border-radius: 12px; }
  .hero-kbcol-art .branch-kb-sticker { display: none; }
  .hero-kbcol-body { display: contents; }
  .hero-kbcol-title { margin-top: 4px; font-size: 22px; }
  .hero-kbcol-open { margin-top: 2px; font-size: 14px; }
  .hero-kbcol-slogan { display: none; }
  .hero-kbcol-link {
    width: 44px; height: 44px; min-height: 0; margin: 0 4px 0 0; padding: 0;
    box-shadow: 0 4px 0 var(--yellow-deep);
  }
  .hero-kbcol-link:hover, .hero-kbcol-link:active { box-shadow: 0 4px 0 var(--yellow-deep); }
  .hero-kbcol-link-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ── Layout E: slim announcement bar above the menu on every page ── */
.kb-bar {
  position: relative; z-index: 101;
  display: flex; align-items: center; justify-content: center; gap: 6px 10px; flex-wrap: wrap;
  min-height: 40px; padding: 7px 4%;
  background: var(--sky); border-bottom: 1px solid #BFE0F2;
  color: var(--ink-strong); font-size: 14.5px; line-height: 1.3; text-align: center; text-decoration: none;
}
.kb-bar-tag {
  padding: 3px 9px; border-radius: var(--r-pill); background: var(--uforea-yellow);
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.kb-bar-more {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--uforea-yellow); text-underline-offset: 4px;
}
.kb-bar:focus-visible { outline: 3px solid var(--imaginative); outline-offset: -3px; }
@media (max-width: 600px) {
  .kb-bar { font-size: 14px; justify-content: flex-start; flex-wrap: nowrap; text-align: left; }
  .kb-bar-text { flex: 1 1 auto; min-width: 0; }
  .kb-bar-more-label { display: none; }
}
/* The homepage menu normally floats over the hero (position: fixed). With the
   bar above it, it joins the page flow and sticks, like the inner pages' menu,
   so the bar scrolls away and the menu follows it to the top with no script.
   The hero gives back the room it used to leave for the floating menu. */
body.home.has-kb-bar .nav,
body.home.has-kb-bar .nav.solid {
  position: sticky; top: 0; left: auto; right: auto;
  padding: 14px 4%; background: #FFFCF6; /* the hero's top colour */
}
body.home.has-kb-bar .hero { padding-top: 44px; }
@media (max-width: 1000px) { body.home.has-kb-bar .hero { padding-top: 16px; } }

/* ── The round "Dis 2026" sticker (layout D and the Kota Bharu page) ── */
.branch-kb-sticker {
  position: absolute; top: -18px; right: -12px;
  width: 92px; height: 92px; border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--uforea-yellow); color: var(--ink-strong); border: 3px solid #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4); transform: rotate(8deg);
}
.branch-kb-sticker b { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; line-height: 1; }
.branch-kb-sticker span { margin-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: .13em; }

/* Keyboard focus: the site's yellow ring is too faint on the cream hero and the
   pale-blue fills, so the branch links use the purple ring instead. */
.branch-pill:focus-visible,
body.kb-page a:focus-visible,
body.kb-page summary:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 3px; }

/* ════════════════ The Kota Bharu page (/kota-bharu/, in Malay) ════════════════ */
.kb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header: logo with the branch name under it, the way back to Penang, the TikTok button. */
.kb-brand { flex-direction: column; align-items: flex-start; gap: 4px; }
.kb-brand img { height: 30px; width: auto; }
.kb-foot-brand img { height: 30px; width: auto; }
@media (max-width: 600px) { .kb-brand img { height: 24px; } }
.kb-brand-branch { padding-left: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; line-height: 1; text-transform: uppercase; color: var(--ink-strong); }
.kb-nav .nav-actions { gap: 20px; }
.kb-nav .nav-actions .btn { display: inline-flex; gap: 8px; padding: 10px 18px; font-size: 14.5px; white-space: nowrap; box-shadow: 0 4px 0 var(--yellow-deep); }
.kb-nav-penang, .kb-back, .kb-cta-note a, .kb-about-link a, .kb-fact a, .kb-foot .foot-bottom a {
  color: var(--ink-strong); text-decoration: underline; text-decoration-color: var(--uforea-yellow); text-underline-offset: 4px;
}
.kb-nav-penang { font-size: 14px; font-weight: 500; }
@media (max-width: 720px) { .kb-nav-penang { display: none; } } /* the link at the top of the hero does this job on phones */
@media (max-width: 380px) { .kb-nav-follow { display: none; } } /* keeps the header on one line */
.kb-nav .nav-actions .btn-whatsapp { box-shadow: 0 4px 0 #075A2A; }
/* Small phones: the header button keeps its icon only (the full WhatsApp button is just below). */
@media (max-width: 420px) {
  .kb-nav .nav-actions .btn-whatsapp { padding: 10px 12px; }
  .kb-nav-wa { display: none; }
}

/* Hero: who, when, where and what to do next, before the picture. */
.kb-hero {
  padding: clamp(14px, 2.6vw, 34px) 0 clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, #FFFCF6 0%, var(--sky) 100%);
}
.kb-hero .branch-tabs { margin-bottom: clamp(18px, 3vw, 34px); }
.kb-back { display: none; }
@media (max-width: 720px) {
  .kb-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0 4px; font-size: 14px; font-weight: 500; }
}
.kb-hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 68px); align-items: center;
}
.kb-hero .h1 { margin-top: 6px; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.06; }
.kb-hero .h1 em { font-style: italic; }
.kb-slogan {
  margin: 14px 0 0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600;
  font-size: clamp(20px, 2.1vw, 26px); line-height: 1.3; color: var(--trustworthy-text);
}
.kb-keyfacts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.kb-keyfacts li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink-strong); }
.kb-keyfacts svg { flex: 0 0 auto; margin-top: 3px; color: var(--gold-text); }
.kb-what { margin: 10px 0 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; line-height: 1.4; color: var(--ink-strong); }
.kb-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.kb-ctas .btn svg, .kb-cta .btn svg, .kb-nav .btn svg { flex: 0 0 auto; }
.kb-cta-note { margin: 14px 0 0; max-width: 46ch; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.kb-hero-art { position: relative; width: 100%; max-width: 440px; justify-self: center; }
.kb-hero-art img {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 24px; border: 6px solid #fff; box-shadow: var(--shadow-soft);
}

/* The client's teaser video in the picture slot: a phone-shaped card */
.kb-hero-video { max-width: 330px; }
.kb-video {
  display: block; width: 100%; height: auto; aspect-ratio: 478 / 850; object-fit: cover; background: #000;
  border-radius: 24px; border: 6px solid #fff; box-shadow: var(--shadow-soft);
}
.kb-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px 12px 16px;
  border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink-strong);
  font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .5);
}
.kb-video-play:hover { background: #fff; }
.kb-video-play:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 3px; }
.kb-video-play svg { color: var(--yellow-deep, #E0A100); }

/* The facts in full, with the ticket status */
.kb-facts { padding: clamp(28px, 4vw, 44px) 0; background: var(--paper); }
.kb-facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kb-fact { padding: 20px 22px; border-radius: var(--r-card); border: var(--card-frame); background: var(--cream); }
.kb-fact h3 {
  margin: 0 0 8px; font-family: inherit; font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
}
.kb-fact p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-strong); overflow-wrap: anywhere; }
.kb-fact .kb-fact-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 186, 1, .5); font-size: 14px; color: var(--ink); }

/* Ticket prices, as on the client's price list */
.kb-prices { padding: var(--section-y) 0; background: var(--cream); }
.kb-prices .h2 { margin-top: 6px; font-size: clamp(30px, 3.6vw, 46px); }
.kb-price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.kb-price-card { overflow: hidden; border-radius: var(--r-card); background: #fff; border: 2px solid #0B2A55; box-shadow: var(--shadow-card); }
.kb-price-card.is-weekend { border-color: #E8590C; }
.kb-price-head { margin: 0; padding: 14px 20px; font-family: inherit; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #fff; background: #0B2A55; }
.kb-price-card.is-weekend .kb-price-head { background: #E8590C; }
.kb-price-days { margin: 0; padding: 14px 20px 12px; border-bottom: 1px solid #E8E2D6; }
.kb-price-days strong { display: block; font-size: 20px; color: #0B2A55; }
.kb-price-days span { display: block; margin-top: 2px; font-size: 13.5px; font-style: italic; font-weight: 600; color: var(--ink); }
.kb-price-rows { list-style: none; margin: 0; padding: 8px 12px 14px; }
.kb-price-rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 8px; border-bottom: 1px dashed #E8E2D6; }
.kb-price-rows li:last-child { border-bottom: 0; }
.kb-price-who strong { display: block; font-size: 17px; color: var(--ink-strong); }
.kb-price-who span { display: block; font-size: 14px; color: var(--ink); }
.kb-price-who em { display: block; margin-top: 2px; font-size: 12.5px; font-style: normal; color: var(--mute); }
.kb-price-amount { flex: 0 0 auto; font-size: 26px; font-weight: 800; line-height: 1; color: #0B2A55; }
.kb-price-card.is-weekend .kb-price-amount { color: #C2410C; }
.kb-price-rules { margin-top: 22px; padding: 18px 22px; border-radius: var(--r-card); background: var(--paper); border: var(--card-frame); }
.kb-price-rules p { margin: 0; font-size: 15.5px; color: var(--ink-strong); }
.kb-price-rules ul { margin: 10px 0 0; padding-left: 20px; }
.kb-price-rules li { margin: 4px 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
@media (max-width: 760px) { .kb-price-grid { grid-template-columns: 1fr; } }

/* Being prepared: a still from the client's Facebook reel */
.kb-prep { padding: var(--section-y) 0; background: var(--paper); }
.kb-prep-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kb-prep-text .h2 { margin-top: 6px; font-size: clamp(30px, 3.6vw, 46px); }
.kb-prep-text p { margin: 16px 0 0; max-width: 54ch; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.kb-prep-photo { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 300px; }
.kb-prep-photo .kb-video { aspect-ratio: 9 / 16; }
.kb-prep-photo .kb-video-play { top: 46%; }
.kb-prep-photo figcaption { margin-top: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-align: center; }

/* About UFOREA (Penang's story and photos, labelled as Penang's) */
.kb-about { padding: var(--section-y) 0; background: var(--cream); }
.kb-about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.kb-about-text .h2 { margin-top: 6px; font-size: clamp(30px, 3.6vw, 46px); }
.kb-about-text p { margin: 16px 0 0; max-width: 58ch; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.kb-about-link a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.kb-about-link span { display: block; font-size: 14px; color: var(--mute); }
.kb-about-photos { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.kb-about-photos img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-photo); box-shadow: var(--shadow-card);
}
.kb-about-photos figcaption {
  grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute);
}

/* Closing call */
.kb-cta { padding: var(--section-y) 0; background: var(--yellow-soft); text-align: center; }
.kb-cta .h2 { font-size: clamp(30px, 3.8vw, 48px); }
.kb-cta .lede { margin: 14px auto 0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 600; }
.kb-cta-sub { margin: 10px auto 0; max-width: 46ch; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.kb-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }

/* Footer */
.kb-foot-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.kb-foot h2 {
  margin: 0 0 16px; font-family: 'Playfair Display', Georgia, serif; font-weight: 600;
  font-size: 15px; letter-spacing: .04em;
}
.kb-foot li { font-size: 14px; line-height: 1.55; color: var(--ink); }

@media (max-width: 1100px) { .kb-facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  /* Phones and tablets: the words first, then a wide strip of the picture. */
  .kb-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .kb-hero-art { max-width: none; }
  .kb-hero-art img { aspect-ratio: 16 / 9; border-width: 4px; border-radius: 18px; }
  .kb-hero-video { max-width: 300px; width: 82%; justify-self: center; }
  .kb-video { border-width: 4px; border-radius: 20px; }
  .kb-hero-art .branch-kb-sticker { top: -12px; right: 6px; width: 76px; height: 76px; }
  .kb-hero-art .branch-kb-sticker b { font-size: 22px; }
  .kb-hero-art .branch-kb-sticker span { font-size: 10px; }
  .kb-about-grid, .kb-prep-grid { grid-template-columns: 1fr; }
  .kb-prep-photo { max-width: 260px; }
  .kb-foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .kb-facts-grid { grid-template-columns: 1fr; gap: 12px; }
  .kb-ctas .btn, .kb-cta .btn { width: 100%; justify-content: center; }
  .kb-cta-buttons { flex-direction: column; }
  .kb-fact { padding: 16px 18px; }
}

/* ════════════════ Kota Bharu shop pages (later phase: tickets, cart, checkout) ════════════════
   See inc/kota-bharu/template-branch-shop.php. Loaded with the rest of this file on every
   Kota Bharu page. */
.kb-nav .icon-btn { flex: 0 0 auto; }
@media (max-width: 480px) { body.kb-page .kb-nav .nav-cart ~ .btn .kb-nav-follow { display: none; } }
/* The breadcrumb's own styles live in files these pages do not load. */
body.kb-page .crumb { padding: 18px 0 0; font-size: 13px; color: var(--mute); }
body.kb-page .crumb a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--uforea-yellow); text-underline-offset: 3px; text-decoration-thickness: 2px; }
body.kb-page .crumb .sep { margin: 0 6px; color: var(--gold-text); }
body.kb-page .crumb .here { color: var(--ink-strong); font-weight: 600; }
/* The sample tickets have no picture, so the cart drops its picture column. */
body.kb-page .woocommerce-cart-form .product-thumbnail { display: none !important; } /* the shop skin forces it on at phone widths */

.kb-tix { padding: 14px 0 var(--section-y); }
.kb-tix-wrap { max-width: 760px; }
.kb-tix-head .h2 { margin-top: 6px; font-size: clamp(30px, 4vw, 44px); }
.kb-tix-head .lede { margin-top: 12px; }
.kb-tix-notices:not(:empty) { margin-top: 18px; }
.kb-tix-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.kb-tix-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border-radius: var(--r-card); border: var(--card-frame); background: var(--paper);
}
.kb-tix-info { min-width: 0; }
.kb-tix-info h2 { margin: 0; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; }
.kb-tix-info p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.kb-tix-info .kb-tix-price { margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--ink-strong); }
.kb-tix-per { font-size: 14px; font-weight: 400; color: var(--mute); }
.kb-tix-qty { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; }
.kb-tix-step {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--ink-strong);
  background: #fff; color: var(--ink-strong); font-size: 22px; line-height: 1; cursor: pointer;
}
.kb-tix-qty input {
  width: 52px; height: 44px; padding: 0; border: 1px solid #DED7C8; border-radius: 12px; background: #fff;
  font: inherit; font-size: 18px; font-weight: 700; text-align: center; color: var(--ink-strong);
  -moz-appearance: textfield; appearance: textfield;
}
.kb-tix-qty input::-webkit-outer-spin-button, .kb-tix-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kb-tix-step:focus-visible, .kb-tix-qty input:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 2px; }
/* The parent theme paints every submit button blue; this one is the site's yellow button. */
.kb-tix-form button.btn.btn-yellow {
  margin-top: 22px; border: 0; border-radius: 999px; padding: 16px 26px;
  background: var(--uforea-yellow); color: var(--ink-strong); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
}
.kb-tix-note { margin: 14px 0 0; font-size: 14px; color: var(--mute); }
@media (max-width: 600px) {
  .kb-tix-row { padding: 16px; }
  .kb-tix-form .btn { width: 100%; justify-content: center; }
}

/* The branch box above Kota Bharu's cart, checkout and confirmation. */
.kb-shop-branch {
  display: grid; gap: 2px; margin: 0 0 22px; padding: 14px 18px;
  border-radius: var(--r-card); border: 1px solid #BFE0F2; background: var(--sky);
  font-size: 14.5px; line-height: 1.5; color: var(--ink);
}
.kb-shop-branch strong { font-size: 17px; color: var(--ink-strong); }
.kb-shop-branch-label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* ── Quiet, permanent links to the Kota Bharu page on every Penang page ──
   (the "Find Us" menu, the phone menu and the footer; see header.php, footer.php) */
.nav-sub .nav-branch-note, .drawer-links .nav-branch-note { font-weight: 400; color: var(--mute); }
.foot-branch { margin: 14px 0 0; max-width: 30ch; font-size: 14px; line-height: 1.55; }
.foot-branch a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--uforea-yellow); text-underline-offset: 4px; }

/* Penang's seller box (once both branches sell online): Penang's warm colours, same shape. */
.kb-shop-branch.is-penang { border-color: #F0DDB0; background: #FFF6E2; }
.kb-prices-buy { margin: 22px 0 0; }
/* "Langkah seterusnya" on the confirmation, and the empty cart's button (also in woo.css, which live may not have yet). */
body.kb-page .uforea-next-steps { margin: 18px 0 24px; padding: 16px 18px; border-radius: var(--r-card, 16px); border: var(--card-frame, 1px solid rgba(255,186,1,.5)); background: #FFFCF3; }
body.kb-page .uforea-next-steps h2 { margin: 0 0 8px; font-family: inherit; font-size: 18px; font-weight: 700; }
body.kb-page .uforea-next-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
body.kb-page .uforea-next-steps p { margin: 10px 0 0; font-size: 14px; }
body.kb-page .uforea-next-steps a { text-decoration: underline; text-decoration-color: var(--uforea-yellow, #FFBA01); text-underline-offset: 3px; }
.uforea-empty-cart-branches { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
/* The monthly pass above the price list on the Kota Bharu page. */
.kb-pass-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding: 18px 22px; border: 2px solid var(--uforea-yellow); border-radius: var(--r-card); background: #FFF6DA; }
.kb-pass-card p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-strong); }
.kb-pass-card strong { display: block; font-size: 22px; line-height: 1.3; }
.kb-pass-card .kbt-choose-tag { display: inline-block; }

/* ── Kota Bharu tickets page: date, then tickets (page-tiket.php) ── */
.kb-tix-step-box { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.kb-tix-legend { display: flex; align-items: center; gap: 10px; padding: 0; font-size: 19px; font-weight: 700; color: var(--ink-strong); }
.kb-tix-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--uforea-yellow, #FFBA01); font-size: 14px; }
.kb-tix-dates { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; margin-top: 14px; padding: 2px 2px 8px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.kb-tix-date { position: relative; display: grid; justify-items: center; gap: 1px; padding: 9px 4px 10px; border: 1.5px solid #D9E8F1; border-radius: 14px; background: #fff; cursor: pointer; scroll-snap-align: start; line-height: 1.15; }
.kb-tix-date.is-peak { border-color: #F2D58A; background: #FFF8E6; }
.kb-tix-date input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kb-tix-dow { font-size: 12px; font-weight: 600; color: var(--mute); }
.kb-tix-dom { font-size: 22px; font-weight: 700; color: var(--ink-strong); }
.kb-tix-mon { font-size: 12px; color: var(--mute); }
.kb-tix-date:has(input:checked) { border-color: var(--ink-strong); background: var(--ink-strong); }
.kb-tix-date:has(input:checked) span { color: #fff; }
.kb-tix-date:has(input:focus-visible) { outline: 3px solid var(--imaginative); outline-offset: 2px; }
.kb-tix-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 6px 0 0; font-size: 13px; color: var(--mute); }
.kb-tix-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #D9E8F1; background: #fff; }
.kb-tix-swatch.is-peak { border-color: #F2D58A; background: #FFF8E6; }
.kb-tix-keyitem { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; white-space: nowrap; }
.kb-tix-chosen { margin: 10px 0 0; font-weight: 600; color: var(--ink-strong); }
.kb-tix-free { margin: 12px 0 0; font-size: 14px; color: var(--mute); }
.kb-tix-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 0; padding: 14px 18px; border-radius: var(--r-card, 18px); background: var(--sky, #EAF5FB); font-size: 16px; }
.kb-tix-total[hidden] { display: none; }
.kb-tix-total strong { font-size: 20px; color: var(--ink-strong); }
.kb-tix-form > .btn { margin-top: 18px; }
.kb-tix-rules { margin: 30px 0 0; padding: 18px 20px; border-radius: var(--r-card, 18px); border: 1px solid var(--line, #EADFCC); background: #fff; }
.kb-tix-rules h2 { margin: 0 0 8px; font-size: 17px; font-family: inherit; font-weight: 700; }
.kb-tix-rules ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.5; }
.kb-tix-rules p { margin: 12px 0 0; font-size: 14.5px; }

/* ── Kota Bharu tickets page v2 (30 Nov 2026): month calendar, then tickets (page-tiket.php) ──
   Proposal and buyer tasks: docs/kb-tiket-mockup/. Every class starts with kbt- so nothing leaks. */
.kbt-v2 .kb-tix-wrap { max-width: 1080px; }
.kbt-h1 { margin: 8px 0 0; font-family: 'Playfair Display', Georgia, serif; font-size: 27px; line-height: 1.15; color: #1F2A44; }
.kbt-lede { margin: 6px 0 0; font-size: 14px; color: var(--mute); }
.kbt-v2 .kb-tix-notices:not(:empty) { margin: 10px 0 0; }
.kbt-step-h { display: flex; align-items: center; gap: 9px; margin: 18px 0 0; font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink-strong); }
.kbt-step-h .kb-tix-num { flex: 0 0 auto; width: 26px; height: 26px; font-size: 13px; }
.kbt-nojs-date { display: grid; gap: 6px; margin-top: 10px; font-size: 14px; }
.kbt-nojs-date input { font: inherit; padding: 10px 12px; border: 1.5px solid #D9D1C3; border-radius: 12px; background: #fff; }
.kbt-js .kbt-nojs-date { display: none; }
/* calendar */
.kbt-cal { margin-top: 10px; padding: 12px 10px 10px; border: var(--card-frame); border-radius: var(--r-card); background: #fff; }
.kbt-cal[hidden], .kbt-picked[hidden], .kbt-err[hidden], .kbt-warn[hidden], .kbt-total[hidden], .kbt-cal-msg[hidden], .kbt-row-msg[hidden], .kbt-guard[hidden], .kbt-acts[hidden] { display: none !important; }
.kbt-cal-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.kbt-cal-nav { width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1.5px solid var(--ink-strong); background: #fff; color: var(--ink-strong); font-size: 20px; line-height: 1; cursor: pointer; }
.kbt-cal-nav:disabled { border-color: #E5DFD6; color: #CFC8BD; cursor: default; }
.kbt-cal-title { margin: 0; text-align: center; font-size: 17px; font-weight: 700; color: var(--ink-strong); }
.kbt-cal-sale { margin: 2px 0 8px; text-align: center; font-size: 12.5px; color: var(--mute); }
.kbt-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.kbt-dow { padding: 2px 0 4px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.kbt-dow.is-we { color: var(--gold-text); }
.kbt-day { min-width: 0; height: 44px; display: grid; place-content: center; padding: 0; border-radius: 10px; border: 1.5px solid #E1ECF3; background: #fff; color: var(--ink-strong); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.05; cursor: pointer; }
.kbt-day small { display: block; font-size: 9.5px; font-weight: 700; color: var(--gold-text); letter-spacing: -.01em; }
.kbt-day.is-we { background: #FFF1CC; border-color: #F0CF7A; }
.kbt-day.is-off { background: #F7F5F1; border-color: transparent; color: #C9C2B8; font-weight: 500; cursor: help; }
.kbt-day.is-off small { display: none; }
.kbt-day.is-on { background: var(--ink-strong); border-color: var(--ink-strong); color: #fff; }
.kbt-day.is-on small { color: #FFE7A3; }
.kbt-day:focus-visible, .kbt-cal-nav:focus-visible, .kbt-qty button:focus-visible, .kbt-chg:focus-visible, .kbt-flow-btn:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 2px; }
.kbt-cal-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 2px 0; font-size: 12.5px; color: var(--mute); }
.kbt-cal-key b { color: var(--gold-text); }
.kbt-k-off { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 4px; background: #EEEAE3; vertical-align: -1px; }
.kbt-cal-msg { margin: 8px 2px 0; padding: 8px 10px; border-radius: 10px; background: #F6F3EE; font-size: 13px; }
.kbt-cal-more { margin: 8px 2px 0; font-size: 12.5px; color: var(--mute); }
.kbt-cal-more a, .kbt-small a { color: var(--trustworthy-text); font-weight: 600; }
.kbt-picked { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--sky); }
.kbt-picked small { display: block; font-size: 13px; color: var(--mute); }
.kbt-picked b { display: block; font-size: 15.5px; color: var(--ink-strong); }
.kbt-picked small.is-we { color: var(--gold-text); font-weight: 600; }
.kbt-chg { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--ink-strong); background: #fff; color: var(--ink-strong); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
/* tickets */
.kbt-guard { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; font-size: 13.5px; }
.kbt-guard svg { flex: 0 0 auto; margin-top: 2px; }
.kbt-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; border: 1.5px solid #F2C14E; background: #FFF6DA; font-size: 13.5px; }
.kbt-warn b { color: var(--ink-strong); font-size: 14px; }
.kbt-warn.is-error { border-color: var(--passion); background: var(--blush); }
.kbt-warn.is-error b { color: #8E1D27; }
.kbt-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.kbt-acts button { padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--ink-strong); background: #fff; color: var(--ink-strong); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.kbt-err { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--passion); background: var(--blush); font-size: 14px; font-weight: 600; color: #8E1D27; }
.kbt-warn:focus, .kbt-err:focus, .kbt-picked:focus { outline: 3px solid var(--imaginative); outline-offset: 2px; }
.kbt-list { margin: 10px 0 0; border: var(--card-frame); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.kbt-row { padding: 12px 14px; border-top: 1px solid #F3E6C9; }
.kbt-list > .kbt-row:first-child { border-top: 0; }
.kbt-row.is-has { background: #FFFCF3; }
.kbt-row.is-bad { background: #FFF5F6; }
.kbt-name { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: #1F2A44; }
.kbt-name small { font-size: 14px; font-weight: 500; color: var(--mute); }
.kbt-sub { margin: 2px 0 0; font-size: 12.5px; color: var(--mute); }
.kbt-line2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.kbt-price { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--ink-strong); }
.kbt-per { font-size: 12.5px; font-weight: 500; color: var(--mute); }
.kbt-alt { display: block; font-size: 12.5px; font-weight: 500; color: var(--mute); }
.kbt-free { color: var(--generous-text); }
.kbt-qty { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.kbt-qty input { width: 56px; height: 42px; text-align: center; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink-strong); border: 1px solid #DED7C8; border-radius: 12px; background: #fff; }
.kbt-js .kbt-qty input { width: 34px; padding: 0; border-color: transparent; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.kbt-js .kbt-row.is-bad .kbt-qty input { border-color: var(--passion); background: #fff; }
.kbt-qty input::-webkit-outer-spin-button, .kbt-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kbt-qty button { width: 42px; height: 42px; padding: 0; border-radius: 999px; border: 1.5px solid var(--ink-strong); background: #fff; color: var(--ink-strong); font: inherit; font-size: 21px; line-height: 1; cursor: pointer; }
.kbt-qty button:disabled { border-color: #D8D1C6; color: #C4BCB1; cursor: default; }
.kbt-row-msg { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #8E1D27; }
.kbt-freebies { border-top: 1px solid #F3E6C9; }
.kbt-freebies > summary { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--generous-text); cursor: pointer; list-style: none; }
.kbt-freebies > summary::-webkit-details-marker { display: none; }
.kbt-freebies .kbt-row { border-top: 1px dashed #EADFCC; }
.kbt-small { margin: 10px 0 0; font-size: 13px; color: var(--mute); }
.kbt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--sky); font-size: 15px; }
.kbt-total strong { font-size: 19px; color: var(--ink-strong); }
.kb-tix-form button.kbt-flow-btn, .kbt-bar-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px;
  background: var(--uforea-yellow); color: var(--ink-strong); font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 4px 0 var(--yellow-deep);
}
.kb-tix-form button.kbt-flow-btn { width: 100%; margin-top: 14px; padding: 15px 20px; font-size: 16px; }
.kbt-info { margin: 16px 0 0; border: 1px solid #EADFCC; border-radius: 14px; background: #fff; }
.kbt-info summary { display: flex; justify-content: space-between; padding: 13px 14px; font-size: 15px; font-weight: 700; color: var(--ink-strong); cursor: pointer; list-style: none; }
.kbt-info summary::-webkit-details-marker { display: none; }
.kbt-info summary::after { content: '+'; font-size: 20px; line-height: 1; }
.kbt-info[open] summary::after { content: '−'; }
.kbt-info ul { display: grid; gap: 5px; margin: 0; padding: 0 14px 4px 30px; font-size: 13.5px; }
.kbt-info p { margin: 8px 14px 14px; font-size: 13.5px; }
/* Pas Bulanan or Tiket harian: two choices at the top, one panel each (Dec 2026) */
.kbt-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.kbt-choose a { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 14px 12px; border: 2px solid #E5DCCB; border-radius: 16px; background: #fff; color: var(--ink-strong); text-decoration: none; }
.kbt-choose a[aria-current] { border-color: var(--ink-strong); background: #FFF6DA; box-shadow: 0 0 0 1px var(--ink-strong); }
.kbt-choose a:focus-visible { outline: 3px solid var(--imaginative); outline-offset: 2px; }
.kbt-choose b { font-size: 17px; line-height: 1.25; }
.kbt-choose small { font-size: 13px; line-height: 1.4; color: var(--ink); }
.kbt-choose-tag { padding: 2px 9px; border-radius: 999px; background: var(--uforea-yellow); color: var(--ink-strong); font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.kbt-choose .kbt-choose-tag { position: absolute; left: 6px; top: -13px; padding: 2px 8px; font-size: clamp(10.5px, 3.1vw, 12px); } /* must fit a 320 px phone */
.kbt-panel { scroll-margin-top: 230px; }
.kbt-panel[hidden] { display: none !important; }
.kbt-pass-h { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; line-height: 1.2; color: #1F2A44; }
.kbt-day-h { margin-top: 22px; }
.kbt-pass { display: grid; gap: 18px; margin-top: 20px; }
.kbt-pass-price { margin: 6px 0 0; font-size: 15px; color: var(--ink-strong); }
.kbt-pass-price strong { margin-right: 4px; font-size: 30px; line-height: 1.1; }
.kbt-pass-dates { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--sky); }
.kbt-pass-dates small { display: block; font-size: 13px; line-height: 1.45; color: var(--ink); }
.kbt-pass-dates b { display: block; margin: 1px 0; font-size: 17px; color: var(--ink-strong); }
.kbt-pass-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; }
.kbt-pass-list li { position: relative; padding-left: 26px; }
.kbt-pass-list li::before { content: ''; position: absolute; left: 4px; top: .34em; width: 6px; height: 11px; border: solid var(--generous-text); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.kbt-pass-list li:last-child::before { content: '!'; left: 0; top: .12em; width: 18px; height: 18px; border: 0; border-radius: 999px; background: #F2C14E; color: var(--ink-strong); font-size: 12.5px; font-weight: 800; line-height: 18px; text-align: center; transform: none; }
.kbt-pass-q { margin: 0; font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink-strong); }
.kbt-pass-q span { display: block; font-size: 14px; font-weight: 500; color: var(--mute); }
.kbt-pass-how { padding: 16px 18px; border: 1px solid #EADFCC; border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.55; }
.kbt-pass-how h3 { margin: 0 0 8px; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink-strong); }
.kbt-pass-how ol, .kbt-pass-how ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.kbt-pass-how ul { margin-top: 12px; padding-top: 12px; border-top: 1px solid #F0E7D6; }
.kbt-pass-how a { color: var(--trustworthy-text); font-weight: 600; }
.kbt-oku-note { margin: 0; padding: 10px 14px; background: #FFF6DA; font-size: 13.5px; line-height: 1.5; color: var(--ink-strong); }
.kbt-freebies.kbt-oku > summary { color: var(--trustworthy-text); }
/* the phone bar */
.kbt-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #EADFCC; box-shadow: 0 -6px 18px rgba(74,69,66,.10); transform: translateY(110%); transition: transform .18s ease; }
.kbt-bar.is-show { transform: none; }
.kbt-bar-sum { min-width: 0; line-height: 1.25; }
.kbt-bar-sum small { display: block; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kbt-bar-sum strong { font-size: 20px; color: var(--ink-strong); }
.kbt-bar-btn { padding: 12px 16px; font-size: 15px; white-space: nowrap; }
html.kbt-bar-on body { padding-bottom: 84px; }
html.kbt-bar-on { scroll-padding-bottom: 96px; }
@media (min-width: 900px) {
  .kbt-h1 { font-size: 34px; }
  .kbt-choose { max-width: 640px; }
  .kbt-pass { grid-template-columns: minmax(0, 1fr) 420px; gap: 28px 40px; align-items: start; }
  .kbt-pass-info, .kbt-pass-how { grid-column: 1; }
  .kbt-pass-buy { grid-column: 2; grid-row: 1 / span 2; padding: 20px; border: var(--card-frame); border-radius: var(--r-card); background: #FFFDF8; }
  .kbt-layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 40px; align-items: start; }
  .kbt-col-date { position: sticky; top: 96px; }
  .kbt-day { height: 48px; }
  .kbt-bar { display: none; }
  .kbt-picked .kbt-chg { display: none; }
}
/* Cart and order lines on Kota Bharu pages: each detail on its own line ("Harga", "Cawangan" ran together).
   Inline text with a line break after each value, not a grid: the checkout's order summary has a narrow
   product column, where a two-column grid squeezed the value to one letter per line (30 Nov 2026). */
body.kb-page .woocommerce dl.variation { display: block; }
body.kb-page .woocommerce dl.variation dt, body.kb-page .woocommerce dl.variation dd { display: inline; }
body.kb-page .woocommerce dl.variation dt { color: var(--mute); }
body.kb-page .woocommerce dl.variation dd { color: var(--ink-strong); }
body.kb-page .woocommerce dl.variation dd::after { content: "\A"; white-space: pre; }
/* Kota Bharu checkout summary on a phone: the price column only as wide as its amount, so the ticket details get the
   room; and no "Cawangan" on every line (the branch box above the form already says it; orders still record it). */
body.kb-page .woocommerce dl.variation .variation-Cawangan { display: none; }
@media (max-width: 600px) {
  /* rows instead of a two-column table (as the theme's phone cart does): ticket left, price right. Both branches (30 Nov 2026 walkthrough). */
  .woocommerce-checkout-review-order { padding: 18px 16px; }
  .woocommerce-checkout-review-order-table,
  .woocommerce-checkout-review-order-table thead,
  .woocommerce-checkout-review-order-table tbody,
  .woocommerce-checkout-review-order-table tfoot { display: block; width: 100% !important; }
  .woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-top: 1px solid #F4ECDF; }
  .woocommerce-checkout-review-order-table thead tr { border-top: 0; }
  .woocommerce table.shop_table.woocommerce-checkout-review-order-table th,
  .woocommerce table.shop_table.woocommerce-checkout-review-order-table td { display: block; padding: 12px 0 !important; border: 0 !important; background: transparent !important; text-align: left; }
  .woocommerce-checkout-review-order-table .product-name { flex: 1 1 auto; min-width: 0; }
  .woocommerce-checkout-review-order-table .product-total,
  .woocommerce-checkout-review-order-table tfoot td { flex: 0 0 auto; text-align: right; white-space: nowrap; }
}
