/**
 * Teekr POS takeaway system
 *
 * Written by Ravenarch + Dearthwood Software.
 * Copyright (c) 2023 - 2026 Ravenarch + Dearthwood Software.
 */

/*
  Teekr - customer-facing CSS (CMS + read-only menu pages).

  Written by Ravenarch + Dearthwood Software.
  Copyright (c) 2023 - 2026 Ravenarch + Dearthwood Software.

  This file intentionally avoids Metro UI and is written as modern CSS3
  (flexbox/grid, responsive-first).
*/

:root {
  --tk-bg: #0b0f14;
  --tk-surface: #ffffff;
  --tk-surface-2: #f6f7f9;
  --tk-text: #111827;
  --tk-muted: #6b7280;
  --tk-border: #e5e7eb;
  --tk-brand: #f97316; /* orange */
  --tk-brand-2: #fb923c;
  --tk-danger: #dc2626;
  --tk-success: #16a34a;
  --tk-warning: #d97706;
  --tk-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --tk-radius: 14px;
  --tk-radius-sm: 10px;
}

/* ------------------------------------------------------------------ */
/* Base (scoped to CMS/menu pages to avoid touching legacy storefront) */
/* ------------------------------------------------------------------ */
html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--tk-text);
}

.teekr-fe {
  color: var(--tk-text);
  /* Do not force a white page background via `.teekr-fe`. */
  background: transparent;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

.teekr-fe * {
  box-sizing: border-box;
}

.teekr-fe a {
  color: inherit;
}

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

.teekr-fe .tk-img {
  border-radius: 14px;
}

.teekr-fe .tk-menuitem-imgwrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: #f9fafb;
  overflow: hidden;
}

.teekr-fe .tk-menuitem-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.teekr-fe .tk-menuitem-layout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.teekr-fe .tk-menuitem-desc {
  text-align: left;
  max-width: 680px;
  flex: 1 1 auto;
}

.teekr-fe .tk-menuitem-desc center {
  text-align: left;
}

@media (max-width: 740px) {
  .teekr-fe .tk-menuitem-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .teekr-fe .tk-menuitem-imgwrap {
    margin: 0 auto;
  }

  .teekr-fe .tk-menuitem-desc {
    max-width: none;
  }
}

.teekr-fe .tk-container,
.tk-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.teekr-fe .tk-main {
  padding: 18px 0 34px;
}

/* Home: first section (banner/hero) should sit flush under the header. */
.teekr-fe.tk-home .tk-main {
  padding-top: 0;
}

.teekr-fe .tk-card {
  padding: 18px;
}

.teekr-fe .tk-surface {
  background: var(--tk-surface);
  border: 1px solid var(--tk-border);
  border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow);
}

.teekr-fe .tk-muted {
  color: var(--tk-muted);
}

.teekr-fe .tk-h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  margin: 0 0 8px;
}

.teekr-fe .tk-h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0 0 8px;
}

.teekr-fe .tk-lead {
  font-size: 16px;
  color: var(--tk-muted);
  margin: 0 0 12px;
}

.teekr-fe h1 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 10px;
  line-height: 1.15;
}

.teekr-fe h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 18px 0 10px;
  line-height: 1.2;
}

.teekr-fe p {
  margin: 0 0 12px;
}

.teekr-fe ul,
.teekr-fe ol {
  padding-left: 18px;
}

.teekr-fe hr {
  border: 0;
  border-top: 1px solid var(--tk-border);
  margin: 16px 0;
}

/* ------------------------------------------------------------------ */
/* Header */
/* ------------------------------------------------------------------ */
.teekr-fe .tk-header,
.tk-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tk-border);
}

.teekr-fe .tk-header-inner,
.tk-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.teekr-fe .tk-topnav,
.tk-topnav {
  flex-wrap: wrap;
}

.teekr-fe .tk-topnav-left,
.teekr-fe .tk-topnav-right,
.tk-topnav-left,
.tk-topnav-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.teekr-fe .tk-badge,
.tk-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--tk-border);
  background: var(--tk-surface-2);
  color: var(--tk-muted);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.teekr-fe .tk-badge-open,
.tk-badge-open {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.teekr-fe .tk-badge-closed,
.tk-badge-closed {
  background: rgba(220, 38, 38, 0.10);
  border-color: rgba(220, 38, 38, 0.30);
  color: #dc2626;
}

.teekr-fe .tk-header .tk-nav-link,
.tk-header .tk-nav-link,
.teekr-fe .tk-header .tk-btn,
.tk-header .tk-btn {
  display: inline-flex !important;
}

.teekr-fe .tk-header .tk-nav-links,
.tk-header .tk-nav-links {
  display: flex !important;
}

.teekr-fe .tk-header .tk-header-inner,
.tk-header .tk-header-inner {
  display: flex !important;
}

.teekr-fe .tk-header .tk-nav,
.tk-header .tk-nav {
  display: flex !important;
}

/* Force the top nav layout to be identical across pages, even when legacy CSS is present (index.php). */
.teekr-fe #teekrTopNav .tk-header-inner,
#teekrTopNav .tk-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  position: relative !important;
  /* Lock header height so CMS + customerboard match exactly. */
  padding: 14px 0 !important;
  min-height: 84px !important; /* 56px pill + 14px top/bottom */
}

.teekr-fe #teekrTopNav .tk-nav,
#teekrTopNav .tk-nav {
  display: flex !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
}

.teekr-fe #teekrTopNav .tk-nav-links,
#teekrTopNav .tk-nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.teekr-fe #teekrTopNav .tk-topnav-left,
.teekr-fe #teekrTopNav .tk-topnav-right,
#teekrTopNav .tk-topnav-left,
#teekrTopNav .tk-topnav-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  z-index: 2 !important;
  min-height: 56px !important;
}

.teekr-fe #teekrTopNav .tk-nav-link,
#teekrTopNav .tk-nav-link {
  padding: 8px 12px !important;
  border-radius: 999px !important;
}

.teekr-fe #teekrTopNav .tk-topnav-right .tk-btn-primary,
#teekrTopNav .tk-topnav-right .tk-btn-primary {
  padding: 10px 16px !important;
  border-radius: 999px !important;
}

/* Desktop: keep nav position identical regardless of right-side pill width. */
@media (min-width: 861px) {
  .teekr-fe #teekrTopNav .tk-nav,
  #teekrTopNav .tk-nav {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    flex: 0 0 auto !important;
    width: auto !important;
    z-index: 1 !important;
  }

  .teekr-fe #teekrTopNav .tk-nav-links,
  #teekrTopNav .tk-nav-links {
    flex-wrap: nowrap !important;
  }

  .teekr-fe #teekrTopNav .tk-topnav,
  #teekrTopNav .tk-topnav {
    flex-wrap: nowrap !important;
  }

  /* Lock the desktop header height exactly (prevents basket pill changing height). */
  .teekr-fe #teekrTopNav .tk-header-inner,
  #teekrTopNav .tk-header-inner {
    height: 84px !important;
  }
}

/* ------------------------------------------------------------------ */
/* Homepage hero banner (CMS hero section) */
/* ------------------------------------------------------------------ */
.teekr-section[data-section="hero"] {
  position: relative;
  /* NOTE: this file lives at `/frontend/css/index.css`, so use an absolute image path. */
  background-image: url("/img/about/food1.jpg") !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 64px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teekr-section[data-section="hero"]::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Match legacy "washed" hero: keep the food image but lighten it so black text reads. */
  background: rgba(255, 255, 255, 0.10);
}

.teekr-section[data-section="hero"] > * {
  position: relative;
}

/* Hard reset: some older DB hero HTML used `tk-surface tk-card` which looked like a white box.
   Force the hero content to be centered text over the banner image (no card). */
.teekr-section[data-section="hero"] .tk-container {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  max-width: 100% !important;
}

.teekr-section[data-section="hero"] .tk-surface,
.teekr-section[data-section="hero"] .tk-card {
  background: transparent !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-align: center !important;
  padding: 10px 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.teekr-section[data-section="hero"] .tk-hero {
  width: auto !important;
  max-width: 980px !important;
  text-align: center !important;
  margin: 0 16px;
  background: rgba(0, 0, 0, 0.50) !important; /* must beat inline `background:transparent` in seeded hero HTML */
  backdrop-filter: blur(6px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(120%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.40) !important;
  border-radius: 12px !important;
  padding: 16px 32px !important;
}

.teekr-section[data-section="hero"] .tk-actions {
  justify-content: center;
}

.teekr-fe .tk-order-banner,
.tk-order-banner {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  text-shadow: 0 2px 14px rgba(0,0,0,0.45), 0 1px 0 rgba(0,0,0,0.25);
}

.teekr-fe .tk-order-banner-text,
.tk-order-banner-text {
  font-size: 16px;
}

.praf-banner {
  /* Full-bleed: allow the gradient background to span the viewport even when nested in a centered container. */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: linear-gradient(90deg, #c0622a 0%, #8b2e0a 50%, #c0622a 100%);
  color: #fff7ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: inherit;
  box-sizing: border-box;
}

.praf-banner__icon {
  font-size: 18px;
  line-height: 1;
}

.praf-banner__pipe {
  opacity: 0.4;
}

.praf-banner__highlight {
  color: #ffd580;
}

.teekr-section[data-section="hero"] .tk-h1,
.teekr-section[data-section="hero"] .tk-hero-sub,
.teekr-section[data-section="hero"] .tk-lead,
.teekr-section[data-section="hero"] .tk-muted,
.teekr-section[data-section="hero"] .tk-note,
#slider .slider_text h2,
#slider .slider_text h5,
#slider .slider_text .fg-dark {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
}

/* No text shadow on hero buttons (CMS + legacy slider). */
.teekr-section[data-section="hero"] .tk-hero :where(.tk-hero-cta, .tk-btn, .tk-btn-primary),
.teekr-section[data-section="hero"] .tk-hero :where(.tk-hero-cta, .tk-btn, .tk-btn-primary) * {
  text-shadow: none !important;
}

#slider .slider_text :where(.command-button, a, button),
#slider .slider_text :where(.command-button, a, button) * {
  text-shadow: none !important;
}

/* Legacy (non-CMS) hero banner: put the same dark-glass panel behind the text */
#slider .slider_text {
  display: inline-block;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(6px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(6px) saturate(120%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.40) !important;
  border-radius: 12px !important;
  padding: 16px 32px !important;
}

.teekr-section[data-section="hero"] .tk-btn {
  border-color: rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
}

.teekr-section[data-section="hero"] .tk-btn:hover {
  background: rgba(255, 255, 255, 0.95);
}

.teekr-section[data-section="hero"] .tk-btn-primary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.14);
  color: #f97316;
  font-weight: 900;
}

.teekr-section[data-section="hero"] .tk-btn-primary:hover {
  background: #fff;
}

/* Back-compat: older hero seeds used `.tk-hero-eyebrow` and looked like a button/pill.
   Keep it, but render as simple text (no "button" look). */
.teekr-fe .tk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  font-weight: 900;
  font-size: 14px;
  background: transparent;
  color: #fbbf24; /* gold */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  margin: 0 0 10px;
}

.teekr-fe .tk-hero-rating,
.tk-hero-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  gap: 10px;
}

.teekr-fe .tk-hero-rating-label,
.tk-hero-rating-label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: rgba(17, 24, 39, 0.9);
}

.teekr-section[data-section="hero"] .tk-hero-rating-label,
#slider .tk-hero-rating-label {
  color: #fbbf24 !important; /* gold */
  -webkit-text-fill-color: #fbbf24 !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
}

