/* ==========================================================================
   Sandanski.town design system (Stripe-inspired)
   Deep navy ink, one electric indigo for actions, a soft solid page colour on
   public pages, thin Inter display type and tabular figures for money.
   ========================================================================== */

:root {
  --st-primary: #533afd;
  --st-primary-deep: #4434d4;
  --st-primary-press: #2e2b8c;
  --st-primary-soft: #665efd;
  --st-primary-subdued: #b9b9f9;
  --st-primary-tint: #efedff;
  --st-brand-dark: #1c1e54;
  --st-ruby: #ea2261;
  --st-magenta: #f96bee;
  --st-canvas: #ffffff;
  --st-canvas-soft: #f6f9fc;
  --st-canvas-cream: #f5e9d4;
  /* Public page background. Vendors can override it for their own pages (Profile > Page colour). */
  --st-page-bg: #f4f3fb;
  --st-hairline: #e3e8ee;
  --st-hairline-input: #a8c3de;
  --st-ink: #0d253d;
  --st-ink-secondary: #273951;
  --st-ink-mute: #64748d;
  --st-shadow-1: 0 1px 3px rgba(0, 55, 112, .08);
  --st-shadow-2: 0 8px 24px rgba(0, 55, 112, .08), 0 2px 6px rgba(0, 55, 112, .04);
  --st-font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Bootstrap tokens mapped onto the palette so every component follows it. */
  --bs-font-sans-serif: var(--st-font);
  --bs-body-font-family: var(--st-font);
  --bs-body-font-weight: 300;
  --bs-body-color: var(--st-ink);
  --bs-body-color-rgb: 13, 37, 61;
  --bs-body-bg: var(--st-canvas);
  --bs-emphasis-color: var(--st-ink);
  --bs-emphasis-color-rgb: 13, 37, 61;
  --bs-heading-color: var(--st-ink);
  --bs-secondary-color: var(--st-ink-mute);
  --bs-secondary-rgb: 100, 116, 141;
  --bs-secondary-bg: var(--st-canvas-soft);
  --bs-tertiary-bg: var(--st-canvas-soft);
  --bs-primary: var(--st-primary);
  --bs-primary-rgb: 83, 58, 253;
  --bs-primary-text-emphasis: var(--st-primary-deep);
  --bs-primary-bg-subtle: var(--st-primary-tint);
  --bs-primary-border-subtle: var(--st-primary-subdued);
  --bs-dark: var(--st-brand-dark);
  --bs-dark-rgb: 28, 30, 84;
  --bs-info-rgb: 102, 94, 253;
  --bs-link-color: var(--st-primary);
  --bs-link-color-rgb: 83, 58, 253;
  --bs-link-hover-color: var(--st-primary-press);
  --bs-link-hover-color-rgb: 46, 43, 140;
  --bs-border-color: var(--st-hairline);
  --bs-border-color-translucent: var(--st-hairline);
  --bs-border-radius: 6px;
  --bs-border-radius-sm: 4px;
  --bs-border-radius-lg: 12px;
  --bs-border-radius-xl: 16px;
  --bs-border-radius-pill: 9999px;
  --bs-box-shadow-sm: var(--st-shadow-1);
  --bs-box-shadow: var(--st-shadow-2);
  --bs-focus-ring-color: rgba(83, 58, 253, .25);
}

html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  background: var(--st-canvas);
  font-feature-settings: "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.st-app {
  background: var(--st-canvas-soft);
}

.st-main {
  flex: 1 0 auto;
}

/* ---- Typography: thin display tier with negative tracking ---- */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 300;
  color: var(--st-ink);
}

h1, .h1 { font-size: 32px; line-height: 1.1; letter-spacing: -.64px; }
h2, .h2 { font-size: 26px; line-height: 1.12; letter-spacing: -.26px; }
h3, .h3 { font-size: 22px; line-height: 1.1; letter-spacing: -.22px; }
h4, .h4 { font-size: 20px; line-height: 1.4; letter-spacing: -.2px; }
h5, .h5 { font-size: 18px; line-height: 1.4; letter-spacing: 0; font-weight: 400; }
h6, .h6 { font-size: 16px; line-height: 1.4; letter-spacing: 0; font-weight: 400; }

.lead {
  font-size: 18px;
  font-weight: 300;
  color: var(--st-ink-secondary);
}

.display-6 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: -.8px;
  font-variant-numeric: tabular-nums;
}

.fw-bold { font-weight: 600 !important; }
.fw-semibold { font-weight: 500 !important; }
b, strong { font-weight: 500; }

.small, small { font-size: 13px; }

a {
  text-decoration: none;
}

a:hover {
  color: var(--st-primary-press);
}

/* Tabular figures wherever money or counts show up. */
.table, .badge, .text-end, .text-nowrap, .menu-item-price, .list-group-item,
.booking-calendar, .slot-grid, .page-link, .tnum {
  font-variant-numeric: tabular-nums;
}

/* ---- Page colour (public pages) ---- */

body.st-public {
  background: var(--st-page-bg);
}

/* Vendor pages sit on a white surface so any colour or gradient the vendor picks stays readable. */
body.st-portal .st-main > main {
  background: var(--st-canvas);
  border-radius: 16px;
  box-shadow: var(--st-shadow-2);
  padding: 24px 24px 48px;
}

