@font-face {
  font-family: "Tovo Signal Sans";
  src: url("fonts/dm.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Tovo Signal Condensed";
  src: url("fonts/barlow.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

#tovoSignalHome {
  --ts-bg: #151a21;
  --ts-ink: #ffffff;
  --ts-muted: #c0c8d1;
  --ts-line: #3a414b;
  --ts-accent: #e2f876;
  --ts-gutter: 18px;
  --ts-display: "Tovo Signal Condensed", "Arial Narrow", Impact, sans-serif;
  box-sizing: border-box;
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  background: var(--ts-bg);
  color: var(--ts-ink);
  text-align: left;
  color-scheme: dark;
  font: 400 16px/1.4 "Tovo Signal Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#tovoSignalHome[hidden], #tovoSignalHome [hidden] { display: none !important; }

#tovoSignalHome *, #tovoSignalHome *::before, #tovoSignalHome *::after { box-sizing: border-box; }
#tovoSignalHome :is(a, button) { font-family: inherit; text-transform: none; touch-action: manipulation; }
#tovoSignalHome a { color: inherit; text-decoration: none; }
#tovoSignalHome :is(a, button):focus-visible { outline: 3px solid white; outline-offset: 2px; }
#tovoSignalHome .ts-wrap { width: 100%; max-width: 1256px; margin: 0 auto; padding-inline: var(--ts-gutter); }

#tovoSignalHome .ts-head { border-bottom: 1px solid var(--ts-line); }
#tovoSignalHome .ts-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 8px; }
#tovoSignalHome .ts-brand { display: inline-flex; align-items: center; width: 97px; min-height: 44px; flex: none; }
#tovoSignalHome .ts-brand img { display: block; object-fit: contain; object-position: left center; height: 33px; width: 100%; }

#tovoSignalHome .ts-icon {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#tovoSignalHome .ts-actions { display: flex; align-items: center; gap: 7px; }
#tovoSignalHome .ts-account, #tovoSignalHome .ts-menu, #tovoSignalHome .ts-post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
}

#tovoSignalHome .ts-account, #tovoSignalHome .ts-menu { width: 44px; color: white; }
#tovoSignalHome .ts-menu { padding: 0; cursor: pointer; background: transparent; border: 0; box-shadow: none; }
#tovoSignalHome .ts-post { padding-inline: 16px; background: #dff078; color: #171c20; font-size: 12px; font-weight: 700; white-space: nowrap; }
#tovoSignalHome .ts-post .ts-icon { width: 14px; height: 14px; stroke-width: 2; }

#tovoSignalHome .ts-discovery { padding-top: 15px; }
#tovoSignalHome .ts-title {
  margin: 0;
  color: var(--ts-ink);
  max-width: 330px;
  font: 700 clamp(48px, 13vw, 65px)/.93 var(--ts-display);
  text-transform: uppercase;
  letter-spacing: -.026em;
  text-align: left;
}

#tovoSignalHome .ts-search-area { position: relative; min-width: 0; margin-top: 16px; }
#tovoSignalHome .ts-search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  min-height: 53px;
  width: 100%;
  color: #141b24;
  background: white;
  color-scheme: light;
  padding: 4px 5px 4px 13px;
  border: 0;
  border-radius: 1px;
}

#tovoSignalHome .ts-search > .ts-icon { color: #4c5764; }
#tovoSignalHome .ts-search:focus-within { outline: 2px solid var(--ts-accent); outline-offset: 2px; }
#tovoSignalHome .ts-search input[type=search] {
  flex: 1 1 auto;
  appearance: none;
  min-width: 0;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 7px 0;
  color: #141b24;
  caret-color: #141b24;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  line-height: 1.4;
  outline: none;
}

#tovoSignalHome .ts-search input::placeholder { color: #4c5764; opacity: 1; }
#tovoSignalHome .ts-search button {
  display: grid;
  place-items: center;
  flex: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-height: 0;
  padding: 0;
  background: #283326;
  color: #e8fb8a;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

#tovoSignalHome .ts-search button:focus-visible { outline-color: #18221b; outline-offset: 1px; }
#tovoSignalHome .ts-search button .ts-icon { width: 18px; height: 18px; }
#tovoSignalHome .ts-suggestions {
  position: absolute;
  z-index: 10;
  top: calc(100% + 5px);
  width: 100%;
  max-height: min(58vh, 390px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3px;
  border: 1px solid #727b87;
  color: var(--ts-ink);
  background: #222a32;
  box-shadow: 0 10px 24px #080d1745;
}

#tovoSignalHome .ts-suggestions :is(a, button) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  color: white;
  background: transparent;
  font: 600 15px/1.3 "Tovo Signal Sans", Arial, sans-serif;
  text-align: left;
}