.teekr-fe .tk-hero-stars,
.tk-hero-stars {
  font-size: 18px;
  letter-spacing: 2px;
  color: #fbbf24 !important; /* gold (force over legacy styles) */
  -webkit-text-fill-color: #fbbf24 !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.6);
  line-height: 1;
}

.teekr-fe .tk-hero-sub {
  font-size: 16px;
  margin-top: 6px;
}

.teekr-fe .tk-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #f97316;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.teekr-fe .tk-hero-cta:hover {
  background: #ea580c;
}

.teekr-fe .tk-cart-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.teekr-fe .tk-cart-icon::before {
  content: "";
  position: absolute;
  inset: 2px 3px 6px 3px;
  border: 2px solid currentColor;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  transform: skewX(-6deg);
}

.teekr-fe .tk-cart-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 0;
  width: 14px;
  height: 6px;
  background:
    radial-gradient(circle at 3px 3px, currentColor 2px, transparent 2.2px),
    radial-gradient(circle at 11px 3px, currentColor 2px, transparent 2.2px);
}

.teekr-fe .tk-points-banner {
  background: #e6e6e6;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

/* Praf's Points banner (scoped; matches reference HTML) */
.teekr-fe .tk-points-banner .prafs-points {
  --prafs-points-accent: #e8590c;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
}

.teekr-fe .tk-points-banner .prafs-points__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.teekr-fe .tk-points-banner .prafs-points__star {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--prafs-points-accent);
  transform: translateY(2px);
}

.teekr-fe .tk-points-banner .prafs-points__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.teekr-fe .tk-points-banner .prafs-points__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.15;
  color: #1a1a1a;
  text-align: left;
}

.teekr-fe .tk-points-banner .prafs-points__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--prafs-points-accent);
}

.teekr-fe .tk-points-banner .prafs-points__foot {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(26, 26, 26, 0.85);
}

.teekr-fe .tk-points-banner .prafs-points__foot a {
  color: var(--prafs-points-accent);
  font-weight: 800;
  text-decoration: none;
}

.teekr-fe .tk-points-banner .prafs-points__foot a:hover {
  text-decoration: underline;
}

.teekr-fe .tk-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 14px;
}

.teekr-fe .tk-section-head .tk-h2 {
  margin: 0;
}

.teekr-fe .tk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.teekr-fe .tk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .teekr-fe .tk-grid-2 {
    grid-template-columns: 1fr;
  }
  .teekr-fe .tk-grid-3 {
    grid-template-columns: 1fr;
  }
}

.teekr-fe .tk-deal-title {
  font-weight: 900;
  font-size: 18px;
  margin: 0 0 6px;
}

.teekr-fe.tk-meal-deals .tk-section-head {
  justify-content: center;
}

.teekr-fe.tk-meal-deals .tk-lead {
  text-align: center;
}

.teekr-fe.tk-meal-deals .tk-card {
  text-align: center;
}

.teekr-fe.tk-meal-deals .tk-actions {
  justify-content: center;
}

.teekr-fe .tk-deal-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  text-align: center;
}

.teekr-fe .tk-deal-imgwrap {
  width: 200px;
  height: 200px;
  flex: 0 0 200px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: #f9fafb;
  overflow: hidden;
}

.teekr-fe .tk-deal-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
}

.teekr-fe .tk-deal-meta {
  min-width: 0;
  flex: 1 1 auto;
}

.teekr-fe .tk-deal-price {
  font-weight: 900;
  color: var(--tk-text);
}

.teekr-fe .tk-deal-includes {
  margin: 10px 0 0;
  padding-left: 0;
  color: var(--tk-muted);
  list-style: none;
}

.teekr-fe .tk-deal-includes li {
  margin: 4px 0;
}

.teekr-section[data-section="reviews"] {
  background: var(--tk-surface-2);
  padding: 34px 0;
}

.teekr-fe .tk-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.teekr-fe .tk-review-card {
  background: #fff;
  border: 1px solid var(--tk-border);
  border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow);
  padding: 14px 14px 16px;
  position: relative;
  min-height: 132px;
}

.teekr-fe .tk-review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tk-brand), #fb923c);
  border-top-left-radius: var(--tk-radius);
  border-top-right-radius: var(--tk-radius);
}

.teekr-fe .tk-review-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.teekr-fe .tk-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: #9a3412;
  flex: 0 0 34px;
}

.teekr-fe .tk-review-meta {
  flex: 1 1 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.teekr-fe .tk-review-name {
  font-weight: 900;
}

.teekr-fe .tk-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
  color: #f59e0b;
}

.teekr-fe .tk-star {
  width: 14px;
  height: 14px;
  display: inline-block;
  background: currentColor;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.teekr-fe .tk-review-body {
  margin-top: 10px;
  color: var(--tk-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.teekr-fe .tk-points {
  padding: 12px 0;
}

.teekr-fe .tk-points ul {
  margin: 12px auto 0;
  padding-left: 18px;
  max-width: 820px;
  color: var(--tk-muted);
}

.teekr-fe .tk-points li {
  margin: 6px 0;
}

.teekr-fe .tk-nav,
.tk-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.teekr-fe .tk-nav-links,
.tk-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.teekr-fe .tk-nav-link,
.tk-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--tk-text);
  border: 1px solid transparent;
  white-space: nowrap;
}

.teekr-fe .tk-nav-link:hover,
.tk-nav-link:hover {
  background: var(--tk-surface-2);
}

.teekr-fe .tk-nav-link[aria-current="page"],
.tk-nav-link[aria-current="page"] {
  border-color: rgba(249, 115, 22, 0.35);
  background: rgba(249, 115, 22, 0.10);
}

.teekr-fe .tk-nav-more,
.tk-nav-more {
  position: relative;
}

.teekr-fe .tk-nav-more summary,
.tk-nav-more summary {
  list-style: none;
  cursor: pointer;
}

.teekr-fe .tk-nav-more summary::-webkit-details-marker,
.tk-nav-more summary::-webkit-details-marker {
  display: none;
}

.teekr-fe .tk-nav-more-panel,
.tk-nav-more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  background: var(--tk-surface);
  border: 1px solid var(--tk-border);
  border-radius: 14px;
  box-shadow: var(--tk-shadow);
  padding: 8px;
  display: grid;
  gap: 4px;
  z-index: 20;
}

.teekr-fe .tk-nav-more:not([open]) .tk-nav-more-panel,
.tk-nav-more:not([open]) .tk-nav-more-panel {
  display: none;
}

@media (max-width: 860px) {
  .teekr-fe .tk-nav,
  .tk-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .teekr-fe .tk-nav-links,
  .tk-nav-links {
    justify-content: flex-start;
  }

  .teekr-fe #teekrTopNav .tk-nav,
  #teekrTopNav .tk-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start !important;
  }

  .teekr-fe #teekrTopNav .tk-nav-links,
  #teekrTopNav .tk-nav-links {
    justify-content: flex-start !important;
  }
}

.teekr-fe .tk-brand,
.tk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.teekr-fe .tk-logo,
.tk-logo {
  width: auto;
  height: 46px;
  border-radius: 10px;
}

/* ------------------------------------------------------------------ */
/* Top-nav hard reset (index.php includes heavy legacy CSS) */
/* ------------------------------------------------------------------ */
#teekrTopNav,
#teekrTopNav * {
  box-sizing: border-box !important;
}

#teekrTopNav a {
  text-decoration: none !important;
  color: inherit !important;
}

#teekrTopNav .tk-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 14px 0 !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

#teekrTopNav .tk-topnav-left,
#teekrTopNav .tk-topnav-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
}

#teekrTopNav .tk-nav {
  display: flex !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
}

#teekrTopNav .tk-nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

#teekrTopNav .tk-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  border: 1px solid transparent !important;
}

#teekrTopNav .tk-nav-link:hover {
  background: var(--tk-surface-2) !important;
}

#teekrTopNav .tk-nav-link[aria-current="page"] {
  border-color: rgba(249, 115, 22, 0.35) !important;
  background: rgba(249, 115, 22, 0.10) !important;
}

#teekrTopNav .tk-nav-more summary {
  display: inline-flex !important;
  align-items: center !important;
}

#teekrTopNav .tk-nav-more-panel {
  z-index: 9999 !important;
}

#teekrTopNav .tk-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  border: 1px solid var(--tk-border) !important;
  background: var(--tk-surface) !important;
  font-weight: 700 !important;
}

#teekrTopNav .tk-btn-primary {
  background: var(--tk-brand) !important;
  border-color: var(--tk-brand) !important;
  color: #fff !important;
}

/* Header CTA should match customerboard basket pill sizing */
#teekrTopNav .tk-topnav-right .tk-btn-primary {
  min-height: 56px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

@media (max-width: 860px) {
  #teekrTopNav .tk-nav {
    order: 3 !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  #teekrTopNav .tk-nav-links {
    justify-content: flex-start !important;
  }
}

/* ------------------------------------------------------------------ */
/* Buttons */
/* ------------------------------------------------------------------ */
.teekr-fe .tk-btn,
.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--tk-border);
  background: var(--tk-surface);
  color: var(--tk-text);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.12s ease, border-color 0.12s ease;
  user-select: none;
}

.teekr-fe .tk-btn:hover,
.tk-btn:hover {
  background: var(--tk-surface-2);
}

.teekr-fe .tk-btn:active,
.tk-btn:active {
  transform: translateY(1px);
}

.teekr-fe .tk-btn-primary,
.tk-btn-primary {
  background: var(--tk-brand);
  border-color: var(--tk-brand);
  color: #fff;
}

.teekr-fe .tk-btn-primary:hover,
.tk-btn-primary:hover {
  background: var(--tk-brand-2);
  border-color: var(--tk-brand-2);
}

.teekr-fe .tk-btn-link {
  border: 0;
  background: transparent;
  padding: 6px 8px;
}

/* ------------------------------------------------------------------ */
/* Forms */
/* ------------------------------------------------------------------ */
.teekr-fe .tk-form {
  display: grid;
  gap: 12px;
}

.teekr-fe .tk-field label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}

.teekr-fe input[type="text"],
.teekr-fe input[type="tel"],
.teekr-fe input[type="email"],
.teekr-fe textarea,
.teekr-fe select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--tk-border);
  background: #fff;
  outline: none;
}

.teekr-fe input:focus,
.teekr-fe textarea:focus,
.teekr-fe select:focus {
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.teekr-fe .tk-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .teekr-fe .tk-form-row {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* Alerts */
/* ------------------------------------------------------------------ */
.teekr-fe .tk-alert {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--tk-border);
  background: var(--tk-surface-2);
}

.teekr-fe .tk-alert-success {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.08);
}

.teekr-fe .tk-alert-danger {
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.08);
}

.teekr-fe .tk-alert-warning {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.08);
}

/* ------------------------------------------------------------------ */
/* FAQ accordion (no JS; uses <details>) */
/* ------------------------------------------------------------------ */
.teekr-fe .tk-faq {
  display: grid;
  gap: 10px;
}

.teekr-fe .tk-faq details {
  border: 1px solid var(--tk-border);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.teekr-fe .tk-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.teekr-fe .tk-faq summary::-webkit-details-marker {
  display: none;
}

.teekr-fe .tk-faq details[open] {
  box-shadow: var(--tk-shadow);
}

.teekr-fe .tk-faq .tk-faq-answer {
  margin-top: 10px;
  color: var(--tk-muted);
}

/* ------------------------------------------------------------------ */
/* /menu (read-only) */
/* ------------------------------------------------------------------ */
.teekr-fe .tk-menu-mobilebar {
  display: none;
  margin: 10px 0 0;
}

.teekr-fe .tk-menu-hamburger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.teekr-fe .tk-menu-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  padding: 18px 0 34px;
}