@media (max-width: 575.98px) {
  body.st-portal .st-main > main {
    padding: 12px 12px 32px;
  }
}

/* ---- Navigation: frosted glass bar over the page colour and content scrolling under it ---- */

.st-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  margin-bottom: 24px;
}

.st-header .navbar {
  padding: 12px 0;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 rgba(13, 37, 61, .06), 0 8px 24px rgba(13, 37, 61, .04);
}

.st-app .st-header .navbar {
  background: var(--st-canvas);
  border-bottom-color: var(--st-hairline);
}

.navbar-brand {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -.36px;
  color: var(--st-ink) !important;
}

.navbar .nav-link {
  color: var(--st-ink-secondary);
  font-weight: 400;
  font-size: 15px;
}

.navbar .nav-link:hover, .navbar .nav-link:focus {
  color: var(--st-primary);
}

.navbar .st-nav-cta {
  padding: 6px 16px;
}

/* ---- Footer ---- */

.st-footer {
  flex-shrink: 0;
  margin-top: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--st-hairline);
  background: var(--st-canvas);
  color: var(--st-ink-mute);
  font-size: 13px;
  letter-spacing: -.2px;
}

.st-footer a {
  color: var(--st-ink-mute);
}

.st-footer a:hover {
  color: var(--st-primary);
}

.st-footer-brand {
  color: var(--st-ink);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

/* ---- Home hero ---- */

.st-hero {
  padding: 56px 0 40px;
  max-width: 760px;
}

.st-eyebrow {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .65);
  color: var(--st-primary-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.st-display {
  font-size: 56px;
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: -1.4px;
  margin-bottom: 16px;
}

.st-lead {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--st-ink-secondary);
  max-width: 560px;
}

.st-search {
  padding: 12px;
  background: var(--st-canvas);
  border-radius: 16px;
  box-shadow: var(--st-shadow-2);
  --bs-gutter-x: 8px;
  margin-left: 0;
  margin-right: 0;
}

.st-search .form-control-lg, .st-search .form-select-lg {
  border-color: transparent;
  background-color: var(--st-canvas-soft);
}

/* Filter chips under the directory search. */
.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-chip {
  border: 1px solid var(--st-hairline);
  background: var(--st-canvas);
  color: var(--st-ink-secondary);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.st-chip:hover {
  border-color: var(--st-primary-subdued);
  color: var(--st-primary);
}

.st-chip:focus-visible {
  outline: 2px solid var(--st-primary);
  outline-offset: 2px;
}

.st-chip[aria-pressed="true"] {
  background: var(--st-primary);
  border-color: var(--st-primary);
  color: #fff;
}

/* Lunch today page. */
.st-lunch-head {
  padding: 32px 0 24px;
}

.lunch-logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--st-hairline);
}

.lunch-logo-empty {
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--st-primary);
  background: var(--st-primary-tint);
}

.lunch-when {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  white-space: nowrap;
}

.lunch-when-later {
  background: var(--st-primary-tint);
  color: var(--st-primary-deep);
}

.lunch-title {
  font-weight: 600;
  color: var(--st-ink-secondary);
}

.lunch-deals li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--st-hairline);
  font-size: 14px;
}

.lunch-deals li.is-sold-out .lunch-deal-name,
.lunch-deals li.is-sold-out .lunch-deal-price {
  color: var(--st-ink-mute);
}

.lunch-deal-price {
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Homepage rows. */
.home-section {
  margin-top: 48px;
}

.home-row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.home-see-all {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.home-see-all:hover {
  text-decoration: underline;
}

/* One horizontal row of cards: 4 visible on desktop, swipe on phones. */
.home-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 16px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  margin: -4px -4px 0;
  scrollbar-width: thin;
}

.home-scroller-item {
  scroll-snap-align: start;
  min-width: 0;
}

@media (max-width: 991.98px) {
  .home-scroller { grid-auto-columns: calc((100% - 16px) / 2.3); }
}

@media (max-width: 575.98px) {
  .home-scroller { grid-auto-columns: 80%; }
  .home-section { margin-top: 36px; }
}

.home-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--st-canvas);
  border: 1px solid var(--st-hairline);
  color: var(--st-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--st-shadow-1);
  transition: border-color .15s ease, color .15s ease;
}

.home-category:hover {
  border-color: var(--st-primary-subdued);
  color: var(--st-primary);
}

@media (max-width: 575.98px) {
  .home-categories {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin: -2px -2px 0;
  }

  .home-category {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.home-category-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--st-primary-tint);
  color: var(--st-primary-deep);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.home-lunch-card, .home-loyalty-card {
  transition: box-shadow .15s ease, transform .15s ease;
}

.home-lunch-card:hover, .home-loyalty-card:hover {
  box-shadow: var(--st-shadow-2) !important;
  transform: translateY(-2px);
}

.home-lunch-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--st-hairline);
}

.home-lunch-logo-empty {
  display: grid;
  place-items: center;
  font-weight: 600;
  color: var(--st-primary);
  background: var(--st-primary-tint);
}

.home-lunch-deals li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--st-hairline);
  min-width: 0;
}

.home-stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.home-stamps span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px dashed var(--st-primary-subdued);
}

.home-stamps span.is-reward {
  border-style: solid;
  border-color: var(--st-primary);
  background: var(--st-primary);
}

