/* TBG My Garden List + Dual Search — brand: forest green, soft pink, cream */
:root {
  --tbg-mgl-forest: #1f320a;
  --tbg-mgl-green: #1a3326;
  --tbg-mgl-green-2: #234a36;
  --tbg-mgl-pink: #e8a4b8;
  --tbg-mgl-pink-hot: #ff70dc;
  --tbg-mgl-pink-soft: #fde8f0;
  --tbg-mgl-cream: #faf8f3;
  --tbg-mgl-beige: #f3efe6;
  --tbg-mgl-muted: #6d7a6f;
  --tbg-mgl-line: rgba(31, 50, 10, 0.12);
  --tbg-mgl-radius: 12px;
  --tbg-mgl-radius-pill: 999px;
}

/* Mobile nav overlay can sit above MGL modals (z-index 10300) and block taps while fading out. */
.tbg-mob-overlay:not(.tbg-is-active) {
  pointer-events: none !important;
}

/* Drawer open: header must not steal taps over the slide-in panel. */
@media (max-width: 991.98px) {
  body.tbg-mob-drawer-open #lc-header {
    pointer-events: none;
  }
  body.tbg-mob-drawer-open #tbg-mob-drawer.tbg-is-open {
    pointer-events: auto !important;
    z-index: 10450 !important;
  }
  body.tbg-mob-drawer-open .tbg-mob-overlay.tbg-is-active {
    z-index: 10300 !important;
    pointer-events: auto;
  }
}

/* Legacy sub-nav tabs removed — hide if cached HTML still injects them. */
.tbg-mob-subtabs {
  display: none !important;
}

/* —— Header: My Garden List button —— */
.tbg-mgl-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--tbg-mgl-line);
  border-radius: var(--tbg-mgl-radius-pill);
  background: #fff;
  color: var(--tbg-mgl-forest);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  line-height: 1.2;
}
.tbg-mgl-header-btn:hover {
  background: var(--tbg-mgl-cream);
  border-color: rgba(31, 50, 10, 0.28);
  color: var(--tbg-mgl-forest);
  text-decoration: none;
}
.tbg-mgl-header-btn__icon {
  color: var(--tbg-mgl-pink-hot);
  font-size: 0.95rem;
  line-height: 1;
}
.tbg-mgl-header-btn__label {
  display: inline;
}
.tbg-mgl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: var(--tbg-mgl-radius-pill);
  background: var(--tbg-mgl-pink-hot);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}
.tbg-mgl-badge:empty,
.tbg-mgl-badge[data-count="0"] {
  display: none;
}

/* Inject into topbar / mainnav */
#lc-header .tbg-topbar__right .tbg-mgl-header-btn,
#lc-header .tbg-mainnav .tbg-mgl-header-btn {
  margin-left: 0.5rem;
}
#lc-header .navbar-brand + .tbg-mgl-header-btn--mobile,
.tbg-mgl-header-btn--mobile {
  display: none;
}

/* Mobile drawer: My Garden List promo link */
@media (max-width: 991.98px) {
  .tbg-mob-mgl-promo {
    padding: 0.85rem 1.15rem;
    background: var(--tbg-mgl-pink-soft);
    border-bottom: 1px solid var(--tbg-mgl-line);
  }
  .tbg-mob-mgl-promo__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--tbg-mgl-forest);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
  }
  .tbg-mob-mgl-promo__link:hover {
    color: var(--tbg-mgl-green);
    text-decoration: none;
  }
  .tbg-mob-mgl-promo__icon {
    color: var(--tbg-mgl-pink-hot);
    font-size: 1.05rem;
    line-height: 1;
  }
  .tbg-mob-mgl-promo__label {
    flex: 1;
  }
}

@media (min-width: 992px) {
  .tbg-mob-mgl-promo {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .tbg-mgl-header-btn__label {
    display: none;
  }
  .tbg-mgl-header-btn {
    padding: 0.4rem 0.55rem;
    border: none;
    background: transparent;
  }
  #lc-header .tbg-mainnav .navbar-toggler {
    order: 3;
  }
  .tbg-mgl-header-btn--mobile {
    display: inline-flex;
    margin-left: auto;
    margin-right: 0.35rem;
    order: 2;
  }
  #lc-header .tbg-topbar__right .tbg-mgl-header-btn {
    display: none;
  }
}