@media (max-width: 980px) {
  .teekr-fe .tk-menu-layout {
    grid-template-columns: 1fr;
  }
  .teekr-fe .tk-menu-mobilebar {
    display: flex;
  }
}

.teekr-fe .tk-menu-nav {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 14px;
  max-height: calc(100vh - 86px - 18px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.teekr-fe .tk-menu-nav-backdrop {
  display: none;
}

.teekr-fe .tk-menu-nav details {
  border-radius: 12px;
}

.teekr-fe .tk-menu-nav summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--tk-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.teekr-fe .tk-menu-nav summary .tk-menu-nav-cat {
  color: inherit;
  flex: 1 1 auto;
  min-width: 0;
}

.teekr-fe .tk-menu-nav summary::-webkit-details-marker {
  display: none;
}

.teekr-fe .tk-menu-nav .tk-menu-nav-expander {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: rgba(17, 24, 39, 0.92);
  background: #f8fafc;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

.teekr-fe .tk-menu-nav .tk-menu-nav-expander::before {
  content: "+";
  display: block;
  line-height: 1;
  transform: translateY(-0.5px);
}

.teekr-fe .tk-menu-nav details[open] .tk-menu-nav-expander::before {
  content: "–";
}

.teekr-fe .tk-menu-nav summary:hover {
  background: var(--tk-surface-2);
  border-color: var(--tk-border);
}

.teekr-fe .tk-menu-nav details {
  margin-bottom: 4px;
}

.teekr-fe .tk-menu-nav details:last-child {
  margin-bottom: 0;
}

.teekr-fe .tk-menu-nav .tk-menu-nav-sub a {
  padding: 8px 10px;
  padding-left: 22px;
  border-radius: 10px;
}

.teekr-fe .tk-menu-nav .tk-menu-nav-sub a:first-child {
  padding-left: 10px;
  opacity: 0.9;
}

@media (max-width: 980px) {
  .teekr-fe .tk-menu-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1001;
    border-radius: 16px;
    max-height: none;
    overflow: auto;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    border: 1px solid var(--tk-border);
    background: #fff;
  }

  body.teekr-fe.tk-menu-nav-open .tk-menu-nav {
    display: block;
  }

  .teekr-fe .tk-menu-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
    z-index: 1000;
  }

  body.teekr-fe.tk-menu-nav-open .tk-menu-nav-backdrop {
    display: block;
  }
}

.teekr-fe .tk-menu-nav a {
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--tk-text);
}

.teekr-fe .tk-menu-nav a:hover {
  background: var(--tk-surface-2);
  border-color: var(--tk-border);
}

.teekr-fe .tk-menu-title {
  margin-bottom: 10px;
}

.teekr-fe .tk-menu-section {
  padding: 16px;
  border: 1px solid var(--tk-border);
  border-radius: var(--tk-radius);
  background: #fff;
  margin-bottom: 16px;
}

.teekr-fe .tk-menu-section,
.teekr-fe .tk-menu-subheadwrap {
  scroll-margin-top: 98px;
}

body.teekr-fe {
  scroll-padding-top: 98px;
}

.teekr-fe .tk-menu-subhead {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.teekr-fe .tk-menu-subdesc {
  margin-top: 6px;
}

.teekr-fe .tk-menu-subheadwrap {
  grid-column: 1 / -1;
  margin-top: 18px;
  margin-bottom: 2px;
}

.teekr-fe .tk-menu-subheadwrap:first-child {
  margin-top: 6px;
}

.teekr-fe .tk-menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 1200px) {
  .teekr-fe .tk-menu-items {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .teekr-fe .tk-menu-items {
    grid-template-columns: 1fr;
  }
}

.teekr-fe .tk-menu-item {
  border: 1px solid var(--tk-border);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.teekr-fe .tk-menu-item-imgwrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  background: #f9fafb;
  overflow: hidden;
}

.teekr-fe .tk-menu-item-imglink {
  display: block;
  width: 120px;
  height: 120px;
}

.teekr-fe .tk-menu-item-imglink:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  outline-offset: 2px;
  border-radius: 12px;
}

.teekr-fe .tk-menu-item-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}

.teekr-fe .tk-menu-item-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
}

.teekr-fe .tk-menu-item-desc {
  color: var(--tk-muted);
  margin-top: 6px;
}

.teekr-fe .tk-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.teekr-fe .tk-note {
  margin-top: 10px;
}

.teekr-fe .tk-price {
  color: var(--tk-text);
  font-weight: 800;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Legacy storefront helpers (still used on index.php) */
/* ------------------------------------------------------------------ */
.price-item {
  border-radius: 10px;
  border: 1px solid var(--tk-border);
}

.price-item-price {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
  cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Footer (used across customer pages) */
/* ------------------------------------------------------------------ */
.footer {
  background: #0b0f14;
  color: #fff;
  padding: 36px 16px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 14px;
}

.footer-column {
  flex: 1 1 240px;
  margin: 8px 0;
  position: relative;
}

.footer-column h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  vertical-align: middle;
}

.footer-social-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  opacity: 0.95;
  display: block;
}

.footer-social-label {
  display: inline-block;
}

.footer-social-link:hover .footer-social-icon {
  opacity: 1;
}

.footer-tagline {
  margin: 8px 0;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-business {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.footer-powered {
  font-weight: 800;
}

.footer-powered * {
  font-weight: inherit;
}

.footer-sep {
  opacity: 0.55;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}

/* Desktop footer separators between columns */
@media (min-width: 769px) {
  .footer-container {
    gap: 0;
  }

  .footer-column {
    padding: 8px 22px;
    margin: 0;
  }

  .footer-column + .footer-column::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0)
    );
  }
}

/* ------------------------------------------------------------------ */
/* Cookie banner */
/* ------------------------------------------------------------------ */
.tk-cookie-banner[hidden] {
  display: none !important;
}

.tk-cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  padding: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.tk-cookie-card {
  max-width: 980px;
  margin: 0 auto;
  background: #0b0f14;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.tk-cookie-title {
  font-weight: 900;
  font-size: 16px;
  margin: 0 0 6px;
}

.tk-cookie-text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.tk-cookie-text a {
  color: #fff;
  text-decoration: underline;
}

.tk-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.tk-cookie-actions .tk-btn {
  border-radius: 999px;
}

/* ------------------------------------------------------------------ */
/* Customerboard (order flow) - no Metro/Bootstrap                      */
/* ------------------------------------------------------------------ */

/* Toasts (global helper) */
.tk-toast-container {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: grid;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
}

.tk-toast {
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  line-height: 1.35;
}

.tk-toast--success {
  background: rgba(22, 163, 74, 0.96);
}

.tk-toast--danger {
  background: rgba(220, 38, 38, 0.96);
}

.tk-toast.is-hiding {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* Modals (global helper) */
.tk-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.56);
}

.tk-modal.is-open {
  display: flex;
}

.tk-modal__panel {
  width: min(720px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.tk-modal__header,
.tk-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
}

.tk-modal__header {
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.tk-modal__footer {
  border-top: 1px solid rgba(17, 24, 39, 0.12);
  justify-content: flex-end;
}

.tk-modal__body {
  padding: 14px;
  max-height: min(72vh, 720px);
  overflow: auto;
}

.tk-iconbtn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.tk-iconbtn:hover {
  background: rgba(17, 24, 39, 0.04);
}

.tk-stack {
  display: grid;
  gap: 10px;
}

.tk-form-error {
  color: var(--tk-danger);
  margin-top: 10px;
  font-weight: 700;
}

.tk-card-element {
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.2);
  border-radius: 12px;
}

/* Pay-by-card (Stripe) — inline replacement for Confirm Order area */
.tk-customerboard #tkPayByCardView {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

#cardPaymentModal.tk-payinline {
  width: 100%;
}

#cardPaymentModal.tk-payinline .tk-paymodal {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
}

#cardPaymentModal .tk-paymodal__header {
  background: var(--tk-brand);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

#cardPaymentModal .tk-paymodal__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

#cardPaymentModal .tk-paymodal__sub {
  font-size: 12px;
  opacity: 0.78;
  margin-top: 2px;
}

#cardPaymentModal .tk-paymodal__total {
  text-align: right;
}

#cardPaymentModal .tk-paymodal__total-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

#cardPaymentModal .tk-paymodal__total-amount {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

#cardPaymentModal .tk-paymodal__summary {
  width: 100%;
  border: 0;
  background: #fff8f4;
  border-bottom: 1px solid #fde8d8;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  text-align: left;
}

#cardPaymentModal .tk-paymodal__summary:hover {
  background: #fdf0e6;
}

#cardPaymentModal .tk-paymodal__summary-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #993c1d;
}

#cardPaymentModal .tk-paymodal__summary-left svg {
  width: 14px;
  height: 14px;
}

#cardPaymentModal .tk-paymodal__summary-right {
  font-size: 11px;
  font-weight: 700;
  color: var(--tk-brand);
}

#cardPaymentModal .tk-paymodal__summary-items {
  display: none;
  padding: 10px 20px 14px;
  background: #fff8f4;
  border-bottom: 1px solid #fde8d8;
}

#cardPaymentModal .tk-paymodal__summary-items.is-open {
  display: block;
}

#cardPaymentModal .tk-paymodal__summary-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 12px;
  color: rgba(17, 24, 39, 0.58);
}

#cardPaymentModal .tk-paymodal__summary-item strong {
  color: rgba(17, 24, 39, 0.82);
  font-weight: 600;
}

#cardPaymentModal .tk-paymodal__body {
  padding: 18px 20px 20px;
}

#cardPaymentModal .tk-paymodal__express {
  margin-bottom: 14px;
}

#cardPaymentModal #express-payment-element {
  display: grid;
  gap: 10px;
  border-radius: 12px;
  overflow: hidden;
}

#cardPaymentModal .tk-paymodal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 6px;
  font-size: 11px;
  color: rgba(17, 24, 39, 0.28);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#cardPaymentModal .tk-paymodal__divider::before,
#cardPaymentModal .tk-paymodal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 24, 39, 0.08);
}

#cardPaymentModal #express-payment-element {
  min-height: 44px;
}

#cardPaymentModal #stripe-payment-element {
  min-height: 50px;
  padding: 0;
}

#cardPaymentModal .tk-paymodal__brands {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

#cardPaymentModal .tk-paymodal__brand {
  height: 22px;
  padding: 3px 8px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
  background: rgba(17, 24, 39, 0.03);
  color: rgba(17, 24, 39, 0.42);
}

#cardPaymentModal .tk-paymodal__brand--visa {
  color: #1a1f71;
}

#cardPaymentModal .tk-paymodal__brand--mc {
  color: #eb001b;
}

#cardPaymentModal .tk-paymodal__brand--amex {
  color: #007bc1;
}

#cardPaymentModal .tk-paymodal__label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

#cardPaymentModal .tk-paymodal__stripefield {
  border: 1.5px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(17, 24, 39, 0.02);
  transition: border-color 0.15s;
}

#cardPaymentModal .tk-paymodal__stripefield.is-focus {
  border-color: var(--tk-brand);
}

#cardPaymentModal .tk-paymodal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#cardPaymentModal .tk-paymodal__field {
  margin-bottom: 14px;
}

#cardPaymentModal .tk-paymodal__postcode {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.02);
  color: rgba(17, 24, 39, 0.9);
  outline: none;
  transition: border-color 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#cardPaymentModal .tk-paymodal__postcode::placeholder {
  color: rgba(17, 24, 39, 0.28);
  text-transform: none;
  letter-spacing: 0;
}