.home-map-teaser {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  color: var(--st-ink);
  background:
    repeating-linear-gradient(0deg, rgba(83, 58, 253, .06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(83, 58, 253, .06) 0 1px, transparent 1px 28px),
    linear-gradient(135deg, #eef7f1, var(--st-primary-tint));
  border: 1px solid var(--st-hairline);
  box-shadow: var(--st-shadow-1);
}

.home-map-text {
  flex: 1;
  min-width: 0;
}

.home-map-pins {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 64px;
}

.home-map-pins i {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--st-primary);
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.home-map-pins i:nth-child(1) { left: 6px; top: 30px; }
.home-map-pins i:nth-child(2) { left: 30px; top: 8px; background: var(--st-ruby); }
.home-map-pins i:nth-child(3) { left: 50px; top: 36px; }
.home-map-pins i:nth-child(4) { left: 72px; top: 14px; background: #15803d; }
.home-map-pins i:nth-child(5) { left: 80px; top: 44px; }

@media (max-width: 575.98px) {
  .home-map-teaser { flex-wrap: wrap; padding: 20px; gap: 16px; }
  .home-map-pins { display: none; }
}

.home-step {
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  background: var(--st-canvas);
  border: 1px solid var(--st-hairline);
}

.home-step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--st-primary-tint);
  color: var(--st-primary-deep);
  font-weight: 600;
  font-size: 14px;
}

.st-cream-band {
  background: var(--st-canvas-cream);
  border-radius: 12px;
  padding: 32px;
}

@media (max-width: 767.98px) {
  .st-hero { padding: 32px 0 24px; }
  .st-display { font-size: 36px; letter-spacing: -.9px; }
  .st-lead { font-size: 17px; }
  .st-cream-band { padding: 24px; }
  h1, .h1 { font-size: 26px; letter-spacing: -.4px; }
}

/* ---- Buttons: tight pills ---- */

.btn {
  --bs-btn-padding-x: 16px;
  --bs-btn-padding-y: 8px;
  --bs-btn-font-size: 15px;
  --bs-btn-font-weight: 400;
  --bs-btn-border-radius: 9999px;
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(83, 58, 253, .25);
  letter-spacing: 0;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn-sm {
  --bs-btn-padding-x: 12px;
  --bs-btn-padding-y: 5px;
  --bs-btn-font-size: 13px;
  --bs-btn-border-radius: 9999px;
}

.btn-lg {
  --bs-btn-padding-x: 22px;
  --bs-btn-padding-y: 10px;
  --bs-btn-font-size: 16px;
  --bs-btn-border-radius: 9999px;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--st-primary);
  --bs-btn-border-color: var(--st-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--st-primary-deep);
  --bs-btn-hover-border-color: var(--st-primary-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--st-primary-press);
  --bs-btn-active-border-color: var(--st-primary-press);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--st-primary);
  --bs-btn-disabled-border-color: var(--st-primary);
}

.btn-outline-primary {
  --bs-btn-color: var(--st-primary);
  --bs-btn-bg: var(--st-canvas);
  --bs-btn-border-color: var(--st-primary);
  --bs-btn-hover-color: var(--st-primary-press);
  --bs-btn-hover-bg: var(--st-primary-tint);
  --bs-btn-hover-border-color: var(--st-primary);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--st-primary);
  --bs-btn-active-border-color: var(--st-primary);
  --bs-btn-disabled-color: var(--st-primary);
  --bs-btn-disabled-border-color: var(--st-primary);
}

.btn-outline-secondary, .btn-light {
  --bs-btn-color: var(--st-ink);
  --bs-btn-bg: var(--st-canvas);
  --bs-btn-border-color: var(--st-hairline);
  --bs-btn-hover-color: var(--st-ink);
  --bs-btn-hover-bg: var(--st-canvas-soft);
  --bs-btn-hover-border-color: #cfd7e1;
  --bs-btn-active-color: var(--st-ink);
  --bs-btn-active-bg: #eef2f7;
  --bs-btn-active-border-color: #cfd7e1;
  --bs-btn-disabled-color: var(--st-ink-mute);
  --bs-btn-disabled-bg: var(--st-canvas);
  --bs-btn-disabled-border-color: var(--st-hairline);
  box-shadow: var(--st-shadow-1);
}

.btn-outline-dark, .btn-dark {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--st-brand-dark);
  --bs-btn-border-color: var(--st-brand-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--st-ink);
  --bs-btn-hover-border-color: var(--st-ink);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--st-ink);
  --bs-btn-active-border-color: var(--st-ink);
}

.btn-outline-danger {
  --bs-btn-color: #c0123f;
  --bs-btn-bg: var(--st-canvas);
  --bs-btn-border-color: #f5b5c8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--st-ruby);
  --bs-btn-hover-border-color: var(--st-ruby);
  --bs-btn-active-bg: #c0123f;
  --bs-btn-active-border-color: #c0123f;
}

.btn-danger {
  --bs-btn-bg: var(--st-ruby);
  --bs-btn-border-color: var(--st-ruby);
  --bs-btn-hover-bg: #c0123f;
  --bs-btn-hover-border-color: #c0123f;
}

.btn-warning {
  --bs-btn-color: var(--st-ink);
  --bs-btn-bg: #ffd79a;
  --bs-btn-border-color: #ffd79a;
  --bs-btn-hover-bg: #ffc56b;
  --bs-btn-hover-border-color: #ffc56b;
}

