/* ============================================================
   Om Yoga International — Template B "Sunrise"
   Loaded AFTER styles.css only when the active template is b
   (Admin → Settings → 🎨 Site Template, or ?template=b preview).
   Everything is scoped to body.tpl-b so it can never leak into Classic.

   Look: warm cream paper, one confident orange, deep green-black ink,
   a two-tone serif headline (Fraunces) and white rounded cards.
   ============================================================ */

body.tpl-b {
  /* Re-point the base design tokens — every existing component follows. */
  --b-orange:      #e2621b;   /* accent: headline words, icons, links */
  --b-btn:         #cf5412;   /* button fill — a shade deeper for white-text contrast */
  --b-btn-hover:   #b24610;
  --b-ink:         #1c2a22;   /* deep green-black headings */
  --b-peach:       #fbeee1;
  --b-line:        #f0dfcd;

  --maroon:        var(--b-orange);
  --maroon-dark:   var(--b-btn);
  --maroon-deep:   #7d330c;
  --gold:          #e8903a;
  --cream:         #fdf8f2;
  --light-bg:      #fcf1e6;
  --border:        var(--b-line);
  --ink:           var(--b-ink);
  --dark:          var(--b-ink);
  --muted:         #5b6059;
  --charcoal:      #2a1d12;
  --radius:        10px;
  --container:     1240px;
  --serif:         'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:          Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  --shadow-sm:     0 2px 10px rgba(120, 60, 10, .06);
  --shadow:        0 6px 24px rgba(120, 60, 10, .08), 0 14px 40px rgba(120, 60, 10, .05);
  --shadow-lg:     0 12px 44px rgba(120, 60, 10, .14);
  --header-height: 86px;      /* no top strip in Sunrise */

  background: var(--cream);
  color: var(--ink);
}

.tpl-b .tpl-accent { color: var(--b-orange); }

/* ── Typography ─────────────────────────────────────────── */
.tpl-b h1, .tpl-b h2, .tpl-b h3 { font-family: var(--serif); color: var(--ink); }
.tpl-b h2 { font-size: 44px; font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; }
.tpl-b h3 { font-weight: 600; }
.tpl-b .eyebrow {
  color: var(--b-orange); font-size: 12px; font-weight: 600; letter-spacing: .2em;
}
.tpl-b .eyebrow::before, .tpl-b .eyebrow::after { display: none; }
.tpl-b .text-link { color: var(--b-orange); letter-spacing: .04em; }