/* —— Dual search: iconify header search on Garden Builder —— */
body.tbg-garden-builder-page #lc-header .tbg-topbar__search span {
  display: none;
}
body.tbg-garden-builder-page #lc-header .tbg-topbar__search {
  width: 2.4rem;
  min-width: 2.4rem;
  padding: 0.4rem;
  justify-content: center;
}
body.tbg-garden-builder-page #lc-header .tbg-mob-drawer__search,
body.tbg-garden-builder-page #lc-header .tbg-mob-search-bar {
  /* Keep drawer search available but de-emphasize; GB search is primary */
  opacity: 0.85;
}
body.tbg-garden-builder-page #lc-header .tbg-topbar__search {
  opacity: 0.9;
}

/* —— Save heart button —— */
.tbg-mgl-save {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(26, 51, 38, 0.15);
  color: var(--tbg-mgl-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  transition: color 0.15s ease, transform 0.12s ease, background 0.15s ease;
}
.tbg-mgl-save:hover {
  transform: scale(1.08);
  color: var(--tbg-mgl-pink-hot);
}
.tbg-mgl-save.is-saved {
  color: var(--tbg-mgl-pink-hot);
}
.tbg-mgl-save.is-saved .tbg-mgl-save__outline {
  display: none;
}
.tbg-mgl-save:not(.is-saved) .tbg-mgl-save__fill {
  display: none;
}
.tbg-mgl-save--inline {
  position: static;
  width: 1.75rem;
  height: 1.75rem;
  box-shadow: none;
  background: transparent;
  flex-shrink: 0;
}

/* Product cards in BB need relative positioning for heart overlay */
.tbg-backyard-builder .tbg-card {
  position: relative;
}
.tbg-backyard-builder .tbg-card .tbg-mgl-save {
  top: 0.45rem;
  right: 0.45rem;
}

/* —— Site search modal results —— */
.tbg-site-search {
  --tbg-mgl-forest: #1f320a;
}
.tbg-site-search__form {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  width: min(78%, 920px);
  max-width: 100%;
  margin: 0 auto 1.25rem;
}
.tbg-site-search__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  min-height: 64px;
  background: #fff;
  border: 1.5px solid var(--tbg-mgl-line);
  border-radius: var(--tbg-mgl-radius-pill);
}
.tbg-site-search__input-wrap svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: var(--tbg-mgl-muted);
  flex-shrink: 0;
}
.tbg-site-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--tbg-mgl-forest);
  min-width: 0;
}
.tbg-site-search__submit {
  border: none;
  border-radius: var(--tbg-mgl-radius-pill);
  background: var(--tbg-mgl-pink);
  color: var(--tbg-mgl-forest);
  font-weight: 700;
  min-width: 128px;
  width: min(140px, 22vw);
  padding: 0.65rem 1.35rem;
  cursor: pointer;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.12s ease;
}
.tbg-site-search__submit:hover {
  background: #f0b8c8;
  transform: translateY(-1px);
}
.tbg-site-search__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin: 0 auto 1rem;
  max-width: min(78%, 920px);
}
.tbg-site-search__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 auto 0.75rem;
  max-width: min(100%, 1400px);
}
.tbg-site-search__count {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tbg-mgl-forest);
}
.tbg-site-search__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.tbg-site-search__sort label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tbg-mgl-muted);
  margin: 0;
}
.tbg-site-search__sort-select {
  border: 1.5px solid var(--tbg-mgl-line);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--tbg-mgl-forest);
  background: #fff;
  cursor: pointer;
}
.tbg-site-search__sort-select:focus-visible {
  outline: 2px solid var(--tbg-mgl-pink);
  outline-offset: 2px;
}
.tbg-site-search__tab {
  border: 1.5px solid var(--tbg-mgl-line);
  border-radius: var(--tbg-mgl-radius-pill);
  background: #fff;
  color: var(--tbg-mgl-green-2);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.tbg-site-search__tab.is-active {
  background: var(--tbg-mgl-green);
  border-color: var(--tbg-mgl-green);
  color: #fff;
}
.tbg-site-search__banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: #fde9dc;
  border-radius: var(--tbg-mgl-radius);
  color: var(--tbg-mgl-forest);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.tbg-site-search__banner--compact {
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  margin: 0.75rem 0 1rem;
  background: rgba(253, 233, 220, 0.65);
}
.tbg-site-search__status.is-hint {
  font-size: 0.8rem;
  color: var(--tbg-mgl-muted);
  font-style: italic;
}
.tbg-site-search__section {
  margin-bottom: 1.5rem;
}
.tbg-site-search__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.tbg-site-search__section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest);
}
.tbg-site-search__section-link {
  font-size: 0.82rem;
  color: var(--tbg-mgl-green-2);
  text-decoration: none;
  font-weight: 600;
}
.tbg-site-search__section-link:hover {
  text-decoration: underline;
}
.tbg-site-search__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1279px) {
  .tbg-site-search__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .tbg-site-search__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .tbg-site-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 519px) {
  .tbg-site-search__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tbg-site-search__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tbg-site-search-card {
  position: relative;
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.65rem;
  background: #fff;
  border: 1px solid var(--tbg-mgl-line);
  border-radius: var(--tbg-mgl-radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.tbg-site-search-card:hover {
  border-color: rgba(31, 50, 10, 0.25);
  box-shadow: 0 4px 14px rgba(26, 51, 38, 0.08);
  text-decoration: none;
  color: inherit;
}
.tbg-site-search-card__img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tbg-mgl-beige);
  flex-shrink: 0;
}
.tbg-site-search-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tbg-site-search-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-right: 1.75rem;
}
.tbg-site-search-card__type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tbg-mgl-green);
}
.tbg-site-search-card__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tbg-site-search-card__title a {
  color: inherit;
  text-decoration: none;
}
.tbg-site-search-card__title a:hover {
  text-decoration: underline;
}
.tbg-site-search-card__meta {
  font-size: 0.8rem;
  color: var(--tbg-mgl-muted);
}
.tbg-site-search-card__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-top: 0.15rem;
}
.tbg-site-search-card__price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--tbg-mgl-green);
}
.tbg-site-search-card__rating {
  font-size: 0.8rem;
  color: var(--tbg-mgl-muted);
}
.tbg-site-search-card .tbg-mgl-save {
  top: 0.45rem;
  right: 0.45rem;
}
.tbg-site-search-card--product-grid {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tbg-site-search-card--product-grid:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(26, 51, 38, 0.12);
}
.tbg-site-search-card--product-grid .tbg-site-search-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 140px;
  border-radius: 0;
}
.tbg-site-search-card--product-grid .tbg-site-search-card__body {
  padding: 0.75rem 0.85rem 1rem;
  padding-right: 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tbg-site-search__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--tbg-mgl-muted);
}
.tbg-site-search__status {
  font-size: 0.85rem;
  color: var(--tbg-mgl-muted);
  margin-bottom: 0.75rem;
}