.btn-link {
  --bs-btn-color: var(--st-primary);
  --bs-btn-hover-color: var(--st-primary-press);
  text-decoration: none;
}

.btn-group > .btn {
  --bs-btn-border-radius: 9999px;
}

.btn-group > .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.btn-group > .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* ---- Cards and surfaces ---- */

.card {
  --bs-card-border-color: var(--st-hairline);
  --bs-card-border-radius: 12px;
  --bs-card-inner-border-radius: 11px;
  --bs-card-cap-bg: var(--st-canvas-soft);
  --bs-card-spacer-y: 20px;
  --bs-card-spacer-x: 24px;
  background-color: var(--st-canvas);
}

.card.border-primary {
  border-color: var(--st-primary-subdued) !important;
  box-shadow: 0 0 0 1px var(--st-primary-subdued), var(--st-shadow-1);
}

a.card {
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}

a.card:hover {
  box-shadow: var(--st-shadow-2) !important;
  border-color: #d5dde7;
  transform: translateY(-1px);
}

.list-group {
  --bs-list-group-border-color: var(--st-hairline);
  --bs-list-group-border-radius: 12px;
  --bs-list-group-action-hover-bg: var(--st-canvas-soft);
  --bs-list-group-action-active-bg: var(--st-primary-tint);
  --bs-list-group-active-bg: var(--st-primary);
  --bs-list-group-active-border-color: var(--st-primary);
}

.bg-light { background-color: var(--st-canvas-soft) !important; }

.modal {
  --bs-modal-border-radius: 16px;
  --bs-modal-border-color: var(--st-hairline);
  --bs-modal-box-shadow: var(--st-shadow-2);
  --bs-modal-header-border-color: var(--st-hairline);
  --bs-modal-footer-border-color: var(--st-hairline);
}

.modal-backdrop {
  --bs-backdrop-bg: #0d253d;
  --bs-backdrop-opacity: .4;
}

.dropdown-menu {
  --bs-dropdown-border-color: var(--st-hairline);
  --bs-dropdown-border-radius: 12px;
  --bs-dropdown-box-shadow: var(--st-shadow-2);
  --bs-dropdown-link-active-bg: var(--st-primary);
  box-shadow: var(--st-shadow-2);
}

/* ---- Tables: dashboard style with tabular figures ---- */

.table {
  --bs-table-border-color: var(--st-hairline);
  --bs-table-hover-bg: var(--st-canvas-soft);
  --bs-table-striped-bg: var(--st-canvas-soft);
  font-size: 14px;
  letter-spacing: -.2px;
}

.table > thead th {
  color: var(--st-ink-mute);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  text-transform: uppercase;
  border-bottom-color: var(--st-hairline);
}

.table-responsive > .table {
  border: 1px solid var(--st-hairline);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: var(--st-shadow-1);
}

.table-responsive > .table > :last-child > tr:last-child > * {
  border-bottom-width: 0;
}

/* ---- Forms ---- */

.form-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--st-ink-secondary);
  margin-bottom: 6px;
}

.form-control, .form-select {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 300;
  color: var(--st-ink);
  border-color: var(--st-hairline-input);
  border-radius: 6px;
  box-shadow: 0 1px 1px rgba(0, 55, 112, .04);
}

.form-select {
  padding-right: 36px;
}

.form-control-sm, .form-select-sm {
  min-height: 32px;
  padding: 4px 10px;
  font-size: 14px;
}

.form-select-sm {
  padding-right: 32px;
}

.form-control-lg, .form-select-lg {
  min-height: 48px;
  font-size: 16px;
  border-radius: 8px;
}

.form-control::placeholder {
  color: #8898aa;
}

.form-control:focus, .form-select:focus, .form-check-input:focus {
  border-color: var(--st-primary);
  box-shadow: 0 0 0 3px rgba(83, 58, 253, .2);
}

.form-check-input {
  border-color: var(--st-hairline-input);
}

.form-check-input:checked {
  background-color: var(--st-primary);
  border-color: var(--st-primary);
}

.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23b9b9f9'/%3e%3c/svg%3e");
}

.form-text {
  color: var(--st-ink-mute);
  font-size: 13px;
}