#cardPaymentModal .tk-paymodal__postcode:focus {
  border-color: var(--tk-brand);
}

#cardPaymentModal .tk-paymodal__postcode.error {
  border-color: var(--tk-danger);
}

#cardPaymentModal .error-msg {
  display: none;
  font-size: 12px;
  margin-top: 6px;
  color: var(--tk-danger);
  font-weight: 700;
}

#cardPaymentModal .error-msg.visible {
  display: block;
}

#cardPaymentModal .tk-paymodal__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(17, 24, 39, 0.28);
  margin: 14px 0 12px;
}

#cardPaymentModal .tk-paymodal__secure svg {
  width: 12px;
  height: 12px;
}

#cardPaymentModal .tk-paymodal__paybtn {
  width: 100%;
  padding: 14px 14px;
  font-size: 15px;
  font-weight: 900;
  border: 0;
  border-radius: 12px;
  background: var(--tk-brand);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

#cardPaymentModal .tk-paymodal__paybtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#cardPaymentModal .tk-paymodal__paybtn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tk-spin 0.7s linear infinite;
  display: none;
}

@keyframes tk-spin {
  to {
    transform: rotate(360deg);
  }
}

#cardPaymentModal .tk-paymodal__paybtn.loading .spinner {
  display: inline-block;
}

#cardPaymentModal .tk-paymodal__paybtn.loading .btn-icon {
  display: none;
}

#cardPaymentModal .tk-paymodal__paybtn:hover {
  background: #ea580c;
}

#cardPaymentModal .tk-paymodal__paybtn:active {
  transform: scale(0.99);
}

#cardPaymentModal .tk-paymodal__paybtn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

#cardPaymentModal .tk-paymodal__cancelbtn {
  width: 100%;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  background: #fff;
  color: rgba(17, 24, 39, 0.44);
  cursor: pointer;
  margin-top: 8px;
  transition: border-color 0.15s, color 0.15s;
}

#cardPaymentModal .tk-paymodal__cancelbtn:hover {
  border-color: rgba(17, 24, 39, 0.18);
  color: rgba(17, 24, 39, 0.7);
}

#cardPaymentModal .tk-paymodal__result {
  margin-top: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(22, 163, 74, 0.25);
  background: rgba(22, 163, 74, 0.06);
  border-radius: 12px;
}

@media (max-width: 420px) {
  #cardPaymentModal .tk-paymodal__row {
    grid-template-columns: 1fr;
  }
}

/* Customerboard scope */
.tk-customerboard {
  background: #f6f7f9;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

.tk-customerboard .flow section {
  display: none;
  /* Keep spacing consistent with CMS pages (tk-main provides the padding). */
  padding: 0;
}

.tk-customerboard .flow.step-who #step-who,
.tk-customerboard .flow.step-where #step-where,
.tk-customerboard .flow.step-allergy #step-allergy,
.tk-customerboard .flow.step-what #step-what,
.tk-customerboard .flow.step-when #step-when,
.tk-customerboard .flow.step-payment #step-payment {
  display: block;
}

.tk-customerboard .flow.step-confirmed #step-confirmed {
  display: block !important;
}

.tk-customerboard #step-confirmed {
  display: none;
}

.tk-customerboard .step-panel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.tk-customerboard .hidden {
  display: none !important;
}

/* Minimal utility classes (scoped to customerboard) */
.tk-customerboard .d-none { display: none !important; }
.tk-customerboard .d-flex { display: flex !important; }
.tk-customerboard .flex-wrap { flex-wrap: wrap !important; }
.tk-customerboard .flex-row { flex-direction: row !important; }
.tk-customerboard .flex-column { flex-direction: column !important; }
.tk-customerboard .flex-grow { flex: 1 1 auto !important; }
.tk-customerboard .flex-justify-between { justify-content: space-between !important; }
.tk-customerboard .flex-align-center { align-items: center !important; }
.tk-customerboard .flex-center { justify-content: center !important; }
.tk-customerboard .text-center { text-align: center !important; }
.tk-customerboard .text-left { text-align: left !important; }
.tk-customerboard .text-bold { font-weight: 700 !important; }
.tk-customerboard .text-small { font-size: 12px !important; }
.tk-customerboard .text-large { font-size: 18px !important; }
.tk-customerboard .enlarge-2 { font-size: 18px !important; }
.tk-customerboard .reduce-1 { font-size: 13px !important; }
.tk-customerboard .fg-white { color: #fff !important; }
.tk-customerboard .fg-dark { color: #111827 !important; }
.tk-customerboard .text-dark { color: #111827 !important; }
.tk-customerboard .fg-red { color: var(--tk-danger) !important; }
.tk-customerboard .fg-emerald { color: var(--tk-success) !important; }
.tk-customerboard .bg-dark { background: #111827 !important; }
.tk-customerboard .bg-darkOrange { background: var(--tk-brand) !important; }
.tk-customerboard .bg-cobalt { background: #2563eb !important; }
.tk-customerboard .bg-green { background: var(--tk-success) !important; }
.tk-customerboard .bg-orange { background: var(--tk-brand) !important; }
.tk-customerboard .fg-orange { color: var(--tk-brand) !important; }
.tk-customerboard .bg-gray { background: rgba(17, 24, 39, 0.06) !important; }
.tk-customerboard .bg-lightGray { background: rgba(17, 24, 39, 0.03) !important; }
.tk-customerboard .h-100 { height: 100% !important; }
.tk-customerboard .text-medium { font-size: 14px !important; }

.tk-customerboard .p-2 { padding: 8px !important; }
.tk-customerboard .p-4 { padding: 16px !important; }
.tk-customerboard .p-5 { padding: 20px !important; }
.tk-customerboard .m-2 { margin: 8px !important; }
.tk-customerboard .m-4 { margin: 16px !important; }
.tk-customerboard .mt-2 { margin-top: 8px !important; }
.tk-customerboard .mt-3 { margin-top: 12px !important; }
.tk-customerboard .mt-4 { margin-top: 16px !important; }
.tk-customerboard .mb-2 { margin-bottom: 8px !important; }
.tk-customerboard .mb-3 { margin-bottom: 12px !important; }
.tk-customerboard .mb-4 { margin-bottom: 16px !important; }
.tk-customerboard .pb-3 { padding-bottom: 12px !important; }
.tk-customerboard .pb-5 { padding-bottom: 20px !important; }
.tk-customerboard .ml-2 { margin-left: 8px !important; }
.tk-customerboard .mr-2 { margin-right: 8px !important; }
.tk-customerboard .pl-5 { padding-left: 20px !important; }
.tk-customerboard .pl-10 { padding-left: 40px !important; }
.tk-customerboard .pl-1 { padding-left: 4px !important; }
.tk-customerboard .pr-5 { padding-right: 20px !important; }
.tk-customerboard .pr-1 { padding-right: 4px !important; }
.tk-customerboard .pt-2 { padding-top: 8px !important; }
.tk-customerboard .pb-2 { padding-bottom: 8px !important; }
.tk-customerboard .pt-15 { padding-top: 60px !important; }
.tk-customerboard .gap-2 { gap: 8px !important; }
.tk-customerboard .w-100 { width: 100% !important; }
.tk-customerboard .mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Basic grid helpers (Metro-like) */
.tk-customerboard .grid,
.tk-customerboard .container-fluid,
.tk-customerboard .container {
  width: 100%;
}

.tk-customerboard .container-fluid,
.tk-customerboard .container {
  padding-left: 16px;
  padding-right: 16px;
}

.tk-customerboard .row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tk-customerboard .cell-12 { flex: 0 0 100%; max-width: 100%; }
.tk-customerboard .cell-6 { flex: 0 0 50%; max-width: 50%; }
.tk-customerboard .cell-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.tk-customerboard .cell-3 { flex: 0 0 25%; max-width: 25%; }
.tk-customerboard .cell-2 { flex: 0 0 16.666%; max-width: 16.666%; }

@media (max-width: 767px) {
  .tk-customerboard .cell-6,
  .tk-customerboard .cell-4,
  .tk-customerboard .cell-3,
  .tk-customerboard .cell-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .tk-customerboard .cell-md-6 { flex: 0 0 50%; max-width: 50%; }
  .tk-customerboard .cell-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .tk-customerboard .cell-md-3 { flex: 0 0 25%; max-width: 25%; }
  .tk-customerboard .cell-md-2 { flex: 0 0 16.666%; max-width: 16.666%; }
}

@media (min-width: 576px) {
  .tk-customerboard .cell-sm-3 { flex: 0 0 25%; max-width: 25%; }
}

.tk-customerboard .text-danger { color: var(--tk-danger) !important; }
.tk-customerboard .border-top { border-top: 1px solid rgba(17, 24, 39, 0.12) !important; }
.tk-customerboard .border-bottom { border-bottom: 1px solid rgba(17, 24, 39, 0.12) !important; }

/* Tables (basket/checkout) */
.tk-customerboard table {
  width: 100%;
  border-collapse: collapse;
}

.tk-customerboard .table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  overflow: hidden;
}

.tk-customerboard .table th,
.tk-customerboard .table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  vertical-align: top;
}

.tk-customerboard .table thead th {
  font-weight: 900;
  background: rgba(17, 24, 39, 0.03);
}

.tk-customerboard .table tfoot td {
  border-bottom: 0;
  font-weight: 900;
}

.tk-customerboard .rounded,
.tk-customerboard .border-radius-15 {
  border-radius: 14px !important;
}

.tk-customerboard .shadowed,
.tk-customerboard .shadow-1 {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.tk-customerboard .border {
  border: 1px solid rgba(17, 24, 39, 0.12) !important;
}

.tk-customerboard .bd-cyan {
  border-color: rgba(34, 211, 238, 0.55) !important;
}

.tk-customerboard .border-size-3 { border-width: 3px !important; }

.tk-customerboard .place-right { margin-left: auto !important; }
.tk-customerboard .place-left { margin-right: auto !important; }

/* Inputs */
.tk-customerboard input[type="text"],
.tk-customerboard input[type="tel"],
.tk-customerboard input[type="number"],
.tk-customerboard input[type="email"],
.tk-customerboard input:not([type]):not([disabled]),
.tk-customerboard textarea,
.tk-customerboard select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font: inherit;
}

.tk-customerboard input[type="checkbox"],
.tk-customerboard input[type="radio"] {
  width: auto;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.tk-customerboard .form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

/* Ideal Postcodes (customerboard new-user form) */
.tk-customerboard #postcode_lookup :where(button, input[type="button"], input[type="submit"]) {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, 0.40);
  background: rgba(249, 115, 22, 0.06);
  color: var(--tk-brand);
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.tk-customerboard #postcode_lookup :where(button, input[type="button"], input[type="submit"]):hover {
  background: rgba(249, 115, 22, 0.10);
}

.tk-customerboard #postcode_lookup :where(button, input[type="button"], input[type="submit"]):active {
  transform: translateY(1px);
}

.tk-customerboard #tkAddressSelectWrap {
  display: grid;
  gap: 8px;
}

.tk-customerboard #tkAddressSelect {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
  font: inherit;
}

.tk-customerboard #tkAddressSelect option {
  padding: 6px 8px;
}

/* Step 2 (Where): center layout + calmer buttons */
.tk-customerboard #step-where h3 {
  text-align: center;
}

.tk-customerboard #step-where .grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.tk-customerboard #step-where .row {
  justify-content: center;
  align-items: flex-start;
}

.tk-customerboard #step-where iframe {
  width: 100% !important;
  display: block;
}