/* Modal shell upgrades when our UI mounts */
.tbg-search-modal {
  z-index: 10500 !important;
  background: #fff;
  animation: tbgSearchModalFadeIn 0.28s ease;
}
/* Defense-in-depth: the search modal is moved to <body> at z-index 10500 (above
   the mobile drawer at 10450). Bootstrap's base `.modal{display:none}` already
   hides it when closed, but guarantee it here so a closed modal can never sit
   invisibly over the drawer and eat taps. */
.tbg-search-modal:not(.show) {
  display: none !important;
  pointer-events: none !important;
}
body.tbg-search-modal-open > .modal-backdrop.show {
  background: #fff;
  opacity: 1;
}
@keyframes tbgSearchModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tbg-search-modal .modal-dialog {
  max-width: none;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.tbg-search-modal .modal-content {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  overflow: visible;
}
.tbg-search-modal__legacy {
  display: none !important;
}
.tbg-search-modal__shell {
  width: 100%;
}
.tbg-search-modal__inner {
  width: min(1400px, calc(100vw - 64px));
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 64px;
}
.tbg-search-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 4vh, 2.5rem);
}
.tbg-search-modal__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.tbg-search-modal__logo img {
  width: auto;
  height: 52px;
  max-width: min(180px, 42vw);
  object-fit: contain;
  object-position: left center;
}
.tbg-search-modal__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  color: #4a4a4a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.tbg-search-modal__close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.tbg-search-modal__close:hover,
.tbg-search-modal__close:focus-visible {
  background: #e8e8e8;
  color: #1f320a;
}
.tbg-search-modal__intro {
  margin-bottom: 1.5rem;
  text-align: center;
}
.tbg-search-modal__title {
  margin: 0 0 0.45rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--tbg-mgl-green, #1a3326);
  text-align: center;
}
.tbg-search-modal__sub {
  margin: 0 auto;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--tbg-mgl-muted, #6d7a6f);
  max-width: 38rem;
  text-align: center;
}
.tbg-search-modal .tbg-site-search__form {
  margin-bottom: 1rem;
}
.tbg-search-modal__chips {
  margin-top: 1.25rem;
  text-align: center;
}
.tbg-search-modal__chips-row {
  justify-content: center;
}
.tbg-search-modal__chips-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tbg-mgl-muted, #6d7a6f);
}
.tbg-search-modal__chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tbg-search-modal__chip {
  border: 1.5px solid var(--tbg-mgl-line, rgba(31, 50, 10, 0.12));
  border-radius: var(--tbg-mgl-radius-pill, 999px);
  background: #fff;
  color: var(--tbg-mgl-green-2, #234a36);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.tbg-search-modal__chip:hover {
  background: var(--tbg-mgl-pink-soft, #fde8f0);
  border-color: var(--tbg-mgl-pink, #e8a4b8);
}
body.tbg-search-modal-open,
html.tbg-search-modal-open {
  overflow: hidden !important;
}
/* Hide page chrome only — not #lc-header itself (search modal lives inside it). */
body.tbg-search-modal-open #lc-header .tbg-topbar,
body.tbg-search-modal-open #lc-header .tbg-mainnav,
body.tbg-search-modal-open #lc-header .tbg-mob-drawer,
body.tbg-search-modal-open #theme-main {
  visibility: hidden;
}
#tbg-site-search-root {
  padding: 0;
}
.tbg-search-modal .tbg-site-search__form {
  margin-bottom: 0.85rem;
}
.tbg-search-modal .tbg-site-search__input-wrap {
  padding: 0.75rem 1.1rem;
  min-height: 56px;
}
.tbg-search-modal .tbg-site-search__input {
  font-size: 1.05rem;
}
.tbg-search-modal .tbg-site-search__submit {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .tbg-search-modal .tbg-site-search__form {
    flex-direction: column;
    align-items: stretch;
  }
  .tbg-search-modal .tbg-site-search__submit {
    width: 100%;
  }
  .tbg-search-modal__logo img {
    height: 44px;
  }
}

/* Soft signup prompt after 2nd save — z-index above mobile nav overlay (10400). */
.tbg-mgl-signup-prompt {
  position: fixed;
  inset: 0;
  z-index: 10520;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: tbgSearchModalFadeIn 0.22s ease;
  pointer-events: none;
  isolation: isolate;
}
.tbg-mgl-signup-prompt[hidden] {
  display: none !important;
}
.tbg-mgl-signup-prompt__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(26, 51, 38, 0.48);
  pointer-events: auto;
  cursor: pointer;
}
.tbg-mgl-signup-prompt__panel {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  max-height: min(92dvh, 720px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #fff 0%, var(--tbg-mgl-cream, #faf8f3) 100%);
  border-radius: 16px;
  padding: 1.5rem 1.45rem 1.25rem;
  box-shadow: 0 22px 56px rgba(26, 51, 38, 0.24);
  border: 1px solid rgba(232, 164, 184, 0.35);
  pointer-events: auto;
  touch-action: auto;
}
.tbg-mgl-signup-prompt__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  color: #4a4a4a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.tbg-mgl-signup-prompt__close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.tbg-mgl-signup-prompt__close:hover,
.tbg-mgl-signup-prompt__close:focus-visible {
  background: #e8e8e8;
  color: #1f320a;
  outline: none;
}
.tbg-mgl-signup-prompt__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tbg-mgl-pink, #e8a4b8), var(--tbg-mgl-green, #1a3326));
}
.tbg-mgl-signup-prompt__eyebrow {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tbg-mgl-pink-hot, #ff70dc);
}
.tbg-mgl-signup-prompt__title {
  margin: 0 0 0.4rem;
  font-family: "Playfair Display", Domine, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest, #1f320a);
  line-height: 1.2;
}
.tbg-mgl-signup-prompt__sub {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--tbg-mgl-muted, #6d7a6f);
  line-height: 1.5;
}
.tbg-mgl-signup-prompt__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}
.tbg-mgl-signup-prompt__field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest, #1f320a);
}
.tbg-mgl-signup-prompt__field input {
  position: relative;
  z-index: 1;
  border: 1.5px solid var(--tbg-mgl-line, rgba(31, 50, 10, 0.12));
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--tbg-mgl-forest, #1f320a);
  pointer-events: auto;
  touch-action: auto;
  -webkit-user-select: text;
  user-select: text;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tbg-mgl-signup-prompt #tbg-mgl-signup-form {
  position: relative;
  z-index: 1;
}
.tbg-mgl-signup-prompt__field input:focus {
  outline: none;
  border-color: var(--tbg-mgl-pink, #e8a4b8);
  box-shadow: 0 0 0 3px rgba(232, 164, 184, 0.28);
}
.tbg-mgl-signup-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.tbg-mgl-signup-prompt__actions .tbg-mgl-btn--pink {
  flex: 1 1 auto;
  min-width: 140px;
}
.tbg-mgl-signup-prompt__skip {
  border: none;
  background: transparent;
  color: var(--tbg-mgl-muted, #6d7a6f);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.45rem 0.35rem;
  font-family: inherit;
}
.tbg-mgl-signup-prompt__skip:hover {
  color: var(--tbg-mgl-forest, #1f320a);
}
.tbg-mgl-signup-prompt__privacy {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--tbg-mgl-muted, #6d7a6f);
  line-height: 1.4;
}
.tbg-mgl-signup-prompt__msg {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
}
.tbg-mgl-signup-prompt__msg[hidden] {
  display: none !important;
}
.tbg-mgl-signup-prompt__msg.is-error {
  background: #fde8e8;
  color: #8a1f1f;
  border: 1px solid rgba(138, 31, 31, 0.12);
}
.tbg-mgl-signup-prompt__msg.is-success {
  background: #e8f0e4;
  color: var(--tbg-mgl-forest, #1f320a);
  border: 1px solid rgba(35, 74, 54, 0.12);
}
/* Honeypot — visually hidden, not display:none (some bots skip display:none) */
.tbg-mgl-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* iOS: locking html + body together breaks focus in fixed overlays — lock body only. */
body.tbg-mgl-signup-open {
  overflow: hidden !important;
}
html.tbg-mgl-signup-open {
  overflow: visible !important;
}
html.tbg-mgl-signup-open.tbg-search-modal-open {
  overflow: visible !important;
}

/* Legacy modal overrides (pre-enhancement fallback) */
.modal.bd-example-modal-lg .modal-content,
.bd-example-modal-lg .modal-content {
  border-radius: 0;
  overflow: visible;
}

/* —— Drawer —— */
.tbg-mgl-drawer {
  position: fixed;
  inset: 0;
  z-index: 10510;
}
.tbg-mgl-drawer[hidden] {
  display: none !important;
}
.tbg-mgl-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 51, 38, 0.35);
}
.tbg-mgl-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100%;
  background: var(--tbg-mgl-cream);
  box-shadow: -8px 0 32px rgba(26, 51, 38, 0.18);
  display: flex;
  flex-direction: column;
  animation: tbgMglSlideIn 0.28s ease;
}
@keyframes tbgMglSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.tbg-mgl-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--tbg-mgl-line);
  background: #fff;
}
.tbg-mgl-drawer__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tbg-mgl-drawer__title .tbg-mgl-heart {
  color: var(--tbg-mgl-pink-hot);
}
.tbg-mgl-drawer__close {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--tbg-mgl-muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.tbg-mgl-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem 1rem;
}
.tbg-mgl-drawer__foot {
  padding: 0.9rem 1.15rem 1.2rem;
  border-top: 1px solid var(--tbg-mgl-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tbg-mgl-drawer__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--tbg-mgl-muted);
  line-height: 1.4;
}
.tbg-mgl-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid var(--tbg-mgl-line);
  border-radius: 10px;
  margin-bottom: 0.55rem;
}
.tbg-mgl-item__img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tbg-mgl-beige);
  flex-shrink: 0;
}
.tbg-mgl-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Branded placeholder when a saved item has no image or the image fails to load
   (broken/expired URL, hotlink-blocked) — avoids a blank gray box. */