.input-group-text {
  background: var(--st-canvas-soft);
  border-color: var(--st-hairline-input);
  color: var(--st-ink-mute);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ---- Pills, tabs, badges ---- */

.nav-pills {
  --bs-nav-pills-border-radius: 9999px;
  --bs-nav-pills-link-active-bg: var(--st-brand-dark);
  --bs-nav-link-color: var(--st-ink-secondary);
  --bs-nav-link-hover-color: var(--st-primary);
  --bs-nav-link-padding-x: 14px;
  --bs-nav-link-padding-y: 6px;
  --bs-nav-link-font-weight: 400;
  gap: 6px;
}

.nav-pills .nav-link {
  font-size: 14px;
  white-space: nowrap;
}

.nav-tabs {
  --bs-nav-tabs-border-color: var(--st-hairline);
  --bs-nav-tabs-link-active-color: var(--st-primary);
  --bs-nav-tabs-link-active-border-color: transparent transparent var(--st-primary);
  --bs-nav-link-color: var(--st-ink-mute);
  --bs-nav-link-hover-color: var(--st-ink);
}

.nav-tabs .nav-link {
  border-width: 0 0 2px;
  margin-bottom: -1px;
}

.badge {
  --bs-badge-font-weight: 500;
  --bs-badge-font-size: 11px;
  --bs-badge-padding-x: 8px;
  --bs-badge-padding-y: 4px;
  --bs-badge-border-radius: 9999px;
  letter-spacing: .1px;
}

/* Status badges are soft tags rather than solid blocks. */
.badge.text-bg-primary { background-color: var(--st-primary-tint) !important; color: var(--st-primary-deep) !important; }
.badge.text-bg-success { background-color: #d7f7e4 !important; color: #05603a !important; }
.badge.text-bg-warning { background-color: #fdefcb !important; color: #8a4b00 !important; }
.badge.text-bg-danger { background-color: #ffe0e8 !important; color: #b0103d !important; }
.badge.text-bg-info { background-color: #e5e3ff !important; color: #3b2fc9 !important; }
.badge.text-bg-secondary { background-color: #ebeef2 !important; color: var(--st-ink-secondary) !important; }
.badge.text-bg-dark { background-color: var(--st-brand-dark) !important; color: #fff !important; }

/* ---- Alerts, toasts, pager ---- */

.alert {
  --bs-alert-border-radius: 8px;
  --bs-alert-padding-x: 16px;
  --bs-alert-padding-y: 12px;
  font-size: 14px;
}

.alert-success { --bs-alert-bg: #ebfbf1; --bs-alert-border-color: #bfeccf; --bs-alert-color: #05603a; --bs-alert-link-color: #05603a; }
.alert-info { --bs-alert-bg: var(--st-primary-tint); --bs-alert-border-color: #d7d2ff; --bs-alert-color: #3b2fc9; --bs-alert-link-color: #2e2b8c; }
.alert-warning { --bs-alert-bg: #fff7e6; --bs-alert-border-color: #fbe0a8; --bs-alert-color: #7a4500; --bs-alert-link-color: #7a4500; }
.alert-danger { --bs-alert-bg: #fff0f4; --bs-alert-border-color: #ffc8d6; --bs-alert-color: #a50e39; --bs-alert-link-color: #a50e39; }

.toast {
  --bs-toast-border-radius: 12px;
  --bs-toast-box-shadow: var(--st-shadow-2);
  --bs-toast-font-size: 14px;
}

.toast.text-bg-success, .toast.text-bg-primary {
  background-color: var(--st-brand-dark) !important;
}

.toast.text-bg-danger {
  background-color: var(--st-ruby) !important;
}

.pagination {
  --bs-pagination-color: var(--st-ink-secondary);
  --bs-pagination-border-color: var(--st-hairline);
  --bs-pagination-hover-color: var(--st-primary);
  --bs-pagination-hover-bg: var(--st-canvas-soft);
  --bs-pagination-hover-border-color: var(--st-hairline);
  --bs-pagination-active-bg: var(--st-primary);
  --bs-pagination-active-border-color: var(--st-primary);
  --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(83, 58, 253, .25);
  --bs-pagination-font-size: 14px;
  gap: 4px;
}

.pagination .page-link {
  border-radius: 9999px !important;
  min-width: 36px;
  text-align: center;
}

.text-warning-emphasis { color: #8a4b00 !important; }

hr {
  border-color: var(--st-hairline);
  opacity: 1;
}

.border, .border-top, .border-bottom, .border-start, .border-end {
  border-color: var(--st-hairline);
}

.border-primary { border-color: var(--st-primary) !important; }

.shadow-sm { box-shadow: var(--st-shadow-1) !important; }
.shadow { box-shadow: var(--st-shadow-2) !important; }

.bg-primary-subtle { background-color: var(--st-primary-tint) !important; }

/* ---- Skeleton loaders (shown while /api data loads) ---- */

.skeleton {
  background: linear-gradient(90deg, #edf1f6 25%, #f6f9fc 37%, #edf1f6 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
  border-radius: .375rem;
}

.skeleton-line {
  height: 1rem;
  margin-bottom: .75rem;
}

.skeleton-line:last-child {
  width: 60%;
}

.skeleton-title {
  height: 2rem;
  width: 40%;
  margin-bottom: 1rem;
}

.skeleton-card {
  height: 180px;
}

.skeleton-slot {
  height: 2.5rem;
}

.skeleton-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

@keyframes skeleton-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
}

/* ---- Vendor portal ---- */

/* Without a cover photo the header shows the page colour (the vendor's own, or the site default). */
.vendor-cover {
  height: 220px;
  background: var(--st-page-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 16px;
  box-shadow: var(--st-shadow-1);
}

/* Vendor photo gallery (up to 9 photos above the description). */
.vendor-gallery {
  border-radius: 12px;
  overflow: hidden;
  background: var(--st-canvas-soft);
}

.vendor-gallery-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.vendor-gallery .carousel-control-prev,
.vendor-gallery .carousel-control-next {
  width: 12%;
}

.vendor-gallery .carousel-control-prev-icon,
.vendor-gallery .carousel-control-next-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(13, 37, 61, .45);
  background-size: 50%;
}

/* Profile form: gallery thumbnails and page colour swatches. */
.gallery-edit-item {
  position: relative;
  border: 1px solid var(--st-hairline);
  border-radius: 8px;
  overflow: hidden;
  background: var(--st-canvas-soft);
}

.gallery-edit-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-edit-add {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--st-hairline-input);
  border-radius: 8px;
  cursor: pointer;
  color: var(--st-ink-mute);
}

.theme-swatch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 76px;
  font-size: 12px;
  cursor: pointer;
}

.theme-swatch-chip {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--st-hairline);
}

.btn-check:checked + .theme-swatch .theme-swatch-chip {
  outline: 3px solid var(--st-primary);
  outline-offset: 2px;
}

.btn-check:focus-visible + .theme-swatch .theme-swatch-chip {
  box-shadow: 0 0 0 4px var(--bs-focus-ring-color);
}

.vendor-logo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid #fff;
  background: #fff;
}

/* Directory vendor card: cover photo with badges, overlapping logo, facts row. */
.vendor-card {
  overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}

.vendor-card:hover {
  box-shadow: var(--st-shadow-2) !important;
  transform: translateY(-2px);
}

.vendor-card-media {
  position: relative;
}

.vendor-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--st-primary-tint);
}

@media (max-width: 767.98px) {
  .vendor-card-cover {
    aspect-ratio: 2.4 / 1;
  }
}

.vendor-card-cover-empty {
  background: linear-gradient(135deg, var(--st-primary-tint), var(--st-canvas-cream));
}

.vendor-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}

.vendor-badge {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--st-canvas);
  color: var(--st-ink-secondary);
  box-shadow: var(--st-shadow-1);
}

.vendor-badge-open {
  background: #15803d;
  color: #fff;
}

.vendor-badge-closed {
  background: rgba(13, 37, 61, .78);
  color: #fff;
}

.vendor-badge-new {
  background: var(--st-primary);
  color: #fff;
}

.vendor-badge-featured {
  background: #b45309;
  color: #fff;
}

.vendor-card-avatar {
  position: absolute;
  left: 16px;
  bottom: -24px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid var(--st-canvas);
  background: var(--st-canvas);
  box-shadow: var(--st-shadow-1);
}

.vendor-card-avatar-empty {
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 22px;
  color: var(--st-primary);
  background: var(--st-primary-tint);
}

.vendor-card-body {
  padding: 32px 16px 16px;
}

.vendor-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--st-ink-secondary);
}

.vendor-card-rating span[aria-hidden] {
  color: #f59e0b;
}

.vendor-card-desc {
  color: var(--st-ink-mute);
}

.vendor-card-logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--st-hairline);
}