/* ── Buttons ────────────────────────────────────────────── */
.tpl-b .btn {
  min-height: 48px; padding: 12px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: .005em; text-transform: none;
}
.tpl-b .btn-small { min-height: 40px; padding: 8px 18px; font-size: 13.5px; }
.tpl-b .btn-primary { background: var(--b-btn); border-color: var(--b-btn); color: #fff; }
.tpl-b .btn-primary:hover {
  background: var(--b-btn-hover); border-color: var(--b-btn-hover);
  box-shadow: 0 8px 22px rgba(207, 84, 18, .28);
}
.tpl-b .btn-secondary,
.tpl-b .btn-ghost,
.tpl-b .btn-outline {
  background: #fff; border: 1.5px solid var(--b-orange); color: var(--b-btn);
}
.tpl-b .btn-secondary:hover,
.tpl-b .btn-ghost:hover,
.tpl-b .btn-outline:hover {
  background: #fff5ec; border-color: var(--b-btn); color: var(--b-btn-hover);
}
.tpl-b .btn-light { background: #fff; color: var(--b-btn); border: 1.5px solid #fff; }

/* ── Header ─────────────────────────────────────────────── */
.tpl-b .top-strip { display: none; }
.tpl-b .site-header {
  background: rgba(255, 251, 246, .97);
  border-bottom: 1px solid var(--b-line);
  box-shadow: 0 2px 14px rgba(120, 60, 10, .05);
}
.tpl-b .nav-shell {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--header-height);
  width: min(100% - 40px, 1280px);
}
.tpl-b .brand { min-width: 0; gap: 12px; flex: 0 0 auto; order: 0; }
.tpl-b .brand img { width: 62px; height: 62px; }
.tpl-b .brand-stack { display: flex; flex-direction: column; line-height: 1; }
.tpl-b .brand-stack strong {
  font-family: var(--sans); font-size: 21px; font-weight: 800;
  letter-spacing: .01em; text-transform: uppercase; color: var(--b-orange);
}
.tpl-b .brand-stack em {
  font-style: normal; font-size: 13.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-top: 4px;
}
.tpl-b .brand-stack small {
  font-size: 10.5px; font-weight: 700; letter-spacing: .32em;
  text-transform: uppercase; color: var(--b-orange); margin-top: 5px;
}
.tpl-b .site-nav { order: 1; flex: 1 1 auto; justify-content: center; gap: 0; }
.tpl-b .site-nav a {
  position: relative; background: none; border-radius: 0;
  color: var(--ink); font-size: 14.5px; font-weight: 500; letter-spacing: 0;
  padding: 10px 11px;
}
.tpl-b .site-nav a:hover { background: none; color: var(--b-orange); }
.tpl-b .site-nav a[aria-current="page"] { background: none; color: var(--b-orange); }
.tpl-b .site-nav a[aria-current="page"]::after {
  content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--b-orange);
}
.tpl-b .nav-shell > .lang-pick { order: 2; }
.tpl-b .nav-shell > .cart-link { order: 3; }
.tpl-b .hdr-login { order: 4; min-height: 46px; padding: 10px 20px; white-space: nowrap; flex: 0 0 auto; }
.tpl-b .hdr-login svg { width: 17px; height: 17px; }
.tpl-b .menu-toggle { order: 5; }
.tpl-b .cart-link { border-color: var(--b-line); }
.tpl-b .cart-link [data-cart-count] { background: var(--b-btn); }