.tbg-mgl-item__img.is-empty,
.tbg-site-search-card__img.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tbg-mgl-pink-soft);
}
.tbg-mgl-item__img.is-empty::after,
.tbg-site-search-card__img.is-empty::after {
  content: "\2665"; /* ♥ */
  color: var(--tbg-mgl-pink-hot);
  opacity: 0.6;
  font-size: 1.35rem;
  line-height: 1;
}
.tbg-site-search-card__img.is-empty::after {
  font-size: 2rem;
}
.tbg-mgl-item__body {
  flex: 1;
  min-width: 0;
}
.tbg-mgl-item__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest);
  line-height: 1.3;
}
.tbg-mgl-item__title a {
  color: inherit;
  text-decoration: none;
}
.tbg-mgl-item__title a:hover {
  text-decoration: underline;
}
.tbg-mgl-item__meta {
  font-size: 0.75rem;
  color: var(--tbg-mgl-muted);
}
.tbg-mgl-item__remove {
  border: none;
  background: transparent;
  color: var(--tbg-mgl-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.25rem;
  line-height: 1;
}
.tbg-mgl-item__remove:hover {
  color: #b33;
}
.tbg-mgl-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--tbg-mgl-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* —— Buttons —— */
.tbg-mgl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--tbg-mgl-radius-pill);
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, background 0.15s ease;
}
.tbg-mgl-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.tbg-mgl-btn--green {
  background: var(--tbg-mgl-green);
  color: #fff;
}
.tbg-mgl-btn--green:hover {
  background: var(--tbg-mgl-green-2);
  color: #fff;
}
.tbg-mgl-btn--pink {
  background: var(--tbg-mgl-pink);
  color: var(--tbg-mgl-forest);
}
.tbg-mgl-btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