/* Cart lines: price above a compact quantity stepper so both fit next to the name on phones. */
.cart-line-img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--st-hairline);
}

.cart-qty .btn {
  padding: .125rem .5rem;
  min-width: 2rem;
  font-size: .875rem;
}

@media (max-width: 575.98px) {
  .cart-line-img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 399.98px) {
  .cart-line-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .cart-qty .btn {
    padding: .125rem .375rem;
    min-width: 1.75rem;
  }
}

.menu-item-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: .5rem;
}

/* Menu category tabs: white pills on hairlines, the active one in deep navy. */
.menu-tabs {
  --bs-nav-pills-link-active-bg: var(--st-brand-dark);
  --bs-nav-link-color: var(--st-ink-secondary);
  --bs-nav-link-hover-color: var(--st-primary);
  gap: .5rem;
  scrollbar-width: thin;
}

.menu-tabs .nav-link {
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--st-hairline);
  box-shadow: var(--st-shadow-1);
}

.menu-tabs .nav-link.active {
  border-color: var(--st-brand-dark);
}

.menu-item {
  transition: box-shadow .15s ease;
}

.menu-item:hover {
  box-shadow: var(--st-shadow-2) !important;
}

.menu-item h3 a:hover {
  text-decoration: underline !important;
}

.menu-item-price {
  font-weight: 500;
  color: var(--st-ink);
  letter-spacing: -.36px;
}

.menu-item-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.min-w-0 {
  min-width: 0;
}

.product-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

/* ---- Item stats, stars and reviews (menu items and services) ---- */

.item-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-bottom: .5rem;
  color: var(--st-ink-mute);
}

.item-stats > span + span::before {
  content: "\00B7";
  margin-right: 1rem;
  margin-left: -.5rem;
}

.rating-inline {
  color: var(--st-ink);
  font-variant-numeric: tabular-nums;
}

.rating-star,
.stars > span {
  color: #f5a623;
}

.stars {
  position: relative;
  display: inline-block;
  line-height: 1;
  color: var(--st-hairline);
  letter-spacing: 1px;
}

.stars::before,
.stars > span::before {
  content: "\2605\2605\2605\2605\2605";
}

.stars > span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
}

.stars-lg {
  font-size: 1.4rem;
}

.review-score,
.review-bars {
  border: 1px solid var(--st-hairline);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--st-canvas-soft);
}

.review-score-value {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: .5rem 0 .25rem;
  font-variant-numeric: tabular-nums;
}

.review-score-value span {
  font-size: 1rem;
  color: var(--st-ink-mute);
  letter-spacing: 0;
}

.review-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
  background: var(--st-canvas);
}

.review-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
}

.review-bar .progress {
  height: 8px;
}

.review-bar .progress-bar {
  background: #f5a623;
}