.tk-customerboard #step-where .tk-where-flex {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.tk-customerboard #step-where .tk-where-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.tk-customerboard #step-where .tk-where-col--map iframe {
  width: 100% !important;
  max-width: none;
  border-radius: 14px;
}

.tk-customerboard #step-where .tk-where-card {
  width: 100%;
  text-align: left;
}

.tk-customerboard #step-where .tk-where-title {
  font-weight: 900;
  margin-top: 6px;
}

.tk-customerboard #step-where .tk-where-address {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.35;
}

.tk-customerboard #step-where .tk-where-actions {
  margin-top: 8px;
}

.tk-customerboard #step-where .tk-where-meta {
  margin-top: 10px;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.tk-customerboard #step-where .tk-where-charge {
  margin-top: 14px;
  width: 100%;
}

.tk-customerboard #step-where .tk-where-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.tk-customerboard #step-where .tk-where-buttons .button {
  width: 100%;
  max-width: 420px;
  padding: 10px 14px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .tk-customerboard #step-where .tk-where-buttons {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .tk-customerboard #step-where .tk-where-buttons .button {
    width: 240px;
    max-width: 240px;
  }
}

@media (max-width: 767px) {
  .tk-customerboard #step-where .tk-where-flex {
    flex-direction: column;
    align-items: center;
  }
  .tk-customerboard #step-where .tk-where-col {
    width: 100%;
  }
  .tk-customerboard #step-where .tk-where-card {
    text-align: center;
  }
  .tk-customerboard #step-where .tk-where-charge {
    margin-left: auto;
    margin-right: auto;
  }
}

.tk-customerboard #who-new h4 {
  margin: 0 0 12px;
}

.tk-customerboard #who-new hr {
  margin: 14px 0;
}

.tk-customerboard #who-new small {
  color: rgba(17, 24, 39, 0.72);
}

.tk-customerboard #who-new .center-horizontal {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 18px;
}

.tk-customerboard input[type="range"] {
  accent-color: var(--tk-brand);
}

.tk-customerboard input:focus,
.tk-customerboard textarea:focus,
.tk-customerboard select:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
}

/* Buttons (Metro/Bootstrap class compatibility without the libs) */
.tk-customerboard .button,
.tk-customerboard .btn,
.tk-customerboard button,
.tk-customerboard input[type="submit"],
.tk-customerboard input[type="button"] {
  font-family: inherit;
}

.tk-customerboard .button,
.tk-customerboard .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

.tk-customerboard .btn-block { width: 100% !important; }

.tk-customerboard .button.small,
.tk-customerboard .btn.btn-sm {
  padding: 8px 10px;
  font-size: 13px;
}

.tk-customerboard .button.large {
  padding: 12px 16px;
  font-size: 16px;
}

.tk-customerboard .button.primary,
.tk-customerboard .btn.btn-primary {
  background: var(--tk-brand);
  border-color: var(--tk-brand);
  color: #fff;
}

.tk-customerboard .button.success,
.tk-customerboard .btn.btn-success {
  background: var(--tk-success);
  border-color: var(--tk-success);
  color: #fff;
}

.tk-customerboard .button.alert,
.tk-customerboard .btn.btn-danger {
  background: var(--tk-danger);
  border-color: var(--tk-danger);
  color: #fff;
}

.tk-customerboard .button.warning,
.tk-customerboard .btn.btn-warning {
  background: var(--tk-warning);
  border-color: var(--tk-warning);
  color: #fff;
}

.tk-customerboard .button.secondary,
.tk-customerboard .btn.btn-secondary {
  background: rgba(17, 24, 39, 0.06);
  border-color: rgba(17, 24, 39, 0.12);
  color: #111827;
}

.tk-customerboard .button.outline,
.tk-customerboard .btn.btn-outline-primary,
.tk-customerboard .btn.btn-outline-dark,
.tk-customerboard .btn.btn-outline-secondary {
  background: transparent;
}

.tk-customerboard .button.outline.success {
  color: var(--tk-success);
  border-color: rgba(22, 163, 74, 0.45);
}

/* -------------------------------------------------------
   Customerboard: Timeslot picker (Step "when")
------------------------------------------------------- */
.tk-customerboard .tk-timeslot-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.tk-customerboard .tk-timeslot-card__header {
  padding: 20px 24px 0;
}

.tk-customerboard .tk-timeslot-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #111827;
  margin: 0 0 14px;
}

.tk-customerboard .tk-day-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(17, 24, 39, 0.08);
  margin: 0 -24px;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tk-customerboard .tk-day-tabs::-webkit-scrollbar { display: none; }

.tk-customerboard .tk-day-tab {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.45);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.tk-customerboard .tk-day-tab:hover { color: var(--tk-brand); }
.tk-customerboard .tk-day-tab.active { color: var(--tk-brand); border-bottom-color: var(--tk-brand); }
.tk-customerboard .tk-day-tab.disabled,
.tk-customerboard .tk-day-tab:disabled { opacity: 0.45; cursor: not-allowed; }
.tk-customerboard .tk-day-tab--back {
  margin-right: auto;
  padding-left: 0;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.35);
}
.tk-customerboard .tk-day-tab--back:hover { color: rgba(17, 24, 39, 0.7); }

.tk-customerboard .tk-timeslot-card__body {
  padding: 18px 24px 22px;
}

.tk-customerboard .tk-slot-info {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.55);
  line-height: 1.5;
  margin-bottom: 14px;
}
.tk-customerboard .tk-slot-info strong { color: rgba(17, 24, 39, 0.8); }