/* —— Toast —— */
.tbg-mgl-toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10530;
  background: var(--tbg-mgl-green);
  color: #fff;
  padding: 0.65rem 1.15rem;
  border-radius: var(--tbg-mgl-radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(26, 51, 38, 0.25);
  max-width: min(90vw, 360px);
  text-align: center;
}
.tbg-mgl-toast[hidden] {
  display: none !important;
}

/* —— Mobile sticky bar —— */
.tbg-mgl-mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10040;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #e8f0e4;
  border-top: 1px solid var(--tbg-mgl-line);
  box-shadow: 0 -4px 16px rgba(26, 51, 38, 0.08);
}
.tbg-mgl-mobile-bar__text {
  font-size: 0.8rem;
  color: var(--tbg-mgl-forest);
  line-height: 1.35;
  flex: 1;
}
@media (max-width: 991.98px) {
  .tbg-mgl-mobile-bar:not([hidden]) {
    display: flex;
  }
  body.tbg-mgl-has-items {
    padding-bottom: 4.5rem;
  }
}

/* —— Full page —— */
.tbg-mgl-page {
  background: #fff;
  min-height: 60vh;
  /* Clear fixed #lc-header (same offsets as pSEO / backyard builder in functions.php). */
  --tbg-mgl-header-offset: 72px;
  padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--tbg-mgl-header-offset));
}
@media (min-width: 768px) {
  .tbg-mgl-page {
    --tbg-mgl-header-offset: 133px;
    padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--tbg-mgl-header-offset));
  }
}
.tbg-mgl-page__inner {
  width: min(1200px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 48px 0 80px;
}
.tbg-mgl-page__header {
  text-align: center;
  margin-bottom: 2rem;
  scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--tbg-mgl-header-offset, 72px) + 1rem);
}
.tbg-mgl-page__title {
  font-family: Domine, "Playfair Display", Georgia, serif;
  font-size: clamp(2.75rem, 5vw, 3.25rem);
  color: var(--tbg-mgl-green);
  margin: 0 0 0.65rem;
  line-height: 1.1;
}
.tbg-mgl-page__sub {
  color: var(--tbg-mgl-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.55;
}
.tbg-mgl-page__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.tbg-mgl-page__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1023px) {
  .tbg-mgl-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .tbg-mgl-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 519px) {
  .tbg-mgl-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tbg-mgl-page__card {
  height: 100%;
}
.tbg-mgl-empty-card {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  padding: 2.5rem 2rem 2.25rem;
  background: #fff;
  border: 1px solid var(--tbg-mgl-line);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(26, 51, 38, 0.06);
}
.tbg-mgl-empty-card__icon {
  margin-bottom: 1.25rem;
}
.tbg-mgl-empty-card__heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--tbg-mgl-pink-soft);
  color: var(--tbg-mgl-pink-hot);
  font-size: 2rem;
  line-height: 1;
}
.tbg-mgl-empty-card__title {
  margin: 0 0 0.5rem;
  font-family: Domine, "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  color: var(--tbg-mgl-green);
}
.tbg-mgl-empty-card__text {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--tbg-mgl-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.tbg-mgl-empty-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.tbg-mgl-btn--outline {
  background: #fff;
  color: var(--tbg-mgl-forest);
  border: 1.5px solid var(--tbg-mgl-line);
}
.tbg-mgl-btn--outline:hover {
  background: var(--tbg-mgl-cream);
  color: var(--tbg-mgl-forest);
}
.tbg-mgl-page__hint {
  text-align: center;
  color: var(--tbg-mgl-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}
.tbg-mgl-page__hint--account {
  max-width: 36rem;
  margin: 2rem auto 0;
}
.tbg-mgl-page__builder-tip {
  text-align: center;
  color: var(--tbg-mgl-muted);
  font-size: 0.88rem;
  margin: 1.75rem auto 0;
  max-width: 36rem;
}
.tbg-mgl-page__builder-tip a {
  color: var(--tbg-mgl-green);
  font-weight: 700;
  text-decoration: none;
}
.tbg-mgl-page__builder-tip a:hover {
  text-decoration: underline;
}

/* —— Magic-link access (My Garden List page) —— */
.tbg-mgl-access {
  margin: 2.5rem auto 0;
  max-width: 900px;
}
.tbg-mgl-access__card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: var(--tbg-mgl-beige);
  border: 1px solid var(--tbg-mgl-line);
  border-radius: var(--tbg-mgl-radius);
}
.tbg-mgl-access__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #e8f0e4;
  color: var(--tbg-mgl-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tbg-mgl-access__content {
  flex: 1;
  min-width: 0;
}
.tbg-mgl-access__title {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest);
}
.tbg-mgl-access__sub {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--tbg-mgl-muted);
  line-height: 1.45;
}
.tbg-mgl-access__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest);
  margin-bottom: 0.35rem;
}
.tbg-mgl-access__fields {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.75rem;
  align-items: flex-start;
}
.tbg-mgl-access__fields input[type="email"] {
  flex: 1 1 220px;
  width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  line-height: 1.4;
  border: 1.5px solid var(--tbg-mgl-line);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--tbg-mgl-forest);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}