.review-bar-label {
  width: 7.5rem;
  flex-shrink: 0;
}

.review-bar-count {
  width: 3.5rem;
  text-align: right;
  color: var(--st-ink-mute);
  font-variant-numeric: tabular-nums;
}

.review-text {
  white-space: pre-line;
}

.review-reply {
  margin-left: 1rem;
  padding: .75rem 1rem;
  border-left: 3px solid var(--st-primary-subdued);
  background: var(--st-canvas-soft);
  border-radius: 0 6px 6px 0;
}

.star-input .js-star {
  border: 0;
  background: none;
  padding: 0 .1rem;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--st-hairline);
}

.star-input .js-star.on {
  color: #f5a623;
}

.star-input .js-star:focus-visible {
  outline: 2px solid var(--st-primary);
  border-radius: 4px;
}

@media (max-width: 575.98px) {
  .review-bar-label {
    width: 6.5rem;
    font-size: .8rem;
  }
}

/* ---- Booking ---- */

.booking-calendar-wrap {
  max-width: 420px;
}

/* Calendar and the day's slots side by side on desktop, one below the other on phones and tablets. */
@media (min-width: 992px) {
  .booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .35rem;
  text-align: center;
}

.booking-calendar .btn {
  width: 100%;
  padding: .45rem 0;
}

.calendar-weekday {
  font-size: .8rem;
  color: var(--bs-secondary-color);
}

.calendar-off {
  display: block;
  padding: .45rem 0;
  color: var(--bs-secondary-color);
  opacity: .5;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: .5rem;
}

.slot-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.vendor-slot {
  background: var(--bs-body-bg);
}

.vendor-slot-info {
  min-height: 1.4rem;
}

.slot-grid .btn:disabled {
  text-decoration: line-through;
  opacity: .45;
}

.slot-blocked {
  background: #fff0f4;
}

/* ---- Stamp cards ---- */

.stamp-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.stamp {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 2px dashed var(--st-hairline-input);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stamp.filled {
  background: var(--st-primary);
  border: 2px solid var(--st-primary);
  color: #fff;
}

.qr-box {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--st-hairline);
  display: inline-block;
}

/* ---- Vendor admin ---- */

/* The business admin sidebar is the dark-app shell of the dashboard track. */
.vendor-sidebar.card {
  background: var(--st-brand-dark);
  border-color: var(--st-brand-dark);
  color: #fff;
  box-shadow: var(--st-shadow-2) !important;
}

@media (min-width: 992px) {
  .vendor-sidebar.card {
    position: sticky;
    top: 88px;
  }
}

.vendor-sidebar .skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, .08) 25%, rgba(255, 255, 255, .16) 37%, rgba(255, 255, 255, .08) 63%);
  background-size: 400% 100%;
}

.vendor-sidebar a:not(.nav-link):not(.alert-link) {
  color: var(--st-primary-subdued);
}

.vendor-sidebar a:not(.nav-link):not(.alert-link):hover {
  color: #fff;
}

.vendor-sidebar .alert a {
  color: inherit;
  text-decoration: underline;
}

.vendor-sidebar .vendor-card-logo {
  border-color: rgba(255, 255, 255, .2);
}

.vendor-sidebar .nav-link {
  color: rgba(255, 255, 255, .72);
  border-radius: 8px;
  font-size: 14px;
  padding: 8px 12px;
}

.vendor-sidebar .nav-link .las {
  font-size: 18px;
  opacity: .8;
}

.vendor-sidebar .nav-link:hover, .vendor-sidebar .nav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.vendor-sidebar .nav-link.active {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--st-primary-soft);
}

.sortable-handle {
  cursor: grab;
}

.promo-preview {
  width: 100%;
  height: 520px;
  border: 1px solid var(--st-hairline);
  border-radius: 12px;
  background: #fff;
}


.leaflet-control-attribution {
  display: none;
}

.leaflet-container {
  font-family: var(--st-font);
  border-radius: 12px;
}
/* ---- Customer Profile page ---- */

.profile-nav .nav-pills {
  --bs-nav-pills-border-radius: 8px;
  gap: 4px;
}

.profile-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.profile-nav .nav-link .las {
  font-size: 18px;
}

@media (min-width: 992px) {
  .profile-nav {
    position: sticky;
    top: 88px;
  }
}

/* ---- Error pages (404, 500...) ---- */

.st-error-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 0 32px;
  text-align: center;
}

.st-error-code {
  font-size: clamp(88px, 22vw, 140px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--st-primary) 0%, var(--st-primary-soft) 55%, var(--st-primary-subdued) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.st-error-title {
  margin: 16px 0 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.st-error-message {
  margin-bottom: 28px;
  color: var(--bs-secondary-color);
  font-size: 17px;
}

.st-error-request {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--bs-secondary-color);
}

.st-error-request code {
  color: inherit;
}

/* ---- Map page ---- */

.st-map-head {
  padding: 32px 0 20px;
}

.st-map-filter {
  width: 240px;
}

.st-explore-map {
  width: 100%;
  height: calc(100vh - 260px);
  min-height: 420px;
  border: 1px solid var(--st-hairline);
  border-radius: 12px;
  box-shadow: var(--st-shadow-2);
  background: #fff;
}

.map-popup-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--st-hairline);
}