.tk-customerboard .tk-slot-legend {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.tk-customerboard .tk-slot-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(17, 24, 39, 0.55);
}
.tk-customerboard .tk-slot-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.tk-customerboard .tk-slot-dot--next { background: var(--tk-brand); }
.tk-customerboard .tk-slot-dot--avail { background: #fff; border: 1.5px solid rgba(17, 24, 39, 0.18); }
.tk-customerboard .tk-slot-dot--selected { background: #111827; }

.tk-customerboard .tk-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.tk-customerboard .tk-slot-empty {
  grid-column: 1 / -1;
  padding: 14px 14px;
  border: 1px dashed rgba(17, 24, 39, 0.18);
  border-radius: 12px;
  background: rgba(17, 24, 39, 0.02);
  color: rgba(17, 24, 39, 0.7);
  font-size: 13px;
  line-height: 1.4;
}

.tk-customerboard .tk-slot-btn {
  border: 1.5px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  color: rgba(17, 24, 39, 0.9);
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.tk-customerboard .tk-slot-btn:hover {
  border-color: var(--tk-brand);
  color: var(--tk-brand);
  background: rgba(232, 100, 12, 0.06);
}
.tk-customerboard .tk-slot-btn.next-slot {
  border-color: var(--tk-brand);
  color: var(--tk-brand);
  background: rgba(232, 100, 12, 0.06);
}
.tk-customerboard .tk-slot-btn.next-slot::after {
  content: "Next";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tk-brand);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: 10px;
  white-space: nowrap;
}
.tk-customerboard .tk-slot-btn.selected {
  background: #111827;
  border-color: #111827;
  color: #fff;
}
.tk-customerboard .tk-slot-btn.selected:hover {
  background: rgba(17, 24, 39, 0.88);
  border-color: rgba(17, 24, 39, 0.88);
  color: #fff;
}

.tk-customerboard .tk-slot-confirm {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tk-customerboard .tk-slot-selected {
  font-size: 13px;
  color: rgba(17, 24, 39, 0.55);
}
.tk-customerboard .tk-slot-selected strong { color: #111827; font-size: 16px; }

.tk-customerboard .tk-slot-confirmbtn {
  border: 0;
  border-radius: 10px;
  background: var(--tk-brand);
  color: #fff;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0.35;
  pointer-events: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.tk-customerboard .tk-slot-confirmbtn.ready {
  opacity: 1;
  pointer-events: auto;
}
.tk-customerboard .tk-slot-confirmbtn.ready:hover { background: #cf5709; }

@media (max-width: 520px) {
  .tk-customerboard .tk-timeslot-card__header,
  .tk-customerboard .tk-timeslot-card__body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tk-customerboard .tk-day-tabs { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}

/* Pick Any Day: inline calendar picker (no modal) */
.tk-customerboard .tk-pickwrap {
  margin-top: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

/* -------------------------------------------------------
   Customerboard: Confirm Order (Step "payment")
------------------------------------------------------- */
.tk-customerboard .tk-confirm-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}

.tk-customerboard .tk-confirm-header {
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.tk-customerboard .tk-confirm-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin: 0;
  color: #111827;
}

.tk-customerboard .tk-confirm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
}
.tk-customerboard .tk-confirm-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.35);
  display: inline-block;
}
.tk-customerboard .tk-confirm-badge--deliver {
  background: rgba(22, 163, 74, 0.10);
  color: #166534;
  border-color: rgba(22, 163, 74, 0.22);
}
.tk-customerboard .tk-confirm-badge--deliver::before { background: #22c55e; }
.tk-customerboard .tk-confirm-badge--collect {
  background: rgba(2, 132, 199, 0.10);
  color: #075985;
  border-color: rgba(2, 132, 199, 0.22);
}
.tk-customerboard .tk-confirm-badge--collect::before { background: #38bdf8; }
.tk-customerboard .tk-confirm-badge--pending {
  background: rgba(17, 24, 39, 0.04);
  color: rgba(17, 24, 39, 0.7);
}

.tk-customerboard .tk-confirm-ref {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.35);
  text-align: right;
}
.tk-customerboard .tk-confirm-ref strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #111827;
}

.tk-customerboard .tk-confirm-section-label {
  padding: 14px 24px 8px;
  font-size: 11px;
  font-weight: 900;
  color: rgba(17, 24, 39, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.tk-customerboard .tk-confirm-items {
  padding: 0 24px;
}

.tk-customerboard .tk-confirm-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}
.tk-customerboard .tk-confirm-item:last-child { border-bottom: none; }

.tk-customerboard .tk-confirm-qty {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.06);
  color: rgba(17, 24, 39, 0.55);
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.tk-customerboard .tk-confirm-info { flex: 1; min-width: 0; }
.tk-customerboard .tk-confirm-name {
  font-size: 14px;
  font-weight: 900;
  color: #111827;
}
.tk-customerboard .tk-confirm-meta {
  font-size: 11px;
  color: rgba(17, 24, 39, 0.45);
  margin-top: 2px;
}
.tk-customerboard .tk-confirm-children {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(17, 24, 39, 0.55);
  line-height: 1.35;
}
.tk-customerboard .tk-confirm-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tk-customerboard .tk-confirm-price {
  font-size: 14px;
  font-weight: 900;
  color: #111827;
  white-space: nowrap;
}

.tk-customerboard .tk-confirm-totals {
  margin: 0 24px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding: 14px 0 0;
}

.tk-customerboard .tk-confirm-totalrow {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(17, 24, 39, 0.55);
  padding: 4px 0;
}
.tk-customerboard .tk-confirm-totalrow--grand {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 2px solid #111827;
}
.tk-customerboard .tk-confirm-totalrow--grand span:last-child { color: var(--tk-brand); }

.tk-customerboard .tk-confirm-allergy{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.38);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.tk-customerboard .tk-confirm-pay {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  margin-top: 16px;
  background: rgba(17, 24, 39, 0.02);
}
.tk-customerboard .tk-confirm-paylabel {
  font-size: 11px;
  font-weight: 900;
  color: rgba(17, 24, 39, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.tk-customerboard .tk-confirm-paybtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tk-customerboard .tk-confirm-paybtns .tk-btn-primary { flex: 1; justify-content: center; }
.tk-customerboard .tk-confirm-secure {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(17, 24, 39, 0.35);
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Customerboard flow breadcrumbs (WooCommerce-style progress) */
/* ------------------------------------------------------------------ */
.tk-customerboard .tk-flowcrumbs {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  overflow: hidden;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 14px;
}

.tk-customerboard .tk-flowcrumbs::-webkit-scrollbar { display: none; }

.tk-customerboard .tk-flowcrumbs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.tk-customerboard .tk-flowcrumb {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px 14px 20px;
  position: relative;
  background: #fafafa;
  transition: background 0.15s ease;
  cursor: default;
  min-width: 0;
  z-index: 1;
  border: 0;
  border-radius: 0;
}

.tk-customerboard .tk-flowcrumb.is-done {
  background: rgba(22, 163, 74, 0.06);
}

.tk-customerboard .tk-flowcrumb.is-active {
  background: rgba(249, 115, 22, 0.10);
}

.tk-customerboard .tk-flowcrumb:not(:disabled) {
  cursor: pointer;
}

.tk-customerboard .tk-flowcrumb:not(:disabled):hover {
  background: rgba(17, 24, 39, 0.04);
}

.tk-customerboard .tk-flowcrumb:disabled {
  opacity: 1;
  cursor: default;
}

.tk-customerboard .tk-flowcrumb:disabled .tk-flowcrumb__icon,
.tk-customerboard .tk-flowcrumb:disabled .tk-flowcrumb__name,
.tk-customerboard .tk-flowcrumb:disabled .tk-flowcrumb__sub {
  opacity: 1;
}

/* Chevron arrow (matches the current step background) */
.tk-customerboard .tk-flowcrumb:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 26px solid transparent;
  border-bottom: 26px solid transparent;
  border-left: 16px solid #fafafa;
  z-index: 2;
  transition: border-left-color 0.15s ease;
}

/* Arrow border shadow (1px behind) */
.tk-customerboard .tk-flowcrumb:not(:last-child)::before {
  content: '';
  position: absolute;
  right: -17px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 26px solid transparent;
  border-bottom: 26px solid transparent;
  border-left: 16px solid rgba(17, 24, 39, 0.12);
  z-index: 1;
}

.tk-customerboard .tk-flowcrumb.is-done::after {
  border-left-color: rgba(22, 163, 74, 0.06);
}

.tk-customerboard .tk-flowcrumb.is-active::after {
  border-left-color: rgba(249, 115, 22, 0.10);
}


.tk-customerboard .tk-flowcrumb__icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  background: rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.35);
  transition: all 0.2s ease;
}

.tk-customerboard .tk-flowcrumb.is-done .tk-flowcrumb__icon {
  background: #16a34a;
  color: #fff;
}

.tk-customerboard .tk-flowcrumb.is-active .tk-flowcrumb__icon {
  background: var(--tk-brand);
  color: #fff;
}

.tk-customerboard .tk-flowcrumb__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.tk-customerboard .tk-flowcrumb__name {
  font-size: 12px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.tk-customerboard .tk-flowcrumb__sub {
  font-size: 10px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.20);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.tk-customerboard .tk-flowcrumb.is-done .tk-flowcrumb__name {
  color: rgba(22, 163, 74, 0.92);
}

.tk-customerboard .tk-flowcrumb.is-done .tk-flowcrumb__sub {
  color: rgba(22, 163, 74, 0.48);
}

.tk-customerboard .tk-flowcrumb.is-active .tk-flowcrumb__name {
  color: var(--tk-brand);
  font-weight: 900;
}

.tk-customerboard .tk-flowcrumb.is-active .tk-flowcrumb__sub {
  color: rgba(249, 115, 22, 0.55);
}

/* Responsive: match the example behaviour */
@media (max-width: 680px) {
  .tk-customerboard .tk-flowcrumb { padding: 12px 6px 12px 16px; gap: 6px; }
  .tk-customerboard .tk-flowcrumb__sub { display: none; }
  .tk-customerboard .tk-flowcrumb__name { font-size: 11px; }
  .tk-customerboard .tk-flowcrumb__icon { width: 22px; height: 22px; font-size: 10px; }
  .tk-customerboard .tk-flowcrumb:not(:last-child)::after  { border-top-width: 23px; border-bottom-width: 23px; border-left-width: 13px; right: -13px; }
  .tk-customerboard .tk-flowcrumb:not(:last-child)::before { border-top-width: 23px; border-bottom-width: 23px; border-left-width: 13px; right: -14px; }
}

@media (max-width: 480px) {
  .tk-customerboard .tk-flowcrumb__text { display: none; }
  .tk-customerboard .tk-flowcrumb { justify-content: center; padding: 12px 6px; gap: 0; }
}

.tk-customerboard .tk-pick-body {
  display: flex;
  min-height: 360px;
}

.tk-customerboard .tk-cal-panel {
  width: 260px;
  flex-shrink: 0;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  padding: 18px;
}

.tk-customerboard .tk-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tk-customerboard .tk-cal-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: #fff;
  color: rgba(17, 24, 39, 0.55);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.tk-customerboard .tk-cal-nav-btn:hover {
  border-color: var(--tk-brand);
  color: var(--tk-brand);
  background: rgba(232, 100, 12, 0.06);
}

.tk-customerboard .tk-cal-month {
  font-size: 14px;
  font-weight: 900;
  color: #111827;
}

.tk-customerboard .tk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.tk-customerboard .tk-cal-day-hdr {
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  color: rgba(17, 24, 39, 0.25);
  text-transform: uppercase;
  padding: 4px 0;
  letter-spacing: 0.05em;
}

.tk-customerboard .tk-cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(17, 24, 39, 0.85);
  transition: all 0.12s ease;
  user-select: none;
}
.tk-customerboard .tk-cal-day:hover { background: rgba(232, 100, 12, 0.06); color: var(--tk-brand); }
.tk-customerboard .tk-cal-day.today { font-weight: 900; color: var(--tk-brand); }
.tk-customerboard .tk-cal-day.selected { background: var(--tk-brand); color: #fff; font-weight: 900; }
.tk-customerboard .tk-cal-day.selected:hover { background: #cf5709; color: #fff; }
.tk-customerboard .tk-cal-day.other-month { color: rgba(17, 24, 39, 0.18); cursor: default; }
.tk-customerboard .tk-cal-day.other-month:hover { background: none; }
.tk-customerboard .tk-cal-day.past { color: rgba(17, 24, 39, 0.18); cursor: not-allowed; }
.tk-customerboard .tk-cal-day.past:hover { background: none; }

.tk-customerboard .tk-quick-btns {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.tk-customerboard .tk-quick-btn {
  flex: 1;
  padding: 7px 6px;
  font-size: 12px;
  font-weight: 900;
  border: 1.5px solid rgba(17, 24, 39, 0.10);
  border-radius: 10px;
  background: #fff;
  color: rgba(17, 24, 39, 0.6);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}
.tk-customerboard .tk-quick-btn:hover { border-color: var(--tk-brand); color: var(--tk-brand); background: rgba(232, 100, 12, 0.06); }
.tk-customerboard .tk-quick-btn.active { background: var(--tk-brand); border-color: var(--tk-brand); color: #fff; }

.tk-customerboard .tk-time-panel {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.tk-customerboard .tk-time-panel-title {
  font-size: 12px;
  font-weight: 900;
  color: rgba(17, 24, 39, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.tk-customerboard .tk-time-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
  max-height: 300px;
  padding-right: 4px;
}
.tk-customerboard .tk-time-list::-webkit-scrollbar { width: 3px; }
.tk-customerboard .tk-time-list::-webkit-scrollbar-thumb { background: rgba(17, 24, 39, 0.10); border-radius: 10px; }

.tk-customerboard .tk-time-row {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(17, 24, 39, 0.08);
  cursor: pointer;
  transition: all 0.12s ease;
  gap: 10px;
  user-select: none;
}
.tk-customerboard .tk-time-row:hover { border-color: var(--tk-brand); background: rgba(232, 100, 12, 0.06); }
.tk-customerboard .tk-time-row.next-slot { border-color: var(--tk-brand); background: rgba(232, 100, 12, 0.06); }
.tk-customerboard .tk-time-row.selected { background: var(--tk-brand); border-color: var(--tk-brand); color: #fff; }
.tk-customerboard .tk-time-row.selected:hover { background: #cf5709; }

.tk-customerboard .tk-time-val {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  min-width: 46px;
}

.tk-customerboard .tk-time-tag {
  font-size: 10px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--tk-brand);
  color: #fff;
  letter-spacing: 0.04em;
}
.tk-customerboard .tk-time-row.selected .tk-time-tag { background: rgba(255,255,255,0.30); }

.tk-customerboard .tk-time-est {
  font-size: 11px;
  color: rgba(17, 24, 39, 0.35);
  margin-left: auto;
}
.tk-customerboard .tk-time-row.selected .tk-time-est { color: rgba(255,255,255,0.75); }
.tk-customerboard .tk-time-row.next-slot .tk-time-est { color: var(--tk-brand); }

.tk-customerboard .tk-pick-footer {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding: 14px 18px;
  background: rgba(17, 24, 39, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tk-customerboard .tk-sel-info {
  font-size: 13px;
  color: rgba(17, 24, 39, 0.45);
}
.tk-customerboard .tk-sel-big {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
}

.tk-customerboard .tk-pick-confirmbtn {
  border: 0;
  border-radius: 10px;
  background: var(--tk-brand);
  color: #fff;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0.3;
  pointer-events: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.tk-customerboard .tk-pick-confirmbtn.ready { opacity: 1; pointer-events: auto; }
.tk-customerboard .tk-pick-confirmbtn.ready:hover { background: #cf5709; }

@media (max-width: 580px) {
  .tk-customerboard .tk-pick-body { flex-direction: column; }
  .tk-customerboard .tk-cal-panel { width: 100%; border-right: none; border-bottom: 1px solid rgba(17, 24, 39, 0.08); }
  .tk-customerboard .tk-time-list { max-height: 220px; }
}

.tk-customerboard .button.outline.warning {
  color: var(--tk-warning);
  border-color: rgba(217, 119, 6, 0.45);
}

.tk-customerboard .button.outline.alert {
  color: var(--tk-danger);
  border-color: rgba(220, 38, 38, 0.45);
}

.tk-customerboard .button.outline.primary,
.tk-customerboard .btn.btn-outline-primary {
  color: var(--tk-brand);
  border-color: rgba(249, 115, 22, 0.4);
}

.tk-customerboard .button.outline.secondary,
.tk-customerboard .btn.btn-outline-secondary {
  color: rgba(17, 24, 39, 0.76);
  border-color: rgba(17, 24, 39, 0.18);
}

.tk-customerboard .btn.btn-outline-dark {
  color: rgba(17, 24, 39, 0.86);
  border-color: rgba(17, 24, 39, 0.22);
}

.tk-customerboard .button:hover,
.tk-customerboard .btn:hover {
  filter: brightness(0.98);
}

.tk-customerboard .button:active,
.tk-customerboard .btn:active {
  transform: translateY(1px);
}

.tk-customerboard .is-disabled,
.tk-customerboard .button.disabled,
.tk-customerboard .btn.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.tk-customerboard .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(17, 24, 39, 0.04);
  color: #111827;
}

.tk-customerboard .bg-warning {
  background: rgba(251, 191, 36, 0.26) !important;
  border-color: rgba(251, 191, 36, 0.46) !important;
}

/* Basket overlay + drawer */
.tk-customerboard .basket-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 8888;
  display: none;
}

.tk-customerboard .basket-overlay.open {
  display: block !important;
}

.tk-customerboard .basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 86vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.25);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease-out;
}

.tk-customerboard .basket-drawer.open {
  transform: translateX(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .tk-customerboard .basket-drawer {
    width: 70% !important;
    max-width: none !important;
  }
}

.tk-customerboard .basket-body {
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 160px);
}

.tk-customerboard .basket-footer {
  background: #f8f8f8;
}

/* Floating Basket Button */
.tk-customerboard #basket-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: var(--tk-brand);
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9998;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  font-weight: 800;
}

.tk-customerboard #basket-fab {
  flex-direction: column;
  line-height: 1.05;
  gap: 6px;
}

.tk-customerboard .tk-basket-fab__label {
  font-size: 12px;
  opacity: 0.92;
}

.tk-customerboard .tk-basket-fab__count {
  font-size: 14px;
}

.tk-customerboard .tk-basket-fab__count span {
  font-variant-numeric: tabular-nums;
}

.tk-customerboard #basket-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
  .tk-customerboard #basket-fab {
    bottom: 88px; /* above mobile footers, if any */
  }
}

/* Login box */
.tk-customerboard .login-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 1rem;
}

.tk-customerboard #loginBox {
  flex: 1 1 420px;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 1.25rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.tk-customerboard .delivery-check {
  flex: 1 1 520px;
  min-width: 280px;
  width: 100%;
  max-width: 720px;
}

.tk-customerboard #map {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 860px) {
  .tk-customerboard .login-container {
    flex-direction: column;
    align-items: stretch;
  }

  .tk-customerboard #loginBox {
    max-width: 520px;
    margin: 0 auto;
  }

  .tk-customerboard .delivery-check {
    max-width: none;
  }
}

.tk-customerboard iframe {
  max-width: 100%;
}

.tk-customerboard .form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.tk-customerboard #loginFailed {
  width: 100%;
  margin: 12px 0 0;
  white-space: pre-line;
  color: var(--tk-danger);
}

.tk-turnstile-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin: 14px auto 16px;
  max-width: 100%;
  width: fit-content;
}

.tk-turnstile-wrap .cf-turnstile {
  display: flex;
  justify-content: center;
  margin: 0;
  max-width: 100%;
}

.tk-turnstile-wrap iframe {
  background: #fff;
}

.tk-customerboard #loginBox .tk-turnstile-wrap {
  margin: 14px auto 16px;
}

.tk-customerboard #loginForm input[type="submit"].btn-block {
  margin-top: 10px;
}

.tk-customerboard #loginBox a.btn-block {
  margin-top: 12px;
}