.tbg-mgl-access__fields input[type="email"]:focus-visible {
  outline: 2px solid var(--tbg-mgl-pink);
  outline-offset: 2px;
}
.tbg-mgl-access__fields .tbg-mgl-btn {
  flex: 0 0 auto;
  align-self: flex-start;
  min-height: 48px;
}
.tbg-mgl-access__form input[type="text"] {
  flex: 1 1 220px;
  border: 1.5px solid var(--tbg-mgl-line);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  position: relative;
  z-index: 1;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}
.tbg-mgl-access__form input[type="text"]:focus-visible {
  outline: 2px solid var(--tbg-mgl-pink);
  outline-offset: 2px;
}
.tbg-mgl-access__content,
.tbg-mgl-access__form {
  position: relative;
  z-index: 1;
}
.tbg-mgl-access__msg {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
}
.tbg-mgl-access__msg[hidden] {
  display: none !important;
}
.tbg-mgl-access__msg.is-success {
  background: #e8f0e4;
  color: var(--tbg-mgl-forest);
  border: 1px solid rgba(35, 74, 54, 0.12);
}
.tbg-mgl-access__msg.is-error {
  background: #fde8e8;
  color: #8a1f1f;
  border: 1px solid rgba(138, 31, 31, 0.12);
}
.tbg-mgl-access__hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--tbg-mgl-muted);
  line-height: 1.45;
}
.tbg-mgl-access__notice {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}
.tbg-mgl-access__notice--ok {
  background: #e8f0e4;
  color: var(--tbg-mgl-forest);
}
.tbg-mgl-access__notice--error {
  background: #fde8e8;
  color: #8a1f1f;
}
.tbg-mgl-singular-save {
  margin: 0 0 1.25rem;
}
.tbg-site-search-page {
  background: #fff;
}
.tbg-site-search-page__container {
  width: min(1400px, calc(100vw - 64px));
  margin: 0 auto;
  padding-top: 28px;
  padding-bottom: 64px;
}
.tbg-site-search-page__hero {
  background: #fff;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.tbg-site-search-page__hero .tbg-site-search-page__container {
  padding-top: 28px;
}
.tbg-site-search-page .tbg-mgl-page__title {
  text-align: center;
  font-family: "Playfair Display", Domine, Georgia, serif;
}
.tbg-site-search-page .tbg-mgl-page__sub {
  text-align: center;
}
.tbg-site-search-page .tbg-site-search__form {
  margin-bottom: 1rem;
}
.tbg-site-search-page .tbg-search-modal__intro {
  text-align: center;
  margin-bottom: 1.5rem;
}
.tbg-site-search-page .tbg-search-modal__title {
  text-align: center;
}
@media (max-width: 767.98px) {
  .tbg-site-search__form,
  .tbg-search-modal .tbg-site-search__form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .tbg-site-search__submit,
  .tbg-search-modal .tbg-site-search__submit {
    width: 100%;
    min-width: 0;
  }
  .tbg-mgl-access__card {
    flex-direction: column;
  }
  .tbg-mgl-access__fields {
    flex-direction: column;
    gap: 0.75rem;
  }
  .tbg-mgl-access__fields input[type="email"] {
    width: 100%;
    flex: 0 0 auto;
  }
  .tbg-mgl-access__fields .tbg-mgl-btn {
    width: 100%;
  }
}