.map-popup-name {
  color: var(--st-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.map-popup p {
  margin-top: 0;
  color: var(--st-ink-secondary);
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: var(--st-shadow-2);
}

.leaflet-popup-content a.btn-primary {
  color: #fff;
}

@media (max-width: 767.98px) {
  .st-map-head { padding: 20px 0 16px; }
  .st-map-filter { width: 100%; }
  .st-explore-map { height: calc(100vh - 220px); min-height: 360px; }
}

/* ---- Blog ---- */

.st-blog-head {
  padding: 32px 0 24px;
}

.st-blog-empty {
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--st-hairline);
  border-radius: 12px;
}

.st-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--st-hairline);
  border-radius: 12px;
  box-shadow: var(--st-shadow-1);
  transition: box-shadow .15s ease, transform .15s ease;
}

.st-blog-card:hover {
  box-shadow: var(--st-shadow-2);
  transform: translateY(-2px);
}

.st-blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--st-canvas-soft);
}

.st-blog-card-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--st-primary-tint), #fff);
}

.st-blog-card-placeholder img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--st-shadow-1);
}

.st-blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.st-blog-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.st-blog-card-title a {
  color: var(--st-ink);
  text-decoration: none;
}

.st-blog-card:hover .st-blog-card-title a {
  color: var(--st-primary);
}

.st-blog-card-excerpt {
  margin: 0;
  color: var(--st-ink-mute);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.st-blog-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--st-ink-mute);
  font-size: 13px;
}

.st-blog-meta a {
  position: relative;
  z-index: 2;
  color: var(--st-ink-secondary);
  font-weight: 500;
  text-decoration: none;
}

.st-blog-meta-logo {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--st-hairline);
}

.st-blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0 16px;
}

.st-blog-back {
  font-size: 14px;
  text-decoration: none;
}

.st-blog-title {
  margin: 12px 0 8px;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.st-blog-subtitle {
  margin: 0 0 24px;
  color: var(--st-ink-secondary);
  font-size: 19px;
  line-height: 1.45;
}

.st-blog-image {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--st-shadow-2);
  margin-bottom: 24px;
}

.st-blog-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 28px;
  background: linear-gradient(120deg, var(--st-brand-dark), var(--st-primary-deep));
  border-radius: 12px;
  color: #fff;
  box-shadow: var(--st-shadow-2);
}

.st-blog-cta-logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
}

.st-blog-cta-name {
  flex-grow: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.st-blog-cta .st-blog-cta-btn {
  flex-shrink: 0;
  background: #fff;
  border-color: #fff;
  color: var(--st-primary-press);
  font-weight: 500;
}

.st-blog-cta .st-blog-cta-btn:hover,
.st-blog-cta .st-blog-cta-btn:focus-visible {
  background: var(--st-primary-tint);
  border-color: var(--st-primary-tint);
  color: var(--st-primary-press);
}

.st-blog-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--st-ink-secondary);
  overflow-wrap: anywhere;
}

.st-blog-body p {
  margin-bottom: 1.1em;
}

.st-blog-list-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--st-hairline);
}

.st-blog-cta-fields {
  padding: 12px 14px;
  border: 1px solid var(--st-hairline);
  border-radius: 8px;
  background: var(--st-canvas-soft);
}

@media (max-width: 575.98px) {
  .st-blog-head { padding: 20px 0 16px; }
  .st-blog-post { padding-top: 20px; }
  .st-blog-cta { flex-wrap: wrap; }
  .st-blog-cta .st-blog-cta-btn { width: 100%; }
}

/* ---- End-of-day bags ---- */
.bag-card {
  overflow: hidden;
}

.bag-card-media {
  position: relative;
}

.bag-card-img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.bag-card-img-empty {
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.bag-card-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.bag-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bag-card-price {
  font-weight: 700;
  font-size: 1.1rem;
}

.bag-card-qty {
  width: auto;
  flex: 0 0 64px;
}

.vendor-badge-bag {
  background: #0f766e;
  color: #fff;
}

.bag-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--st-canvas);
  border: 1px dashed var(--st-border, #d0d5dd);
}

/* ---- What's on ---- */
.event-card {
  overflow: hidden;
}

.event-card-img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.event-date {
  flex: 0 0 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 10px;
  background: var(--st-primary-tint);
  color: var(--st-primary);
  line-height: 1;
}

.event-date-day {
  font-size: 1.35rem;
  font-weight: 700;
}

.event-date-month {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.st-event-category {
  background: var(--st-primary-tint);
  color: var(--st-primary);
  font-weight: 600;
}

.st-event-facts {
  display: grid;
  gap: 6px;
  margin: 16px 0 20px;
}

.st-event-facts > div {
  display: flex;
  gap: 12px;
}

.st-event-facts dt {
  flex: 0 0 64px;
  font-weight: 600;
  color: var(--st-ink-secondary);
}

.st-event-facts dd {
  margin: 0;
}

/* Cloudflare Turnstile security check: hidden until Cloudflare asks the visitor to click (above modals). */
.st-turnstile {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: calc(100vw - 2rem);
  padding: .75rem 1rem 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: .75rem;
  box-shadow: var(--st-shadow-2);
  text-align: center;
}
.st-turnstile.is-open { display: block; }
.st-turnstile p { margin: 0 0 .5rem; font-size: .875rem; font-weight: 600; }