.tk-customerboard .form-block { width: 100%; }

.tk-customerboard .invalid_feedback {
  display: none;
  padding: 4px 8px;
  margin-top: 6px;
  border-radius: 6px;
  font-size: 12px;
  background: rgba(220, 38, 38, 0.12);
  color: var(--tk-danger);
}

.tk-customerboard input.invalid + .invalid_feedback { display: block; }

/* Calendar (custom) */
.tk-customerboard #customCalendar { width: 100%; text-align: center; }
.tk-customerboard .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.tk-customerboard .calendar-nav {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.06);
  transition: 0.2s;
  border: 1px solid rgba(17, 24, 39, 0.1);
}
.tk-customerboard .calendar-nav:hover { background: rgba(249, 115, 22, 0.18); }
.tk-customerboard .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.tk-customerboard .calendar-day {
  padding: 10px;
  background: rgba(17, 24, 39, 0.04);
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid rgba(17, 24, 39, 0.08);
}
.tk-customerboard .calendar-day:hover {
  background: var(--tk-brand);
  color: #fff;
  border-color: var(--tk-brand);
}
.tk-customerboard .calendar-day.disabled {
  opacity: 0.35;
  pointer-events: none;
  background: rgba(17, 24, 39, 0.03) !important;
}
.tk-customerboard .calendar-day.today {
  border: 2px solid rgba(249, 115, 22, 0.55);
  font-weight: 900;
  background: rgba(249, 115, 22, 0.08);
}

.tk-customerboard .flash-focus {
  outline: 3px solid #22c55e;
  border-radius: 12px;
}

/* Simple card/list styles used in meal deals */
.tk-customerboard .card-header,
.tk-customerboard .card-footer {
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-left: 0;
  border-right: 0;
  background: rgba(17, 24, 39, 0.02);
}

.tk-customerboard .card-body,
.tk-customerboard .body {
  padding: 12px 14px;
}

.tk-customerboard .list-group {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tk-customerboard .list-group-item {
  padding: 10px 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 8px;
}

/* Meal deal selector cards (used by meals_inc.php) */
.tk-customerboard .modal-content {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.tk-customerboard .tk-mealdeal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Prefer 3-up on desktop within the customerboard layout */
@media (min-width: 980px) {
  .tk-customerboard .tk-mealdeal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tk-customerboard .tk-mealdeal-grid {
    grid-template-columns: 1fr;
  }
}

.tk-customerboard .tk-mealdeal-card {
  min-width: 0;
}

.tk-customerboard .tk-mealdeal-grid .price-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tk-customerboard .tk-mealdeal-grid .price-item-detail {
  flex: 1;
}

.tk-customerboard .tk-mealdeal-grid .price-item-actions {
  margin-top: auto;
}

.tk-customerboard .tk-mealdeal-footnote {
  margin-top: 14px;
  text-align: center;
}

.tk-customerboard .tk-mealdeal-badge {
  margin-bottom: 10px;
}

.tk-customerboard .modal-header {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

/* ------------------------------------------------------------------ */
/* Customerboard menu UI (mobile tabs + desktop sidebar) */
/* ------------------------------------------------------------------ */
.tk-customerboard .tk-menu-shell {
  width: 100%;
}

.tk-customerboard .tk-menu-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.3px;
  padding: 6px 0 14px;
}

.tk-customerboard .tk-menu-title span {
  color: var(--tk-brand);
}

.tk-customerboard .tk-menu-tabs-wrap,
.tk-customerboard .tk-md-subtabs-wrap {
  position: relative;
  border-bottom: 2px solid rgba(17, 24, 39, 0.08);
  margin-top: 4px;
  min-height: 44px;
  overflow: hidden; /* prevent tab text peeking outside */
}

.tk-customerboard .tk-menu-tabs-wrap::before,
.tk-customerboard .tk-menu-tabs-wrap::after,
.tk-customerboard .tk-md-subtabs-wrap::before,
.tk-customerboard .tk-md-subtabs-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 2px; /* keep the border-bottom visible */
  width: 46px; /* mask area under arrows so text isn't visible behind */
  background: #fff;
  z-index: 1;
  pointer-events: none;
}

.tk-customerboard .tk-menu-tabs-wrap::before {
  left: 0;
}

.tk-customerboard .tk-menu-tabs-wrap::after {
  right: 0;
}

.tk-customerboard .tk-md-subtabs-wrap::before {
  left: 0;
}

.tk-customerboard .tk-md-subtabs-wrap::after {
  right: 0;
}

.tk-customerboard .tk-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--tk-brand);
  background: var(--tk-brand);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.10);
}

.tk-customerboard .tk-tab-arrow:hover {
  filter: brightness(0.92);
}

.tk-customerboard .tk-tab-arrow--left {
  left: 6px;
}

.tk-customerboard .tk-tab-arrow--right {
  right: 6px;
}

.tk-customerboard .tk-menu-tabs,
.tk-customerboard .tk-md-subtabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Allow tabs to sit slightly under the arrows, but keep end labels readable. */
  padding: 0 38px;
  scroll-padding: 0 46px;
  gap: 2px;
}

.tk-customerboard .tk-menu-tabs::-webkit-scrollbar {
  display: none;
}

.tk-customerboard .tk-md-subtabs::-webkit-scrollbar {
  display: none;
}

.tk-customerboard .tk-menu-tab,
.tk-customerboard .tk-md-subtab {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.60);
  cursor: pointer;
  white-space: nowrap;
  border: 0;
  background: transparent;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  border-radius: 6px 6px 0 0;
}

.tk-customerboard .tk-menu-tab:hover,
.tk-customerboard .tk-md-subtab:hover {
  color: var(--tk-brand);
  background: rgba(249, 115, 22, 0.08);
}

.tk-customerboard .tk-menu-tab.is-active,
.tk-customerboard .tk-md-subtab.is-active {
  color: var(--tk-brand);
  border-bottom-color: var(--tk-brand);
}

/* (Removed the fade overlay here; the arrows provide the affordance.) */

.tk-customerboard .tk-menu-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  background: rgba(17, 24, 39, 0.02);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  margin-bottom: 10px;
}

.tk-customerboard .tk-menu-search {
  position: relative;
  flex: 1;
  min-width: 180px;
}

.tk-customerboard .tk-menu-searchicon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(17, 24, 39, 0.35);
  pointer-events: none;
}

.tk-customerboard .tk-menu-search input {
  width: 100%;
  padding: 10px 12px 10px 34px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #fff;
}

.tk-customerboard .tk-menu-search input:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

/* jQuery UI autocomplete (customerboard search dropdown) */
.tk-customerboard .ui-autocomplete {
  z-index: 20000; /* above sticky header + panels */
  max-height: 320px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  padding: 6px;
}

.tk-customerboard .ui-menu-item-wrapper {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.86);
}

.tk-customerboard .ui-menu-item-wrapper.ui-state-active {
  border: 0;
  margin: 0;
  background: rgba(249, 115, 22, 0.10);
  color: rgba(17, 24, 39, 0.92);
}

.tk-customerboard .tk-menu-diet {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tk-customerboard .tk-diet-btn {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  color: rgba(17, 24, 39, 0.60);
  cursor: pointer;
  white-space: nowrap;
}

.tk-customerboard .tk-diet-btn:hover {
  border-color: rgba(249, 115, 22, 0.45);
  color: var(--tk-brand);
}

.tk-customerboard .tk-diet-btn.is-active {
  background: var(--tk-brand);
  border-color: var(--tk-brand);
  color: #fff;
}

.tk-customerboard .tk-menu-heat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tk-customerboard .tk-heat-lbl {
  font-size: 12px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.55);
  white-space: nowrap;
}

.tk-customerboard .tk-menu-heat input[type="range"] {
  width: 110px;
  accent-color: var(--tk-brand);
}

.tk-customerboard .tk-heat-val {
  font-size: 12px;
  font-weight: 900;
  color: var(--tk-brand);
  min-width: 48px;
}

.tk-customerboard .tk-reset-btn {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  border: 1.5px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  color: rgba(17, 24, 39, 0.55);
  cursor: pointer;
  white-space: nowrap;
}

.tk-customerboard .tk-reset-btn:hover {
  border-color: rgba(17, 24, 39, 0.28);
  color: rgba(17, 24, 39, 0.85);
}

.tk-customerboard .tk-menu-body {
  display: flex;
  min-height: 340px;
  gap: 14px;
}

.tk-customerboard .tk-menu-sidebar {
  width: 190px;
  flex-shrink: 0;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(17, 24, 39, 0.02);
  border-radius: 12px;
}

.tk-customerboard .tk-menu-sideitem {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17, 24, 39, 0.62);
  cursor: pointer;
  user-select: none;
  border: 0;
  background: transparent;
  text-align: left;
  border-left: 3px solid transparent;
}

.tk-customerboard .tk-menu-sideitem:hover {
  background: rgba(249, 115, 22, 0.08);
  color: var(--tk-brand);
}