/* —— GB Smart Search enhancements —— */
.tbg-bb-mgl-cta {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--tbg-mgl-pink-soft);
  border-radius: var(--tbg-mgl-radius);
  color: var(--tbg-mgl-forest);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0.75rem 0 1rem;
}
.tbg-bb-mgl-cta strong {
  font-weight: 700;
}
.tbg-bb-mgl-footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
  background: #e8f0e4;
  border-radius: var(--tbg-mgl-radius);
  color: var(--tbg-mgl-forest);
  font-size: 0.92rem;
  line-height: 1.4;
}
.tbg-bb-search-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 1100px) {
  .tbg-bb-search-layout--with-sidebar {
    grid-template-columns: 1fr minmax(260px, 300px);
    align-items: start;
  }
}
.tbg-bb-mgl-sidebar {
  background: #fff;
  border: 1px solid var(--tbg-mgl-line);
  border-radius: var(--tbg-mgl-radius);
  padding: 1rem;
  position: sticky;
  top: 1rem;
}
.tbg-bb-mgl-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.tbg-bb-mgl-sidebar__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tbg-mgl-forest);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.tbg-bb-mgl-sidebar__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tbg-mgl-green-2);
  text-decoration: none;
}
.tbg-bb-mgl-info {
  margin-top: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--tbg-mgl-forest);
}
.tbg-bb-mgl-info--green {
  background: #e8f0e4;
}
.tbg-bb-mgl-info--cream {
  background: var(--tbg-mgl-beige);
}

.tbg-bb-content-results {
  margin-top: 0.5rem;
}
.tbg-bb-content-results .tbg-site-search-card {
  background: #fff;
}

/* Search results tabs (GB overlay) */
.tbg-bb-search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0.85rem;
}
.tbg-bb-search-tabs button {
  border: 1.5px solid var(--tbg-mgl-line);
  border-radius: var(--tbg-mgl-radius-pill);
  background: #fff;
  color: var(--tbg-mgl-green-2);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  cursor: pointer;
  font-family: inherit;
}
.tbg-bb-search-tabs button.is-active {
  background: var(--tbg-mgl-green);
  border-color: var(--tbg-mgl-green);
  color: #fff;
}
