/* THB Directory. Brand: Jost headings in #595946, Inter body in #32361D. */
.thb-dir,
.thb-sup {
  --thb-ink: #32361D;
  --thb-head: #595946;
  --thb-line: rgba(50, 54, 29, 0.28);
  --thb-soft: rgba(50, 54, 29, 0.06);
  --thb-head-font: 'Jost', 'Inter', system-ui, sans-serif;
  --thb-body-font: 'Inter', system-ui, sans-serif;
  --thb-radius: 30px;      /* corners on cards, boxes and buttons */
  --thb-hover: #fbf8ef;    /* dropdown and search bar hover */
  --thb-panel: #fbf8ef;    /* Get in touch box */
  --thb-offer: #e5dac8;    /* Reader offer badge on cards */
  color: var(--thb-ink);
  font-family: var(--thb-body-font);
}

.thb-dir *,
.thb-sup * { box-sizing: border-box; }

/* Layout: filters on top, results below */
.thb-dir__layout { display: block; }

/* Country, State, Category bar */
.thb-dir__search {
  --thb-bar-radius: var(--thb-radius);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-bar-radius);
  position: relative;
  z-index: 20;
  background: #fff;
  margin-bottom: 16px;
}
.thb-dir__seg {
  display: block;
  margin: 0;
  padding: 14px 24px 12px;
  position: relative;
  cursor: pointer;
}
.thb-dir__seg + .thb-dir__seg { border-left: 1px solid var(--thb-line); }
.thb-dir__seg { transition: background 0.15s ease; }
.thb-dir__seg:first-child { border-radius: var(--thb-bar-radius) 0 0 var(--thb-bar-radius); }
.thb-dir__search:not(.thb-dir__search--jump) .thb-dir__seg:last-child { border-radius: 0 var(--thb-bar-radius) var(--thb-bar-radius) 0; }
.thb-dir__seg:hover,
.thb-dir__seg.is-open { background: var(--thb-hover); }
.thb-dir__seg.is-disabled:hover { background: transparent; }
.thb-dir__seg:focus-within { box-shadow: inset 0 0 0 2px var(--thb-ink); }
.thb-dir__seg.is-open:focus-within { box-shadow: none; }

/* Styled dropdown button and list */
.thb-dd__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden;
}
.thb-dir__search .thb-dd__btn {
  appearance: none;
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--thb-ink);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 30px;
  min-height: 30px;
  margin: 0;
  outline: none;
  overflow: hidden;
  padding: 0 28px 0 0;
  position: relative;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.thb-dir__search .thb-dd__btn::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.thb-dir__seg.is-open .thb-dd__btn::after { transform: translateY(-20%) rotate(-135deg); }
.thb-dir__search .thb-dd__btn:disabled { cursor: default; opacity: 0.45; }
.thb-dd__list {
  position: absolute;
  top: calc(100% + 1px);
  left: -1px;
  min-width: calc(100% + 2px);
  max-height: 340px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 14px 34px rgba(50, 54, 29, 0.12);
  z-index: 30;
}
.thb-dd__list li {
  margin: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--thb-line);
  color: var(--thb-ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
}
.thb-dd__list li:first-child { border-top: 0; }
.thb-dd__list li.is-active { background: var(--thb-hover); }
.thb-dd__list li[aria-selected="true"] { font-weight: 600; }
.thb-dir__label {
  display: block;
  font-family: var(--thb-head-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--thb-head);
}
.thb-dir__search .thb-dir__seg select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2332361D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 16px;
  box-shadow: none;
  color: var(--thb-ink);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  margin: 0;
  min-height: 30px;
  outline: none;
  padding: 0 24px 0 0;
}
.thb-dir__search .thb-dir__seg select:disabled { cursor: default; opacity: 0.45; }