@media (max-width: 1240px) and (min-width: 1021px) {
  .tpl-b .brand img { width: 52px; height: 52px; }
  .tpl-b .brand-stack strong { font-size: 18px; }
  .tpl-b .brand-stack em { font-size: 12px; }
  .tpl-b .site-nav a { font-size: 13.5px; padding: 10px 7px; }
  .tpl-b .site-nav a[aria-current="page"]::after { left: 7px; right: 7px; }
  .tpl-b #lang-pick-label { display: none; }
  .tpl-b .hdr-login { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 1020px) {
  .tpl-b .hdr-login { margin-left: auto; }
  .tpl-b .site-nav { left: 16px; right: 16px; }
  .tpl-b .site-nav a { padding: 11px 14px; }
  .tpl-b .site-nav a[aria-current="page"] { background: #fff3e8; border-radius: 8px; }
  .tpl-b .site-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 560px) {
  .tpl-b .brand img { width: 46px; height: 46px; }
  .tpl-b .brand-stack strong { font-size: 16px; }
  .tpl-b .brand-stack em { font-size: 10.5px; }
  .tpl-b .brand-stack small { font-size: 9px; }
  .tpl-b .hdr-login { min-height: 40px; padding: 8px 12px; }
  .tpl-b .hdr-login span { display: none; }
  .tpl-b { --header-height: 72px; }
}

/* ── Light contexts: the hero & page heroes turn to cream with dark text ── */
.tpl-b .hero,
.tpl-b .page-hero {
  --_fg: var(--ink);
  --_fg-muted: #3d463f;
  color: var(--ink);
}
.tpl-b .hero .eyebrow, .tpl-b .page-hero .eyebrow { color: var(--ink); }

/* Home hero — image on the right, cream wash from the left */
.tpl-b .hero {
  height: auto;
  min-height: clamp(520px, calc(88svh - var(--header-height)), 720px);
  text-align: left;
  background-position: center right;
}
body.tpl-b .hero .hero-overlay,
body.tpl-b .page-hero .hero-overlay {
  background:
    linear-gradient(90deg,
      rgba(253, 246, 237, .97) 0%,
      rgba(253, 246, 237, .92) 30%,
      rgba(253, 246, 237, .55) 52%,
      rgba(253, 246, 237, 0) 72%) !important;
}
.tpl-b .hero-inner {
  max-width: none; width: min(100% - 48px, var(--container));
  align-items: flex-start; justify-content: center;
  padding: 56px 0 64px;
}
.tpl-b .hero-copy { text-align: left; max-width: 640px; }
.tpl-b .hero .eyebrow {
  font-size: 12.5px; font-weight: 500; letter-spacing: .3em; color: var(--ink);
}
.tpl-b .hero-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(40px, 5.2vw, 72px); font-weight: 600;
  line-height: 1.03; letter-spacing: -0.02em; color: var(--ink);
}
.tpl-b .hero-copy p {
  margin: 0; max-width: 560px;
  font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.45;
  color: #2d372f;
}
.tpl-b .hero-actions { justify-content: flex-start; margin-top: 32px; }
.tpl-b .hero-actions .btn { min-height: 54px; padding: 14px 32px; font-size: 16.5px; }

/* Page heroes (courses, about, course pages …) */
.tpl-b .page-hero {
  min-height: 380px; align-items: center;
  background-position: center right;
}
.tpl-b .page-hero-inner { padding: 64px 0 56px; max-width: 700px; margin-left: max(24px, calc((100% - var(--container)) / 2)); }
.tpl-b .page-hero .eyebrow { color: var(--b-orange); font-size: 11.5px; letter-spacing: .24em; }
.tpl-b .page-hero h1 {
  font-size: clamp(36px, 4.6vw, 60px); font-weight: 600;
  line-height: 1.06; letter-spacing: -0.02em; margin: 12px 0 14px; color: var(--ink);
}
.tpl-b .page-hero p {
  margin: 0; max-width: 580px; color: #3d463f; font-size: 18px; line-height: 1.6;
}

@media (max-width: 760px) {
  body.tpl-b .hero .hero-overlay,
  body.tpl-b .page-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(253,246,237,.93) 0%, rgba(253,246,237,.86) 60%, rgba(253,246,237,.7) 100%) !important;
  }
  .tpl-b .hero { min-height: 560px; }
  .tpl-b .hero-inner { padding: 40px 0 44px; }
  .tpl-b .hero-copy p { font-size: 18px; }
  .tpl-b .hero-actions .btn { width: 100%; }
  .tpl-b .page-hero { min-height: 300px; }
  .tpl-b .page-hero-inner { padding: 44px 0 40px; margin-inline: 20px; }
  .tpl-b h2 { font-size: 32px; }
}

/* Course credential seals sit on the right of the hero photo, as in the design */
@media (min-width: 1021px) {
  .tpl-b .page-hero--with-seal .page-hero-inner { padding-bottom: 72px; }
  .tpl-b .hero-ya-bar--on-hero .hero-ya-inner {
    margin-left: auto;
    margin-right: max(24px, calc((100% - var(--container)) / 2 + 24px));
  }
}
.tpl-b .hero-ya-bar--on-hero .hero-ya-seal,
.tpl-b .hero-ya-bar--on-hero .hero-ya-logo {
  box-shadow: 0 0 0 4px rgba(255,255,255,.75), 0 10px 26px rgba(0,0,0,.25);
}

/* Breadcrumbs sit on cream under the page hero */
.tpl-b .breadcrumbs { background: var(--cream); border-bottom: 1px solid var(--b-line); }
.tpl-b .breadcrumbs a { color: var(--muted); }
.tpl-b .breadcrumbs [aria-current] { color: var(--b-orange); }