.tk-customerboard .tk-menu-sideitem.is-active {
  background: rgba(249, 115, 22, 0.10);
  color: var(--tk-brand);
  border-left-color: var(--tk-brand);
}

.tk-customerboard .tk-menu-main {
  flex: 1;
  min-width: 0;
}

.tk-customerboard .tk-menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 1200px) {
  .tk-customerboard .tk-menu-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .tk-customerboard .tk-menu-items {
    grid-template-columns: 1fr;
  }
}

.tk-customerboard .tk-menu-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tk-customerboard .tk-menu-item-desc {
  flex: 1;
}

.tk-customerboard .tk-actions {
  margin-top: auto;
}

.tk-customerboard .tk-sizepill {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.04);
}

.tk-customerboard .tk-sizepill:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.06);
}

.tk-customerboard .tk-sizepill__label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(17, 24, 39, 0.70);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.tk-customerboard .tk-sizepill__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tk-customerboard .tk-sizepill__icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 24, 39, 0.55);
  flex: 0 0 auto;
}

.tk-customerboard .tk-sizepill__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  transform: translateY(1px);
}

.tk-customerboard .tk-sizepill__price {
  font-size: 14px;
  font-weight: 900;
  color: #16a34a;
}

.tk-customerboard .tk-subcats {
  margin: 8px 0 12px;
}

.tk-customerboard .tk-subcat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tk-customerboard .tk-subcat-btn {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  border: 1.5px solid rgba(249, 115, 22, 0.35);
  background: #fff;
  color: rgba(17, 24, 39, 0.75);
  cursor: pointer;
}

.tk-customerboard .tk-subcat-btn:hover {
  background: rgba(249, 115, 22, 0.08);
}

.tk-customerboard .tk-subcat-btn--close {
  border-color: rgba(17, 24, 39, 0.18);
}

/* ------------------------------------------------------------------ */
/* Customerboard meal deal builder (accordion) */
/* ------------------------------------------------------------------ */
.tk-customerboard .tk-md-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  overflow: hidden;
}

.tk-customerboard .tk-md-header {
  background: var(--tk-brand);
  color: #fff;
  padding: 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tk-customerboard .tk-md-header h2 {
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.tk-customerboard .tk-md-price {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.tk-customerboard .tk-md-price-sup {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
  margin-left: 2px;
}

.tk-customerboard .tk-md-includes {
  padding: 12px 18px;
  background: rgba(249, 115, 22, 0.08);
  border-bottom: 1px solid rgba(249, 115, 22, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tk-customerboard .tk-md-inc {
  font-size: 12px;
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(249, 115, 22, 0.18);
  color: rgba(124, 45, 18, 0.92);
  font-weight: 800;
}

.tk-customerboard .tk-md-steps {
  padding: 0;
}

.tk-customerboard .tk-md-step {
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.tk-customerboard .tk-md-step:last-of-type {
  border-bottom: 0;
}

.tk-customerboard .tk-md-stepheader {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
}

.tk-customerboard .tk-md-stepheader:hover {
  background: rgba(17, 24, 39, 0.02);
}

.tk-customerboard .tk-md-stepnum {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.48);
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tk-customerboard .tk-md-step.is-active .tk-md-stepnum,
.tk-customerboard .tk-md-step.is-done .tk-md-stepnum {
  background: var(--tk-brand);
  color: #fff;
}

.tk-customerboard .tk-md-stepinfo {
  flex: 1;
  min-width: 0;
}

.tk-customerboard .tk-md-steptitle {
  font-size: 14px;
  font-weight: 900;
  color: rgba(17, 24, 39, 0.92);
}

.tk-customerboard .tk-md-stepsub {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.38);
  margin-top: 2px;
}

.tk-customerboard .tk-md-stepsummary {
  font-size: 12px;
  color: var(--tk-brand);
  font-weight: 800;
  text-align: left;
  max-width: none;
  line-height: 1.4;
  display: none;
  margin-top: 6px;
}

.tk-customerboard .tk-md-step.has-summary .tk-md-stepsummary {
  display: block;
}

.tk-customerboard .tk-md-stepchev {
  font-size: 11px;
  color: rgba(17, 24, 39, 0.28);
  transition: transform 0.2s, color 0.2s;
}

.tk-customerboard .tk-md-step.is-active .tk-md-stepchev {
  transform: rotate(180deg);
  color: var(--tk-brand);
}

.tk-customerboard .tk-md-step.is-done:not(.is-active) .tk-md-stepchev {
  color: var(--tk-brand);
}

.tk-customerboard .tk-md-stepbody {
  padding: 4px 18px 16px 60px;
}

.tk-customerboard .tk-md-slots {
  display: flex;
  gap: 6px;
  margin: 8px 0 10px;
}

.tk-customerboard .tk-md-slot {
  height: 4px;
  flex: 1;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.10);
}

.tk-customerboard .tk-md-slot.is-filled {
  background: var(--tk-brand);
}

.tk-customerboard .tk-md-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tk-customerboard .tk-md-chip {
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.78);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tk-customerboard .tk-md-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  color: rgba(17, 24, 39, 0.55);
  font-weight: 900;
  line-height: 1;
}

.tk-customerboard .tk-md-chip:hover .tk-md-chip__x {
  border-color: rgba(249, 115, 22, 0.45);
  color: rgba(17, 24, 39, 0.78);
}

.tk-customerboard .tk-md-chip:hover {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.06);
}

.tk-customerboard .tk-md-subtabs {
  margin: 0;
}

.tk-customerboard .tk-md-subtabs-wrap {
  /* spacing differs from the main menu tabs: label sits above, then tabs */
  margin: 4px 0 10px;
}

.tk-customerboard .tk-md-subtabs-label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(17, 24, 39, 0.55);
  margin-top: 2px;
}

/* `.tk-md-subtab` now shares the same tab styling as `.tk-menu-tab` (see above). */

.tk-customerboard .tk-md-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tk-customerboard .tk-md-opt {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  border: 1.5px solid rgba(17, 24, 39, 0.14);
  border-radius: 10px;
  background: #fff;
  color: rgba(17, 24, 39, 0.78);
  cursor: pointer;
  white-space: nowrap;
}

.tk-customerboard .tk-md-opt:hover:not(:disabled) {
  border-color: rgba(249, 115, 22, 0.55);
  color: var(--tk-brand);
  background: rgba(249, 115, 22, 0.06);
}

.tk-customerboard .tk-md-opt:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.tk-customerboard .tk-md-hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(17, 24, 39, 0.38);
  font-style: italic;
}

.tk-customerboard .tk-md-complete {
  display: none;
  margin: 0 18px 14px;
  padding: 12px 14px;
  background: rgba(22, 163, 74, 0.10);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(22, 163, 74, 0.92);
  font-weight: 800;
}

.tk-customerboard .tk-md-complete.is-show {
  display: block;
}

.tk-customerboard .tk-md-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
  background: rgba(17, 24, 39, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tk-customerboard .tk-md-progress {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.42);
}

.tk-customerboard .tk-md-progress strong {
  color: var(--tk-brand);
}

.tk-customerboard .tk-md-footerbtns {
  display: flex;
  gap: 10px;
}

.tk-customerboard .tk-md-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 900;
  border-radius: 10px;
  border: 1.5px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  cursor: pointer;
}

.tk-customerboard .tk-md-btn-cancel:hover {
  border-color: rgba(17, 24, 39, 0.28);
}

.tk-customerboard .tk-md-btn-add {
  border-color: var(--tk-brand);
  background: var(--tk-brand);
  color: #fff;
}

.tk-customerboard .tk-md-btn-add:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .tk-customerboard .tk-md-stepbody {
    padding: 4px 16px 16px 16px;
  }

  .tk-customerboard .tk-md-stepheader,
  .tk-customerboard .tk-md-header,
  .tk-customerboard .tk-md-includes,
  .tk-customerboard .tk-md-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tk-customerboard .tk-md-stepsummary {
    max-width: 140px;
    font-size: 11px;
  }
}

@media (min-width: 900px) {
  .tk-customerboard .tk-menu-tabs-wrap {
    display: none;
  }
}

@media (max-width: 899px) {
  .tk-customerboard .tk-menu-sidebar {
    display: none;
  }

  .tk-customerboard .tk-menu-body {
    display: block;
    min-height: 0;
  }
}

.tk-customerboard .modal-title {
  font-weight: 900;
  margin: 0;
}

.tk-customerboard .modal-body {
  padding: 14px;
}

.tk-customerboard .price-item {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.tk-customerboard .price-item-price {
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.tk-customerboard .price-item-detail ul {
  margin: 0;
  padding-left: 18px;
}

/* Leaflet controls – match site styling */
.tk-customerboard .leaflet-bar a,
.tk-customerboard .leaflet-control-zoom a {
  border-radius: 10px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tk-customerboard .leaflet-bar a:hover {
  background: rgba(249, 115, 22, 0.12);
}

/* Ensure Leaflet never overlays the sticky header */
.tk-customerboard .leaflet-container {
  z-index: 1;
}

.tk-customerboard .leaflet-top,
.tk-customerboard .leaflet-bottom {
  z-index: 2;
}

/* Header basket button (customerboard only) */
.tk-cartbtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  min-height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #fff;
  cursor: pointer;
  color: #111827;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.tk-cartbtn:hover {
  background: rgba(249, 115, 22, 0.06);
  border-color: rgba(249, 115, 22, 0.28);
}

.tk-cartbtn.is-flash {
  animation: tk-cartbtn-flash 0.32s ease-in-out 0s 3;
}

.tk-cartbtn.is-flash,
.tk-cartbtn.is-flash:hover {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.tk-cartbtn.is-flash .tk-cartbtn__meta {
  color: rgba(255, 255, 255, 0.92);
}

.tk-cartbtn.is-flash .tk-cartbtn__icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

@keyframes tk-cartbtn-flash {
  0% {
    background: #fff;
    border-color: rgba(17, 24, 39, 0.14);
    color: #111827;
  }
  50% {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
  }
  100% {
    background: #fff;
    border-color: rgba(17, 24, 39, 0.14);
    color: #111827;
  }
}

.tk-cartbtn__icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.12);
  color: #111827;
}

.tk-cartbtn__text {
  display: grid;
  line-height: 1.1;
  text-align: left;
}

.tk-cartbtn__label {
  font-weight: 900;
  font-size: 13px;
}

.tk-cartbtn__meta {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.72);
}

/* Keep header height consistent: basket stays one-line on desktop. */
@media (min-width: 641px) {
  #teekrTopNav .tk-cartbtn__text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    white-space: nowrap;
  }

  #teekrTopNav .tk-cartbtn__meta {
    font-size: 13px;
  }
}

.tk-customerboard-note {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.72);
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .tk-cartbtn__meta {
    display: none;
  }
}

/* Header dropdown cart panel (customerboard only markup, global styles ok) */
.tk-cartpanel {
  position: absolute;
  right: 12px;
  top: 72px;
  width: min(420px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: none;
  z-index: 12000;
}

.tk-cartpanel.is-open {
  display: block;
}

.tk-cartpanel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.tk-cartpanel__title {
  font-weight: 900;
}

.tk-cartpanel__body {
  padding: 12px 14px;
  max-height: min(56vh, 520px);
  overflow: auto;
}

.tk-cartpanel__footer {
  padding: 12px 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(17, 24, 39, 0.02);
}

.tk-cartpanel__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  margin-bottom: 10px;
}

.tk-cartpanel__note {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.72);
  margin: 0 0 10px 0;
}

@media (max-width: 640px) {
  .tk-cartpanel {
    left: 12px;
    right: 12px;
    width: auto;
  }
}