/* Search bar on supplier pages, with a Search button */
.thb-sup .thb-dir__search { margin-bottom: 40px; }
.thb-dir__search--jump { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.thb-dir__go {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--thb-ink);
  border: 0;
  border-radius: 0 var(--thb-bar-radius) var(--thb-bar-radius) 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  padding: 0 28px;
  min-height: 56px;
}
.thb-dir__go:hover,
.thb-dir__go:focus-visible { background: var(--thb-head); color: #fff; }
.thb-dir__go .thb-dir__icon { width: 18px; height: 18px; }

/* Service chips */
.thb-dir__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.thb-dir__tag {
  appearance: none;
  background: transparent;
  border: 1px solid var(--thb-line);
  border-radius: 999px;
  color: var(--thb-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 6px 14px;
  min-height: 34px;
}
.thb-dir__tag:hover { border-color: var(--thb-ink); }
.thb-dir__tag[hidden] { display: none !important; }
.thb-dir__tag.is-active {
  background: var(--thb-ink);
  border-color: var(--thb-ink);
  color: #fff;
}

.thb-dir__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--thb-line);
  padding-top: 16px;
  margin: 8px 0 20px;
}
.thb-dir__status { margin: 0; font-size: 14px; opacity: 0.75; }
.thb-dir__reset {
  appearance: none;
  background: none;
  border: 0;
  color: var(--thb-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}

/* Cards */
.thb-dir__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.thb-dir__card { margin: 0; scroll-margin-top: 120px; }
.thb-dir__card[hidden] { display: none !important; }
.thb-dir__inner {
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-radius);
  height: 100%;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Cover photo: the supplier's first gallery photo, full width at the top */
.thb-dir__cover {
  margin: -24px -20px 0;
  width: calc(100% + 40px);
  aspect-ratio: 4 / 3;
  background: var(--thb-panel);
  overflow: hidden;
}
.thb-dir__cover img,
.thb-dir__cover .thb-dir__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.6s ease;
}
/* The logo sits in a white circle, overlapping the bottom of the photo */
.thb-dir__card.has-cover .thb-dir__logo {
  position: relative;
  margin-top: -40px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(50, 54, 29, 0.12);
  object-fit: cover;
}

/* The whole card opens the profile, with a gentle lift on hover */
.thb-dir__card .thb-dir__btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.thb-dir__inner:hover,
.thb-dir__inner:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(50, 54, 29, 0.10);
}
.thb-dir__inner:hover .thb-dir__cover img { transform: scale(1.03); }

/* Card button: outlined, filling in when the card is hovered */
.thb-dir__card .thb-dir__btn {
  background: transparent;
  color: var(--thb-ink) !important;
}
.thb-dir__card .thb-dir__inner:hover .thb-dir__btn,
.thb-dir__card .thb-dir__btn:focus-visible {
  background: var(--thb-ink);
  color: #fff !important;
}
@media (prefers-reduced-motion: reduce) {
  .thb-dir__inner, .thb-dir__cover img { transition: none; }
  .thb-dir__inner:hover, .thb-dir__inner:focus-within { transform: none; }
  .thb-dir__inner:hover .thb-dir__cover img { transform: none; }
}
.thb-dir__card.is-highlighted .thb-dir__inner {
  border-color: var(--thb-ink);
  box-shadow: 0 0 0 3px var(--thb-soft);
}
.thb-dir__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 0 14px;
}
.thb-dir__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
.thb-sup__header .thb-dir__badges { justify-content: flex-start; }
.thb-dir__offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--thb-offer);
  border-radius: var(--thb-radius);
  color: var(--thb-ink);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.thb-dir__offer-badge .thb-dir__icon { width: 13px; height: 13px; }