#tovoSignalHome .ts-suggestions :is(a, button):is(:hover, :focus-visible) { background: #303c40; color: var(--ts-accent); }
#tovoSignalHome .ts-section-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 21px 0 11px; }
#tovoSignalHome .ts-section-line h2 { margin: 0; font: 700 20px/1.15 "Tovo Signal Sans", Arial, sans-serif; letter-spacing: -.035em; color: white; }
#tovoSignalHome .ts-section-line > span { font-size: 11px; font-weight: 600; color: var(--ts-muted); white-space: nowrap; }
#tovoSignalHome .ts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; margin: 0; padding: 0; }

#tovoSignalHome .ts-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  isolation: isolate;
  min-width: 0;
  min-height: 162px;
  container-type: inline-size;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--ts-tone);
  color: #15201e;
}

#tovoSignalHome .ts-card[data-ts-category=transport] { --ts-tone: #cdd994; }
#tovoSignalHome .ts-card[data-ts-category=real-estate] { --ts-tone: #91b9d0; }
#tovoSignalHome .ts-card[data-ts-category=electronics] { --ts-tone: #ee9d6a; }
#tovoSignalHome .ts-card[data-ts-category=home-stuff] { --ts-tone: #b7afd1; }
#tovoSignalHome .ts-card[data-ts-category=work] { --ts-tone: #d3bc95; }
#tovoSignalHome .ts-card[data-ts-category=clothes-footwear] { --ts-tone: #c4aaac; }
#tovoSignalHome .ts-card[data-ts-category=for-children] { --ts-tone: #a9c9bd; }
#tovoSignalHome .ts-card[data-ts-category=animals] { --ts-tone: #d8bc99; }
#tovoSignalHome .ts-card[data-ts-category=construction] { --ts-tone: #c5c6bb; }
#tovoSignalHome .ts-card[data-ts-category=entertainment] { --ts-tone: #c6b3ce; }
#tovoSignalHome .ts-card[data-ts-category=agriculture] { --ts-tone: #98ba9f; }
#tovoSignalHome .ts-card[data-ts-category=production-work] { --ts-tone: #c3ac94; }

#tovoSignalHome .ts-photo {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 58%;
  isolation: isolate;
  background: var(--ts-tone);
  pointer-events: none;
}

#tovoSignalHome .ts-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: multiply;
  transition: transform .25s ease;
}

#tovoSignalHome .ts-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, transparent 75%, var(--ts-tone)); }
#tovoSignalHome .ts-card-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 13px 10px 0;
}

#tovoSignalHome .ts-card-name { min-width: 0; font: 700 28px/.93 var(--ts-display); text-transform: uppercase; letter-spacing: -.018em; overflow-wrap: normal; word-break: normal; }
#tovoSignalHome .ts-card-arrow { display: grid; place-items: center; flex: none; width: 19px; height: 19px; border: 1px solid currentColor; border-radius: 50%; margin-top: 2px; }
#tovoSignalHome .ts-card-arrow .ts-icon { width: 11px; height: 11px; }
#tovoSignalHome .ts-card:focus-visible { outline: 3px solid #101a18; outline-offset: -4px; }
#tovoSignalHome .ts-bottom { display: flex; justify-content: flex-end; padding: 12px 0 16px; }
#tovoSignalHome .ts-browse { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ts-muted); }
#tovoSignalHome .ts-browse .ts-icon { width: 14px; height: 14px; }

@media (hover: hover) and (pointer: fine) {
  #tovoSignalHome .ts-card:hover .ts-photo img { transform: scale(1.035); }
  #tovoSignalHome .ts-post:hover { background: #ebfb9d; }
  #tovoSignalHome .ts-account:hover, #tovoSignalHome .ts-menu:hover, #tovoSignalHome .ts-browse:hover { color: var(--ts-accent); }
}

@media (max-width: 365px) {
  #tovoSignalHome { --ts-gutter: 13px; }
  #tovoSignalHome .ts-head-inner { gap: 4px; }
  #tovoSignalHome .ts-brand { width: 82px; }
  #tovoSignalHome .ts-actions { gap: 2px; }
  #tovoSignalHome .ts-post { padding-inline: 11px; }
  #tovoSignalHome .ts-card-name { font-size: 24px; }
}

@media (min-width: 500px) {
  #tovoSignalHome { --ts-gutter: clamp(22px, 3.5vw, 52px); }
  #tovoSignalHome .ts-head-inner { padding-block: 11px; }
  #tovoSignalHome .ts-card { min-height: 190px; }
}

@supports (container-type: inline-size) {
  @media (max-width: 699px) {
    #tovoSignalHome .ts-card-name { font-size: clamp(19px, calc(22cqw - 10px), 28px); }
  }
}

/* Single-word titles keep their full name on one line. The arrow can move to a
   second line when a visitor's fallback font needs more space. */