/* ── Feature strips: homepage highlights + page feature row ── */
.tpl-b .highlights-band {
  background: #fffaf4; padding: 26px 0;
  border-top: 0; border-bottom: 1px solid var(--b-line);
  box-shadow: 0 -1px 0 var(--b-line);
}
.tpl-b .highlights-grid { gap: 0; }
.tpl-b .highlight-card {
  background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 6px 22px; text-align: center;
  border-left: 1px solid var(--b-line);
}
.tpl-b .highlight-card:first-child { border-left: 0; }
.tpl-b .highlight-card:hover { transform: none; box-shadow: none; }
.tpl-b .hl-icon {
  width: auto; height: auto; margin: 0 auto 10px; background: none;
  color: var(--b-orange); border-radius: 0;
}
.tpl-b .hl-icon svg { width: 38px; height: 38px; stroke-width: 1.4; }
.tpl-b .highlight-card h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 4px; color: var(--ink);
}
.tpl-b .highlight-card p {
  font-size: 14px; line-height: 1.5; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 900px) {
  .tpl-b .highlights-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .tpl-b .highlight-card:nth-child(3) { border-left: 0; }
}

.tpl-feats { background: #fffaf4; border-bottom: 1px solid var(--b-line); }
.tpl-feats-inner {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; padding: 20px 0;
}
.tpl-feat { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tpl-feat-ic {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--b-orange); color: #fff;
}
.tpl-feat-ic svg { width: 24px; height: 24px; }
.tpl-feat-ic img { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
.tpl-feat-txt { min-width: 0; line-height: 1.3; }
.tpl-feat-txt b { display: block; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink); }
.tpl-feat-txt small {
  display: block; font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 900px) { .tpl-feats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Sections ───────────────────────────────────────────── */
.tpl-b .section { background: var(--cream); }
.tpl-b .muted-section { background: var(--b-peach); }
.tpl-b .muted-section::after {
  background:
    radial-gradient(ellipse at 12% 20%, rgba(232, 144, 58, .12) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 80%, rgba(226, 98, 27, .08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(251,238,225,.93) 0%, rgba(251,238,225,.86) 50%, rgba(251,238,225,.95) 100%);
}
/* Dark bands become warm light bands with dark text */
.tpl-b .dark-section {
  --_fg: var(--ink); --_fg-muted: var(--muted);
  background: linear-gradient(120deg, #fde9d6 0%, #fbeee1 55%, #fff6ec 100%);
  color: var(--ink);
  border-top: 1px solid var(--b-line);
}
.tpl-b .dark-section .eyebrow { color: var(--b-orange); }
.tpl-b .dark-section .btn-light { background: var(--b-btn); color: #fff; border-color: var(--b-btn); }
.tpl-b .dark-section .btn-light:hover { background: var(--b-btn-hover); }

/* "Why us" — was white text on a photo; now white cards on peach */
.tpl-b .why-section {
  --_fg: var(--ink); --_fg-muted: var(--muted);
  background: var(--b-peach) !important; color: var(--ink);
}
.tpl-b .why-section::before, .tpl-b .why-section::after { display: none; }
.tpl-b .why-section .eyebrow { color: var(--b-orange); }
.tpl-b .why-heading { color: var(--ink); }
.tpl-b .glass-card {
  --_fg: var(--ink); --_fg-muted: var(--muted);
  background: #fff !important; border: 1px solid var(--b-line) !important;
  box-shadow: var(--shadow-sm) !important; backdrop-filter: none !important;
  border-radius: 14px;
}
.tpl-b .glass-card h3 { color: var(--ink); }
.tpl-b .glass-card p { color: var(--muted); }
.tpl-b .why-icon { color: var(--b-orange); background: #fff1e4; border-color: #f7d9bf; }

.tpl-b .final-cta { background: linear-gradient(120deg, #fde9d6 0%, #fbeee1 60%, #fff6ec 100%); }

/* ── Generic cards ─────────────────────────────────────── */
.tpl-b .post-card, .tpl-b .product-card, .tpl-b .teacher-card,
.tpl-b .step-card, .tpl-b .highlight-card--boxed {
  border-radius: 14px; border-color: var(--b-line);
}
.tpl-b .post-card, .tpl-b .product-card, .tpl-b .teacher-card {
  background: #fff; box-shadow: var(--shadow-sm);
}
.tpl-b details { border-radius: 10px; background: #fff; }
.tpl-b details:hover { border-left-color: var(--b-orange); }
.tpl-b input:not([type=checkbox]):not([type=radio]),
.tpl-b select, .tpl-b textarea {
  border-radius: 8px; border-color: #ecd9c5;
}
.tpl-b input:focus, .tpl-b select:focus, .tpl-b textarea:focus {
  outline: none; border-color: var(--b-orange); box-shadow: 0 0 0 3px rgba(226, 98, 27, .14);
}

/* ── Course cards (Sunrise markup: course_card_b) ───────── */
.tpl-b .course-card.cc-b {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--b-line); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.tpl-b .course-card.cc-b:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tpl-b .cc-b .cc-image-wrap {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; height: auto;
}
.tpl-b .cc-b .cc-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tpl-b .cc-seal {
  position: absolute; right: 12px; bottom: 12px;
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border: 2.5px solid var(--b-orange);
  box-shadow: 0 0 0 3px rgba(255,255,255,.8), 0 6px 16px rgba(0,0,0,.18);
  color: var(--b-orange); line-height: 1; text-align: center;
}
.tpl-b .cc-seal b { font-family: var(--sans); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.tpl-b .cc-seal b + b { font-size: 18px; margin-top: 1px; }
.tpl-b .cc-seal i { font-style: normal; font-size: 6.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
.tpl-b .cc-b .cc-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.tpl-b .cc-b .cc-title { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.22; }
.tpl-b .cc-b .cc-title a { color: var(--ink); }
.tpl-b .cc-b .cc-title a:hover { color: var(--b-orange); }
.tpl-b .cc-b .cc-summary {
  margin: 8px 0 12px; font-size: 14px; line-height: 1.55; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tpl-b .cc-points { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.tpl-b .cc-points li {
  position: relative; padding-left: 25px;
  font-size: 13.5px; line-height: 1.45; color: #2f3731;
}
.tpl-b .cc-points li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--b-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.tpl-b .cc-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid #f5e8da;
}
.tpl-b .cc-meta > span { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.tpl-b .cc-meta svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--b-orange); stroke-width: 1.6; }
.tpl-b .cc-meta b { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.tpl-b .cc-meta small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.tpl-b .cc-from { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.tpl-b .cc-from strong { color: var(--b-btn); font-size: 17px; font-family: var(--serif); }
.tpl-b .cc-b .cc-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin-top: 14px; }
.tpl-b .cc-b .cc-actions .btn { width: 100%; border-radius: 8px; }
.tpl-b .cc-reserve-link {
  border: 0; background: none; padding: 2px; cursor: pointer;
  font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.tpl-b .cc-reserve-link:hover { color: var(--b-orange); }

/* Classic list-card leftovers still inherit the new palette */
.tpl-b .course-list-card { border-radius: 14px; border-color: var(--b-line); }

/* ── Courses page: tabs instead of sidebar ──────────────── */
.tpl-b .tpl-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px;
}
.tpl-b .tpl-tab {
  min-width: 170px; padding: 11px 26px; border-radius: 8px;
  border: 1px solid var(--b-line); background: #fff; color: var(--ink);
  font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-sm);
  transition: background .15s, color .15s, border-color .15s;
}
.tpl-b .tpl-tab:hover { border-color: var(--b-orange); color: var(--b-orange); }
.tpl-b .tpl-tab.is-active { background: var(--b-btn); border-color: var(--b-btn); color: #fff; }
@media (max-width: 640px) { .tpl-b .tpl-tab { min-width: 0; flex: 1 1 40%; padding: 10px 12px; } }

.tpl-b .courses-layout { display: block; }
.tpl-b .courses-sidebar,
.tpl-b .courses-toolbar { display: none; }
.tpl-b [data-courses-grid] {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px 22px;
}
.tpl-b .course-grid { gap: 28px 24px; }

/* ── Course page ────────────────────────────────────────── */
/* Section menu → the design's white tab bar with an orange active tab */
.tpl-b .page-toc--bar {
  background: rgba(255, 252, 248, .97);
  border-bottom: 1px solid var(--b-line);
  box-shadow: 0 4px 14px rgba(120, 60, 10, .05);
}
.tpl-b .page-toc--bar ul { gap: 6px; }
.tpl-b .page-toc--bar .toc-link {
  border-radius: 8px; border: 1px solid var(--b-line); background: #fff;
  color: var(--ink); font-size: 13.5px; font-weight: 500; padding: 9px 18px;
}
.tpl-b .page-toc--bar .toc-link:hover { border-color: var(--b-orange); color: var(--b-orange); background: #fff; }
.tpl-b .page-toc--bar .toc-link.toc-active { background: var(--b-btn); border-color: var(--b-btn); color: #fff; }

/* Booking panel — the design's white "Course Fee" card */
.tpl-b .booking-panel {
  background: #fff !important;
  border: 1px solid var(--b-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 34px rgba(120, 60, 10, .10) !important;
  color: var(--ink);
}
.tpl-b .booking-panel::before { background: var(--b-orange); height: 4px; }
.tpl-b .booking-panel .eyebrow { color: var(--b-orange) !important; }
.tpl-b .booking-panel h2, .tpl-b .booking-panel h3, .tpl-b .booking-panel h4,
.tpl-b .booking-panel strong { color: var(--ink); }
.tpl-b .booking-panel p, .tpl-b .booking-panel li, .tpl-b .booking-panel span, .tpl-b .booking-panel td { color: inherit; }
.tpl-b .booking-panel .bp-from-label,
.tpl-b .booking-panel .bp-fee-title,
.tpl-b .booking-panel .bp-dates-title { color: var(--b-orange) !important; }
.tpl-b .bp-start-price { background: #fff6ee; border-color: #f6dcc4; color: var(--ink); }
.tpl-b .booking-panel .bp-from-value { color: var(--ink); text-shadow: none; }
.tpl-b .booking-panel .bp-from-value span { color: var(--b-orange); }
.tpl-b .booking-panel .bp-from-sub { color: var(--muted); }
.tpl-b .bp-fee-table { background: #fffaf5; border-color: var(--b-line); }
.tpl-b .booking-panel .bp-fee-row td { color: #2f3731; border-bottom-color: #f5e8da; }
.tpl-b .booking-panel .bp-fee-row td:last-child { color: var(--ink); }
.tpl-b .booking-panel .bp-fee-best td { color: var(--b-btn) !important; }
.tpl-b .booking-panel .bp-note-tag { color: var(--muted); }
.tpl-b .booking-panel .bp-dates li { color: #2f3731; border-bottom-color: #f5e8da; }
.tpl-b .booking-panel .bp-dates li::before { color: var(--b-orange); }
.tpl-b .booking-panel .course-facts.stacked > div { border-bottom-color: #f5e8da; }
.tpl-b .booking-panel .course-facts.stacked dt { color: var(--muted); }
.tpl-b .booking-panel .course-facts.stacked dd { color: var(--ink); }
.tpl-b .booking-panel .small-note { color: var(--muted) !important; }
.tpl-b .bp-deposit { background: #fff6ee; border-color: #f6dcc4; }
.tpl-b .bp-cert-logo-item, .tpl-b .bp-accred-badge { background: #fffaf5; border-color: var(--b-line); }
.tpl-b .bp-cert-logos .bp-accred-text strong, .tpl-b .bp-accred-text strong { color: var(--ink); }
.tpl-b .bp-cert-logos .bp-accred-text span, .tpl-b .bp-accred-text span { color: var(--muted); }
.tpl-b .bp-pill-row { border-color: var(--b-line); }
.tpl-b .booking-panel .btn-primary {
  background: var(--b-btn) !important; color: #fff !important;
  box-shadow: 0 6px 18px rgba(207, 84, 18, .25) !important;
  border-radius: 8px !important; font-weight: 700 !important;
}
.tpl-b .booking-panel .btn-primary:hover { background: var(--b-btn-hover) !important; }
.tpl-b .booking-panel .btn-secondary,
.tpl-b .booking-panel .btn-outline-brochure {
  background: #fff !important; color: var(--b-btn) !important;
  border: 1.5px solid var(--b-orange) !important; border-radius: 8px !important;
}
.tpl-b .booking-panel .btn-secondary:hover,
.tpl-b .booking-panel .btn-outline-brochure:hover { background: #fff5ec !important; }
/* Currency tabs + "other currency" select were white-on-dark */
.tpl-b .bp-cur-tabs { background: #fff3e8; border-color: #f4d8bf; }
.tpl-b .bp-cur { color: #6a4a33; }
.tpl-b .bp-cur:hover { color: var(--b-btn); }
.tpl-b .bp-cur--on { background: var(--b-btn); color: #fff; }
.tpl-b .bp-cur:focus-visible, .tpl-b .bp-cur-other select:focus-visible { outline-color: var(--b-orange); }
.tpl-b .bp-cur-other select {
  background-color: #fff3e8; border-color: #f4d8bf; color: #6a4a33;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236a4a33' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.tpl-b .bp-cur-other select:hover { color: var(--b-btn); }
.tpl-b .bp-cur-other select.bp-cur-other--on { background-color: var(--b-btn); color: #fff; }
.tpl-b .bp-cur-note { color: var(--muted); }

/* ── Checkout: the design's numbered orange steps ───────── */
.tpl-b .co-step-num { background: #fff; border: 2px solid #e9d6c3; color: var(--muted); width: 32px; height: 32px; }
.tpl-b .co-step-tab.is-active { color: var(--b-btn); }
.tpl-b .co-step-tab.is-active .co-step-num,
.tpl-b .co-step-tab.is-done .co-step-num { background: var(--b-btn); border-color: var(--b-btn); color: #fff; }
.tpl-b .co-step-tab:not(:last-child)::after { background: #efdcc9; height: 2px; }
.tpl-b .checkout-cart, .tpl-b .checkout-form, .tpl-b .cart-summary, .tpl-b .co-panel {
  border-radius: 14px;
}

/* ── Footer ─────────────────────────────────────────────── */
.tpl-b .site-footer {
  background: #23180f; border-top: 4px solid var(--b-orange);
}
.tpl-b .footer-inner h2 { font-family: var(--serif); color: #fff; }
.tpl-b .footer-inner h3 { color: #f6b27a; font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.tpl-b .footer-inner a:hover, .tpl-b .footer-bottom a:hover { color: #f6b27a; }
.tpl-b .nl-signup .btn { border-radius: 8px; }

/* Floating helpers pick up the new orange */
.tpl-b .share-fab, .tpl-b .page-toc-fab { background: var(--b-btn); }

/* Phones: keep short feature titles from breaking mid-word */
@media (max-width: 560px) {
  .tpl-b .highlight-card { padding: 6px 12px; }
  .tpl-b .highlight-card h3 { font-size: 15.5px; overflow-wrap: normal; hyphens: auto; }
  .tpl-b .tpl-feat-txt b { font-size: 14.5px; overflow-wrap: normal; }
  .tpl-b .tpl-feat-ic { width: 40px; height: 40px; }
}