.thb-dir__badge {
  display: inline-block;
  border-radius: var(--thb-radius);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--thb-line);
  padding: 3px 10px;
  color: var(--thb-head);
}
.thb-dir .thb-dir__name {
  font-family: var(--thb-head-font);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  color: var(--thb-head);
  margin: 0 0 6px;
}
.thb-dir__type,
.thb-dir__loc {
  font-size: 13px;
  margin: 0 0 4px;
  opacity: 0.8;
}
.thb-dir__loc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Icons */
.thb-dir__icon {
  width: 15px;
  height: 15px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.thb-dir__chips.thb-dir__card-tags {
  width: 100%;
  margin: 14px 0 0;
}
.thb-dir__summary {
  font-size: 14px;
  line-height: 1.55;
  margin: 12px 0 0;
  text-align: left;
  width: 100%;
}

/* Expanding details */
.thb-dir__details {
  width: 100%;
  margin-top: 14px;
  border-top: 1px solid var(--thb-line);
  text-align: left;
}
.thb-dir__details summary {
  cursor: pointer;
  font-size: 14px;
  padding: 12px 0 4px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.thb-dir__details summary::-webkit-details-marker { display: none; }
.thb-dir__details summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.thb-dir__details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.thb-dir__more { padding-top: 10px; }

.thb-dir__chips {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.thb-dir__chips li {
  font-size: 12px;
  background: var(--thb-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin: 0;
}
.thb-dir__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.thb-dir__contact li {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.thb-dir__contact .thb-dir__icon { opacity: 0.75; }

/* Social icon row */
.thb-dir__socials {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.thb-dir__socials li { margin: 0; }
.thb-dir__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--thb-ink);
  border: 1px solid var(--thb-ink);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* Filled, switching to an outline on hover, like the Visit website button */
.thb-dir__socials a:hover,
.thb-dir__socials a:focus-visible {
  background: transparent;
  color: var(--thb-ink);
}
.thb-dir__socials .thb-dir__icon { width: 17px; height: 17px; }
.thb-dir__contact a,
.thb-dir__profile {
  color: var(--thb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Buttons */
.thb-dir__actions {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 16px;
}
.thb-dir__btn {
  display: inline-block;
  border-radius: var(--thb-radius);
  background: var(--thb-ink);
  border: 1px solid var(--thb-ink);
  color: #fff !important;
  font-size: 14px;
  padding: 9px 24px;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.thb-dir__btn:hover { background: transparent; color: var(--thb-ink) !important; }
.thb-dir__profile { font-size: 14px; }

.thb-dir__empty,
.thb-dir__empty-all {
  border-radius: var(--thb-radius);
  border: 1px dashed var(--thb-line);
  padding: 24px;
  text-align: center;
  margin-top: 8px;
}

/* Supplier page */
.thb-sup { max-width: 1140px; margin: 0 auto; padding: 24px 0 64px; }

/* Centre the directory and supplier pages inside Astra's full-width layout */
.thb-dir-page .thb-sup,
.thb-dir { margin-left: auto !important; margin-right: auto !important; }
.thb-dir { max-width: 1240px; }
.thb-sup__crumbs { font-size: 14px; margin: 0 0 24px; }
.thb-sup__crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thb-sup__crumbs li { margin: 0; display: flex; gap: 8px; align-items: center; }
.thb-sup__crumbs li + li::before { content: '\203A'; opacity: 0.6; }
.thb-sup__crumbs a { color: var(--thb-ink); text-decoration: none; }
.thb-sup__crumbs a:hover { text-decoration: underline; }
.thb-sup__crumbs [aria-current] { opacity: 0.7; }
.thb-sup__header {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--thb-line);
  margin-bottom: 32px;
}
.thb-sup__logo { width: 110px; height: 110px; object-fit: contain; flex: none; }
.thb-sup .thb-sup__title {
  font-family: var(--thb-head-font);
  font-weight: 400;
  color: var(--thb-head);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.thb-sup__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}
.thb-sup__content { line-height: 1.7; }
.thb-sup__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
/* Thumbnails are cropped to the same shape; the lightbox shows the full photo. */
.thb-sup__gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.thb-sup__aside {
  background: var(--thb-panel);
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-radius);
  padding: 28px;
  position: sticky;
  top: 24px;
}
.thb-sup .thb-sup__h {
  font-family: var(--thb-head-font);
  font-weight: 400;
  font-size: 18px;
  color: var(--thb-head);
  margin: 0 0 12px;
}
.thb-sup__h + .thb-dir__chips { margin-bottom: 24px; }
.thb-sup__btn { display: block; text-align: center; margin-top: 18px; }
.thb-sup__aff {
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 0;
  opacity: 0.7;
  text-align: center;
}

/* Get listed box */
.thb-dir__cta {
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-radius);
  margin-top: 48px;
  padding: 36px 24px;
  text-align: center;
}
.thb-dir .thb-dir__cta-title {
  font-family: var(--thb-head-font);
  font-weight: 400;
  font-size: 26px;
  color: var(--thb-head);
  margin: 0 0 10px;
}
.thb-dir__cta p {
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Supplier page sections */
/* A thin divider under each section, matching the one under the header */
.thb-sup__section { padding-bottom: 32px; border-bottom: 1px solid var(--thb-line); }
.thb-sup__section + .thb-sup__section { margin-top: 32px; }
.thb-sup .thb-sup__h2 {
  font-family: var(--thb-head-font);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--thb-head);
  margin: 0 0 14px;
}
/* Meet the team: photo 30%, text 70%. Without a photo the text uses the full width. */
.thb-sup__team.has-photo {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.thb-sup__team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.thb-sup__team-text > :last-child { margin-bottom: 0; }

/* Reader offer */
.thb-sup__offer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--thb-line);
  border-radius: min(var(--thb-radius), 18px);
  padding: 14px 16px;
  margin-top: 22px;
}
.thb-sup__offer .thb-dir__icon { width: 20px; height: 20px; margin-top: 2px; }
.thb-sup__offer p { margin: 0; font-size: 14px; line-height: 1.5; }
.thb-sup__offer-label {
  display: block;
  font-family: var(--thb-head-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thb-head);
  margin-bottom: 2px;
}

.thb-dir .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}
.thb-sup__related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--thb-line);
}
.thb-sup__all { margin: 20px 0 0; font-size: 14px; }
.thb-sup__all a { color: var(--thb-ink); text-underline-offset: 3px; }

/* "Search suppliers" toggle, phones only */
.thb-dir__jumptoggle { display: none; }

/* Submission form */
.thb-form {
  --thb-ink: #32361D;
  --thb-head: #595946;
  --thb-line: rgba(50, 54, 29, 0.28);
  --thb-head-font: 'Jost', 'Inter', system-ui, sans-serif;
  --thb-radius: 30px;
  --thb-panel: #fbf8ef;
  max-width: 820px;
  margin: 0 auto;
  color: var(--thb-ink);
  font-family: 'Inter', system-ui, sans-serif;
}
.thb-form * { box-sizing: border-box; }
.thb-form__section {
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-radius);
  background: var(--thb-panel);
  margin: 0 0 22px;
  padding: 26px 30px 24px;
  min-width: 0;
}
.thb-form__section legend {
  font-family: var(--thb-head-font);
  font-size: 22px;
  color: var(--thb-head);
  padding: 0 10px;
  margin-left: -10px;
}
.thb-form__intro { margin: 0 0 16px; font-size: 14px; opacity: 0.8; }
.thb-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.thb-form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.thb-form select:disabled { opacity: 0.5; }
.thb-form__field { margin: 0 0 18px; }
.thb-form__field label,
.thb-form__label {
  display: block;
  font-family: var(--thb-head-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thb-head);
  margin-bottom: 7px;
}
.thb-form__req { color: #9a5a3c; }
.thb-form input[type=text],
.thb-form input[type=url],
.thb-form input[type=email],
.thb-form input[type=tel],
.thb-form select,
.thb-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--thb-line);
  border-radius: 14px;
  color: var(--thb-ink);
  font: inherit;
  font-size: 15px;
  padding: 11px 14px;
  min-height: 46px;
  box-shadow: none;
}
.thb-form textarea { resize: vertical; line-height: 1.55; }
.thb-form input:focus,
.thb-form select:focus,
.thb-form textarea:focus { outline: 2px solid var(--thb-ink); outline-offset: 1px; border-color: var(--thb-ink); }
.thb-form input[type=file] { font-size: 14px; width: 100%; }
.thb-form__hint { font-size: 13px; opacity: 0.7; margin: 6px 0 0; line-height: 1.5; }
.thb-form__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 18px;
}
.thb-form__check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 6px;
  cursor: pointer;
}
.thb-form .thb-form__field .thb-form__check,
.thb-form .thb-form__check {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--thb-ink);
  display: flex;
  margin-bottom: 6px;
}
.thb-form .thb-form__check[hidden] { display: none !important; }
.thb-form__check input { margin-top: 3px; accent-color: var(--thb-ink); width: 16px; height: 16px; flex: none; }
.thb-form__consent { margin: 6px 0 22px; padding: 0 6px; }
.thb-form__consent .thb-form__check { margin-bottom: 12px; }
/* Submit buttons: filled, switching to an outline on hover */
.thb-form .thb-form__submit {
  background: var(--thb-ink);
  border: 1px solid var(--thb-ink);
  border-radius: var(--thb-radius);
  color: #fff !important;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  padding: 13px 34px;
}
.thb-form .thb-form__submit:hover,
.thb-form .thb-form__submit:focus-visible {
  background: transparent;
  color: var(--thb-ink) !important;
}
.thb-form__errors {
  border: 1px solid #c79a85;
  background: #fbf1ec;
  border-radius: 18px;
  padding: 16px 22px;
  margin: 0 0 22px;
}
.thb-form__errors:focus { outline: none; }
.thb-form__errors p { margin: 0 0 6px; }
.thb-form__errors ul { margin: 0; padding-left: 20px; }
.thb-form__trap { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.thb-form--done {
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-radius);
  background: var(--thb-panel);
  padding: 36px 30px;
  text-align: center;
}
.thb-form__title {
  font-family: var(--thb-head-font);
  font-weight: 400;
  font-size: 28px;
  color: var(--thb-head);
  margin: 0 0 10px;
}