#tovoSignalHome :is([data-ts-category="electronics"], [data-ts-category="agriculture"]) .ts-card-label { flex-wrap: wrap; row-gap: 3px; }
#tovoSignalHome :is([data-ts-category="electronics"], [data-ts-category="agriculture"]) .ts-card-name { flex: 0 0 auto; white-space: nowrap; }
#tovoSignalHome :is([data-ts-category="electronics"], [data-ts-category="agriculture"]) .ts-card-arrow { margin-inline-start: auto; }
@media (max-width: 699px) {
  #tovoSignalHome :is([data-ts-category="electronics"], [data-ts-category="agriculture"]) .ts-card-name {
    font-size: clamp(18px, 6.25vw, 26px);
    font-size: clamp(18px, calc(18.5cqw - 7px), 28px);
  }
}
@media (min-width: 700px) {
  #tovoSignalHome .ts-brand { width: 111px; }
  #tovoSignalHome .ts-post { font-size: 14px; }
  #tovoSignalHome .ts-discovery { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: end; gap: 34px; padding-top: 32px; }
  #tovoSignalHome .ts-search-area { margin-top: 0; }
  #tovoSignalHome .ts-title { max-width: 540px; font-size: clamp(56px, 6.8vw, 82px); }
  #tovoSignalHome .ts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  #tovoSignalHome .ts-section-line { margin-top: 30px; }
  #tovoSignalHome .ts-section-line h2 { font-size: 22px; }
  #tovoSignalHome .ts-section-line > span { font-size: 13px; }
  #tovoSignalHome .ts-card { min-height: 210px; }
  #tovoSignalHome .ts-card-label { padding: 17px 15px 0; }
  #tovoSignalHome .ts-card-name { font-size: clamp(29px, 2.8vw, 37px); }
}

@media (min-width: 1040px) {
  #tovoSignalHome .ts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  #tovoSignalHome .ts-card { min-height: 226px; }
  #tovoSignalHome .ts-card-arrow { height: 23px; width: 23px; }
  #tovoSignalHome .ts-card-arrow .ts-icon { width: 13px; height: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  #tovoSignalHome .ts-photo img { transition: none; }
  #tovoSignalHome .ts-card:hover .ts-photo img { transform: none; }
}

@media (forced-colors: active) {
  #tovoSignalHome .ts-card, #tovoSignalHome .ts-search, #tovoSignalHome .ts-post { border: 1px solid ButtonText; }
  #tovoSignalHome .ts-card-label { background: Canvas; color: CanvasText; padding-bottom: 7px; }
}

/* Only the root directory swaps its presentation. Other surfaces retain the native header and filters. */
html.tovo-signal-active body:not(.account-workspace-mode,.people-active) > header.market-header,
html.tovo-signal-active #tovoDirectory > :is(.tovo-directory-heading, #tovoDirectoryCards, #tovoBrowseAll) { display: none !important; }
html.tovo-signal-active body:not(.account-workspace-mode,.people-active) > main,
html.tovo-signal-active #tovoDirectory { width:100%; max-width:none; margin:0; padding:0; }
html.tovo-signal-active body:not(.account-workspace-mode,.people-active) > main { background:#151a21; }
html.tovo-signal-active #tovoDirectory > #tovoSignalHome { display:block; }
/* The native form keeps all its original listeners. Override only the CMS rules for its
   appearance while it is mounted in the approved home design. */
#tovoSignalHome #tsSearchMount #searchForm {
  display:flex; align-items:center; position:static; box-sizing:border-box;
  width:100%; min-width:0; max-width:none; height:53px; min-height:53px;
  padding:4px 5px 4px 13px; margin:0; gap:6px; border:0; border-radius:1px;
  background:#fff !important; color:#141b24 !important; color-scheme:light; box-shadow:none;
}
#tovoSignalHome #tsSearchMount #searchInput {
  flex:1 1 0%; box-sizing:border-box; width:100%; min-width:0; max-width:none;
  border:0; margin:0; padding:7px 0; box-shadow:none; appearance:none;
  background:transparent !important; color:#141b24 !important;
  caret-color:#141b24; font:400 16px/1.4 "Tovo Signal Sans", Arial, sans-serif;
}
#tovoSignalHome #tsSearchMount #searchInput::placeholder { color:#4c5764 !important; opacity:1; }
#tovoSignalHome #searchForm .search-icon { display:grid; place-items:center; width:20px; height:20px; color:#4c5764; }
#tovoSignalHome #searchForm .search-icon svg { display:block; width:20px; height:20px; }
#tovoSignalHome #tsSearchMount #searchForm button[type=submit] {
  display:grid; place-items:center; box-sizing:border-box; flex:0 0 44px;
  width:44px !important; min-width:44px !important; max-width:44px !important;
  height:44px !important; min-height:44px !important; max-height:44px !important;
  margin:0; padding:0; border:0; border-radius:0; box-shadow:none;
  background:#283326 !important; color:#e8fb8a !important; font-size:0; line-height:0;
}
#tovoSignalHome #searchForm [type=submit]::after {
  content:""; width:18px; height:18px; background-color:currentColor;
  mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
}
#tovoSignalHome #tsHomeTitle:focus { outline:none; }

#modalContent .site-menu-grid.ts-native-menu { padding-bottom:var(--ts-consent-clearance, 0px); }