/* Gallery lightbox */
.thb-lb {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: rgba(20, 22, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.thb-lb[open] { display: flex; }
.thb-lb::backdrop { background: transparent; }
.thb-lb__img {
  max-width: min(90vw, 1400px);
  max-height: 84vh;
  object-fit: contain;
  display: block;
}
.thb-lb button {
  appearance: none;
  position: absolute;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  line-height: 1;
  padding: 12px 16px;
}
.thb-lb__close { top: 12px; right: 12px; font-size: 40px; }
.thb-lb__prev,
.thb-lb__next { top: 50%; transform: translateY(-50%); font-size: 56px; }
.thb-lb__prev { left: 8px; }
.thb-lb__next { right: 8px; }
.thb-lb button:hover,
.thb-lb button:focus-visible { opacity: 0.7; outline: none; }
.thb-lb button[hidden] { display: none; }
.thb-lb__count {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.thb-sup__gallery a { cursor: zoom-in; display: block; }

/* Mobile */
@media (max-width: 860px) {
  /* Country and State side by side, Category underneath */
  .thb-dir__search,
  .thb-dir__search--jump { grid-template-columns: 1fr 1fr; --thb-bar-radius: min(var(--thb-radius), 20px); }
  .thb-dir__seg:first-child { border-radius: var(--thb-bar-radius) 0 0 0; }
  .thb-dir__seg:nth-child(2) { border-radius: 0 var(--thb-bar-radius) 0 0; }
  .thb-dir__search:not(.thb-dir__search--jump) .thb-dir__seg:last-child { border-radius: 0 0 var(--thb-bar-radius) var(--thb-bar-radius); }
  .thb-dir__search--jump .thb-dir__seg:nth-child(3) { border-radius: 0; }
  .thb-dir__go { border-radius: 0 0 var(--thb-bar-radius) var(--thb-bar-radius); }
  .thb-dd__list li { padding: 14px 18px; white-space: normal; }
  .thb-sup__team.has-photo { gap: 16px; }
  .thb-dir__seg { padding: 10px 14px 8px; }
  .thb-dir__seg:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0 !important;
    border-top: 1px solid var(--thb-line);
  }
  .thb-dir__go { grid-column: 1 / -1; min-height: 48px; }
  .thb-dir__search .thb-dd__btn { font-size: 15px; }

  /* Service chips scroll sideways instead of stacking */
  .thb-dir__tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .thb-dir__tags::-webkit-scrollbar { display: none; }
  .thb-dir__tag { flex: none; }

  /* Supplier pages: the search bar folds into one button */
  .thb-js .thb-dir__jumptoggle {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: transparent;
    border: 1px solid var(--thb-line);
    border-radius: var(--thb-radius);
    color: var(--thb-ink);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    min-height: 46px;
    margin-bottom: 20px;
  }
  .thb-js .thb-dir__jumpwrap:not(.is-open) .thb-dir__search--jump { display: none; }
  .thb-js .thb-dir__jumpwrap.is-open .thb-dir__jumptoggle { margin-bottom: 10px; }
  .thb-js .thb-dir__jumpwrap.is-open .thb-dir__search--jump { margin-bottom: 32px; }

  .thb-sup__logo { width: 80px; height: 80px; }
  .thb-sup .thb-sup__h2 { font-size: 23px; }
  .thb-dir__cta { padding: 28px 18px; }
  .thb-form__section { padding: 22px 18px 18px; border-radius: min(var(--thb-radius), 22px); }
  .thb-form__grid { grid-template-columns: 1fr; }
  .thb-sup__body { grid-template-columns: 1fr; gap: 32px; }
  .thb-sup__gallery { gap: 10px; }
  .thb-sup__aside { position: static; }
  .thb-sup__header { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .thb-dir *, .thb-sup * { transition: none !important; }
}

/* Category and service limits */
.thb-form .thb-form__check.is-limited { opacity: .45; cursor: not-allowed; }
.thb-form .thb-form__check.is-limited input { cursor: not-allowed; }

/* Profile update form */
.thb-form .thb-form__editing { background: var(--thb-panel, #fbf8ef); border: 1px solid var(--thb-line, rgba(50,54,29,.2)); border-radius: var(--thb-radius); padding: 18px 24px; margin: 0 0 24px; }
.thb-form .thb-form__editing p { margin: 0 0 6px; }
.thb-form .thb-form__editing p:last-child { margin: 0; }
.thb-form .thb-form__current { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; flex-wrap: wrap; }
.thb-form .thb-form__current img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block; }
.thb-form .thb-form__current--gallery { gap: 12px; }
.thb-form .thb-form__thumb { display: flex; flex-direction: column; gap: 6px; text-transform: none; letter-spacing: 0; }

/* Character counter under the short summary */
.thb-form .thb-form__count { font-size: 13px; opacity: .65; margin: 4px 0 0; text-align: right; }
.thb-form .thb-form__count.is-full { opacity: 1; font-weight: 500; }

/* Category pills: coloured, and clickable to filter the directory */
.thb-dir__cats {
  list-style: none;
  margin: 8px 0 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 2; /* Above the whole-card link */
}
.thb-sup__header .thb-dir__cats { justify-content: flex-start; margin: 6px 0 8px; }
.thb-dir__cats li { margin: 0; }
.thb-dir__cat {
  display: inline-block;
  background: var(--thb-pill, var(--thb-offer));
  color: var(--thb-ink) !important;
  border: 1px solid transparent;
  border-radius: var(--thb-radius);
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 1.4;
  padding: 4px 12px;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.thb-dir__cat:hover,
.thb-dir__cat:focus-visible { border-color: var(--thb-ink); }
.thb-dir__cat.is-active { border-color: var(--thb-ink); }

/* Choosing a cover photo */
.thb-form .thb-form__previews { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 0; }
.thb-form .thb-form__previews .thb-form__thumb img,
.thb-form .thb-form__current--gallery img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; display: block; }
.thb-form .thb-form__cover {
  background: transparent;
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-radius);
  color: var(--thb-ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  padding: 3px 10px;
  margin-top: 6px;
}
.thb-form .thb-form__cover:hover { border-color: var(--thb-ink); }
.thb-form .thb-form__cover.is-cover { background: var(--thb-ink); border-color: var(--thb-ink); color: #fff; }
.thb-form .thb-form__cover:disabled { opacity: .4; cursor: default; }

/* Meet the team: several people, separated by a dotted line */
.thb-sup__person + .thb-sup__person {
  border-top: 2px dotted var(--thb-line);
  margin-top: 28px;
  padding-top: 28px;
}
.thb-sup__team-wrap.is-multi .thb-sup__team.has-photo { grid-template-columns: 24% minmax(0, 1fr); }
.thb-sup__person-head { margin: 0 0 10px; display: flex; flex-direction: column; gap: 2px; }
.thb-sup__person-name {
  font-family: var(--thb-head-font);
  font-size: 19px;
  line-height: 1.3;
  color: var(--thb-head);
}
.thb-sup__person-role {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

/* Team section on the form */
.thb-form .thb-form__person {
  border-top: 2px dotted var(--thb-line);
  padding-top: 18px;
  margin-top: 18px;
}
.thb-form .thb-form__person:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.thb-form .thb-form__person-title { font-weight: 500; margin: 0 0 10px; }
.thb-form .thb-form__add-person {
  background: transparent;
  border: 1px solid var(--thb-line);
  border-radius: var(--thb-radius);
  color: var(--thb-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  margin-top: 16px;
  padding: 8px 18px;
}
.thb-form .thb-form__add-person:hover { border-color: var(--thb-ink); }

/* Autosave note above the send button */
.thb-form__autosave { color: #6b6e5a; font-size: 13px; margin: 0 0 10px; }
.thb-form__autosave:empty { display: none; }
