html, body {
  min-width: 0;
  min-height: 0;
  overflow-x: clip;
  overflow-y: visible;
}

body.landing-page,
body.landing-page .landing-wrapper,
body.landing-page .landing-wrapper > main {
  min-height: 0 !important;
}

[hidden] {
  display: none !important;
}

body.landing-page .landing-wrapper,
body.landing-page .landing-wrapper > main {
  min-height: 0;
}

body.landing-page .discovery-section {
  margin: 0;
}

body.landing-page .landing-active-stores__grid {
  scrollbar-width: none;
}

body.landing-page .landing-active-stores__grid::-webkit-scrollbar {
  display: none;
}

body.landing-page .landing-active-store-card__avatar.has-image,
body.clone-search-active .company-location-avatar.has-image {
  overflow: hidden !important;
  border-radius: 50% !important;
  background-color: #fff !important;
}

body.landing-page .landing-active-store-card__avatar.has-image > img,
body.clone-search-active .company-location-avatar.has-image > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center;
}

/* A Torra Tudo usa um cartaz vertical como foto de perfil. Mantemos o recorte
   circular, mas afastamos a arte sem deformá-la e completamos o aro com amarelo. */
body.landing-page .landing-active-store-card__avatar.logo-torra-tudo.has-portrait-source,
body.clone-search-active .company-location-avatar.logo-torra-tudo.has-portrait-source {
  background: #ffda00 !important;
}

body.landing-page .landing-active-store-card__avatar.logo-torra-tudo.has-portrait-source > img,
body.clone-search-active .company-location-avatar.logo-torra-tudo.has-portrait-source > img {
  object-position: center 39% !important;
  transform: scale(.82);
  transform-origin: center;
}

body.landing-page .landing-active-store-card__avatar.no-image,
body.clone-search-active .company-location-avatar.no-image {
  border-radius: 50%;
  background-image: none !important;
}

body.landing-page .discovery-panel:has(.discovery-autocomplete-menu.is-open) {
  padding-bottom: 310px !important;
}

/* O iframe abre até as bordas para o backdrop, mas os cartões e o formulário
   mantêm exatamente a largura que tinham antes da abertura do seletor. */
body.picker-layout-frozen .discovery-section {
  width: min(100%, var(--picker-background-width));
  margin-right: auto;
  margin-left: auto;
}

body.clone-search-active .landing-active-stores {
  display: none;
}

body.clone-search-active .discovery-results-shell.is-location-results {
  display: grid;
  width: min(100%, 1100px);
  margin: 0 auto 12px;
  padding: 14px;
  gap: 12px;
  border: 1px solid rgba(247, 202, 80, .58);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(38, 56, 87, .09);
  overflow: visible;
}

body.clone-search-active .discovery-results-head {
  position: static;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  border: 0;
  border-radius: 15px;
  background: #f7f8fa;
  box-shadow: none;
}

body.clone-search-active .company-results-grid.is-location-list {
  width: 100%;
  padding: 0;
  overflow: visible;
  contain: none;
  cursor: auto;
}

body.clone-search-active .company-location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 10px;
  margin: 0;
}

body.clone-search-active .company-location-item {
  grid-template-columns: 54px minmax(0, 1fr) !important;
  min-height: 78px;
  padding: 10px 14px;
  gap: 14px;
  border-color: rgba(224, 228, 235, .96);
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(38, 56, 87, .08);
}

.clone-store-actions { display: flex; align-items: center; gap: 7px; padding: 8px 12px 12px; }
.clone-store-actions > * { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 10px; border-radius: 9px; font: inherit; font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.clone-favorite-button {
  --clone-store-accent: #d59a00;
  --clone-store-accent-text: #fff;
  display: grid !important;
  grid-template-columns: 21px 1px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 0 5px 0 3px !important;
  overflow: visible !important;
  border: 1px solid var(--clone-store-accent);
  color: var(--clone-store-accent);
  background: #fff;
  box-shadow: 0 7px 18px rgba(15, 35, 65, .08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.clone-favorite-button:hover,
.clone-favorite-button:focus-visible {
  color: var(--clone-store-accent);
  background: #fff;
  box-shadow: 0 9px 22px rgba(15, 35, 65, .13);
  transform: translateY(-1px);
}

.clone-favorite-button:active { transform: scale(.985); }
.clone-favorite-button:focus-visible { outline: 3px solid var(--clone-store-accent); outline-offset: 2px; }

.clone-follow-heart {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
}

.clone-follow-heart__icon {
  position: relative;
  z-index: 2;
  display: block;
  width: 14px;
  height: 14px;
  overflow: visible;
  transform-origin: center;
}

.clone-follow-heart__outline,
.clone-follow-heart__fill {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}

.clone-follow-heart__outline {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clone-follow-heart__fill {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
  opacity: 0;
  transform: scale(.45);
}

.clone-follow-divider { width: 1px; height: 16px; background: currentColor; opacity: .2; }
.clone-follow-label { min-width: 0; color: currentColor; font-size: .62rem; font-weight: 850; letter-spacing: -.02em; line-height: 1; text-align: center; white-space: nowrap; }
.clone-follow-burst { position: absolute; z-index: 1; top: 50%; left: 50%; width: 0; height: 0; pointer-events: none; }
.clone-follow-particle {
  --particle-x: 0px;
  --particle-y: -20px;
  position: absolute;
  top: -2px;
  left: -2px;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clone-store-accent);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .13), 0 0 6px rgba(255, 255, 255, .9);
  opacity: 0;
}
.clone-follow-particle:nth-child(even) { background: #fff; }
.clone-follow-particle:nth-child(2) { --particle-x: 15px; --particle-y: -15px; }
.clone-follow-particle:nth-child(3) { --particle-x: 21px; --particle-y: 0px; }
.clone-follow-particle:nth-child(4) { --particle-x: 15px; --particle-y: 15px; }
.clone-follow-particle:nth-child(5) { --particle-x: 0px; --particle-y: 21px; }
.clone-follow-particle:nth-child(6) { --particle-x: -15px; --particle-y: 15px; }
.clone-follow-particle:nth-child(7) { --particle-x: -21px; --particle-y: 0px; }
.clone-follow-particle:nth-child(8) { --particle-x: -15px; --particle-y: -15px; }

.clone-favorite-button.is-saved {
  border-color: var(--clone-store-accent);
  color: var(--clone-store-accent-text);
  background: var(--clone-store-accent);
}
.clone-favorite-button.is-saved:hover,
.clone-favorite-button.is-saved:focus-visible { color: var(--clone-store-accent-text); background: var(--clone-store-accent); filter: brightness(.97); }
.clone-favorite-button.is-saved .clone-follow-heart__outline { opacity: 0; transform: scale(.65); }
.clone-favorite-button.is-saved .clone-follow-heart__fill { opacity: 1; transform: scale(1); }
.clone-favorite-button.is-tap-animating .clone-follow-heart__icon { animation: clone-follow-tap .58s cubic-bezier(.2, 1.45, .35, 1) both; }
.clone-favorite-button.is-following-transition { animation: clone-follow-button-fill 1.05s ease-out both; }
.clone-favorite-button.is-following-transition .clone-follow-heart__icon { animation: clone-follow-heart-celebrate 1.05s cubic-bezier(.2, 1.5, .35, 1) both; }
.clone-favorite-button.is-following-transition .clone-follow-heart__outline { animation: clone-follow-outline-out .46s ease-out both; }
.clone-favorite-button.is-following-transition .clone-follow-heart__fill { animation: clone-follow-fill-in .95s cubic-bezier(.2, 1.45, .35, 1) both; }
.clone-favorite-button.is-following-transition .clone-follow-particle { animation: clone-follow-particle-burst .95s cubic-bezier(.2, .8, .25, 1) both; }
.clone-favorite-button.is-following-transition .clone-follow-particle:nth-child(even) { animation-delay: .06s; }
.clone-favorite-button.is-unfollowing-transition { animation: clone-follow-button-unfill .58s ease-out both; }
.clone-favorite-button.is-unfollowing-transition .clone-follow-heart__icon { animation: clone-follow-heart-unfollow .58s ease-out both; }
.clone-favorite-button.is-unfollowing-transition .clone-follow-heart__fill { animation: clone-follow-fill-out .32s ease-out both; }
.clone-favorite-button.is-unfollowing-transition .clone-follow-heart__outline { animation: clone-follow-outline-in .42s ease-out both; }
.clone-favorite-button:disabled { opacity: .62; cursor: wait; }
.discovery-submit:disabled,
.discovery-submit.is-loading {
  cursor: wait;
  opacity: .78;
}
.clone-favorite-button.is-tap-animating:disabled,
.clone-favorite-button.is-following-transition:disabled,
.clone-favorite-button.is-unfollowing-transition:disabled { opacity: 1; }

@keyframes clone-follow-tap {
  0%, 100% { transform: scale(1); }
  48% { transform: scale(1.28); }
  72% { transform: scale(.92); }
}
@keyframes clone-follow-button-fill {
  0% { color: var(--clone-store-accent); background: #fff; border-color: var(--clone-store-accent); }
  30% { color: var(--clone-store-accent); background: #fff; }
  100% { color: var(--clone-store-accent-text); background: var(--clone-store-accent); border-color: var(--clone-store-accent); }
}
@keyframes clone-follow-heart-celebrate {
  0% { transform: scale(.72); }
  36% { transform: scale(1.32) rotate(-6deg); }
  58% { transform: scale(.9) rotate(3deg); }
  78% { transform: scale(1.12) rotate(-1deg); }
  100% { transform: scale(1); }
}
@keyframes clone-follow-outline-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.7); } }
@keyframes clone-follow-fill-in {
  0%, 14% { opacity: 0; transform: scale(.35); }
  44% { opacity: 1; transform: scale(1.16); }
  70% { opacity: 1; transform: scale(.92); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes clone-follow-particle-burst {
  0%, 12% { opacity: 0; transform: translate(0, 0) scale(.2); }
  38% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--particle-x), var(--particle-y)) scale(.25); }
}
@keyframes clone-follow-button-unfill {
  from { color: var(--clone-store-accent-text); background: var(--clone-store-accent); border-color: var(--clone-store-accent); }
  to { color: var(--clone-store-accent); background: #fff; border-color: var(--clone-store-accent); }
}
@keyframes clone-follow-heart-unfollow { 0% { transform: scale(1); } 45% { transform: scale(.72); } 100% { transform: scale(1); } }
@keyframes clone-follow-fill-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.45); } }
@keyframes clone-follow-outline-in { 0%, 30% { opacity: 0; transform: scale(.65); } 100% { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .clone-favorite-button,
  .clone-follow-heart__icon,
  .clone-follow-heart__outline,
  .clone-follow-heart__fill,
  .clone-follow-particle { animation: none !important; transition: none !important; }
}
.clone-open-store { border: 1px solid #263857; color: #fff; background: #263857; }
body.clone-search-active .company-location-item { align-items: center; }
body.clone-search-active .company-location-item .clone-store-actions { grid-column: 1 / -1; padding: 0; }
body.landing-page .landing-active-store-card .clone-store-actions { width: 100%; box-sizing: border-box; }

/* O carrossel deve mostrar cards inteiros dentro do iframe estreito. */
body.landing-page .landing-active-stores,
body.landing-page .landing-active-stores__header,
body.landing-page .landing-active-stores__title,
body.landing-page .landing-active-stores__grid,
body.landing-page .landing-active-stores__title h2 {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.landing-page .landing-active-stores__title h2 {
  width: 100% !important;
  overflow-wrap: break-word;
  text-wrap: balance;
}

body.landing-page .landing-active-store-card__cover small {
  min-width: 0 !important;
  max-width: calc(100% - 8px) !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

body.landing-page .landing-active-store-card .clone-store-actions {
  min-width: 0;
  flex-wrap: wrap;
}

body.landing-page .landing-active-store-card .clone-store-actions > * {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 767px) {
  body.landing-page .landing-active-store-card .clone-store-actions {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  }

  body.landing-page .landing-active-store-card .clone-store-actions > .clone-favorite-button {
    grid-template-columns: 17px minmax(0, 1fr);
    padding-right: 8px !important;
    padding-left: 6px !important;
    overflow: visible !important;
  }

  .clone-follow-heart__icon {
    width: 12px;
    height: 12px;
  }

  body.landing-page .landing-active-store-card .clone-follow-divider { display: none; }
  body.landing-page .landing-active-store-card .clone-follow-label { padding-left: 3px; font-size: .54rem; letter-spacing: -.025em; }

  body.landing-page .landing-active-stores__title h2 {
    font-size: clamp(1.1rem, 3.6vw, 1.45rem) !important;
    line-height: 1.18 !important;
  }

  body.landing-page .landing-active-stores__grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(2, minmax(0, auto)) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 8px) / 2) !important;
    gap: 8px !important;
    padding-inline: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity !important;
    scroll-padding-inline: 0 !important;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    -webkit-user-select: none;
  }

  body.landing-page .landing-active-store-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: clamp(195px, 30vw, 210px) !important;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  body.landing-page .landing-active-store-card[hidden] {
    display: none !important;
  }

  body.landing-page .landing-active-store-card__cover {
    flex: 0 0 66px !important;
    height: 66px !important;
  }

  body.landing-page .landing-active-store-card__cover small {
    max-width: 92% !important;
    padding: 4px 6px !important;
    font-size: .56rem !important;
    line-height: 1.05 !important;
  }

  body.landing-page .landing-active-store-card__body {
    flex: 1 1 auto !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    column-gap: 5px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 7px 6px 20px !important;
  }

  body.landing-page .landing-active-store-card__avatar {
    grid-row: 1 !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-width: 2px !important;
  }

  body.landing-page .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-long .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xl .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xxl .landing-active-store-card__copy strong {
    grid-row: 1 !important;
    align-self: center !important;
    max-height: 3.3em !important;
    margin: 0 !important;
    font-size: .72rem !important;
    line-height: 1.1 !important;
    letter-spacing: -.02em !important;
    overflow: hidden !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  body.landing-page .landing-active-store-card__copy span,
  body.landing-page .landing-active-store-card--name-long .landing-active-store-card__copy span,
  body.landing-page .landing-active-store-card--name-xl .landing-active-store-card__copy span,
  body.landing-page .landing-active-store-card--name-xxl .landing-active-store-card__copy span {
    left: 6px !important;
    right: 6px !important;
    bottom: 4px !important;
    gap: 3px !important;
    font-size: .62rem !important;
  }

  body.landing-page .landing-active-store-card .clone-store-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 3px 5px 6px;
  }

  body.landing-page .landing-active-store-card .clone-store-actions > * {
    width: 100%;
    min-height: 27px;
    padding: 0 2px;
    border-radius: 7px;
    font-size: .62rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 767px) {
  body.landing-page .landing-active-stores__button:disabled {
    opacity: .45;
    cursor: default;
  }
}

@media (min-width: 301px) and (max-width: 340px) {
  body.landing-page .landing-active-store-card__body {
    grid-template-columns: 32px minmax(0, 1fr) !important;
    column-gap: 3px !important;
  }

  body.landing-page .landing-active-store-card__avatar {
    width: 32px !important;
    height: 32px !important;
  }

  body.landing-page .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-long .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xl .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xxl .landing-active-store-card__copy strong {
    font-size: .59rem !important;
  }

  body.landing-page .landing-active-store-card .clone-store-actions > * {
    font-size: .51rem;
  }
}

@media (max-width: 300px) {
  body.landing-page .landing-active-stores__grid {
    grid-template-columns: none !important;
    grid-auto-columns: 100% !important;
  }

  body.landing-page .landing-active-store-card {
    height: 215px !important;
  }
}

@media (max-width: 300px) {
  form#landingSearchForm .discovery-filter-row--main {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  form#landingSearchForm .discovery-filter-row--main [data-autocomplete="state"],
  form#landingSearchForm .discovery-filter-row--main [data-autocomplete="city"],
  form#landingSearchForm .discovery-filter-row--main > .discovery-select-control--category {
    grid-column: 1 !important;
  }
}

body.clone-search-active .company-location-avatar {
  width: 54px;
  height: 54px;
}

body.clone-search-active .company-location-copy strong {
  font-size: .92rem;
}

body.clone-search-active .company-location-copy small {
  font-size: .74rem;
}

/* A busca no iframe precisa de um campo inteiro e alvos de toque separados no celular. */
@media (max-width: 640px) {
  form#landingSearchForm .discovery-query-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px !important;
    gap: 8px !important;
  }

  form#landingSearchForm .discovery-query-row .discovery-query-field {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  form#landingSearchForm .discovery-query-row .discovery-query-field input {
    min-width: 0;
    width: 100%;
  }

  form#landingSearchForm .discovery-query-row .discovery-inline-reset {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
  }

  form#landingSearchForm .discovery-query-row .discovery-inline-reset span {
    display: inline !important;
  }

  form#landingSearchForm .discovery-query-row .discovery-submit {
    grid-column: 2 !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    touch-action: manipulation;
  }
}

body.clone-search-active .discovery-popular-row {
  margin-top: 12px;
}

/* Cards compactos dentro da largura do Meu Trilista. */
@media (min-width: 768px) {
  body.landing-page .landing-active-store-card__cover {
    height: 96px !important;
  }

  body.landing-page .landing-active-store-card__cover small {
    padding: 6px 10px !important;
    font-size: .7rem !important;
  }

  body.landing-page .landing-active-store-card__body {
    grid-template-columns: 94px minmax(0, 1fr) !important;
    grid-template-rows: 96px 1fr !important;
    min-height: 142px !important;
    height: 142px !important;
    column-gap: 8px !important;
    padding: 14px 12px 12px !important;
  }

  body.landing-page .landing-active-store-card__avatar {
    width: 90px !important;
    height: 90px !important;
    margin: 0 !important;
  }

  body.landing-page .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-long .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xl .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xxl .landing-active-store-card__copy strong {
    font-size: .9rem !important;
    margin-top: 0 !important;
  }

  body.landing-page .landing-active-store-card__copy span {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    font-size: .75rem !important;
  }

  body.landing-page .landing-active-store-card .clone-store-actions {
    gap: 6px;
    padding: 5px 9px 9px;
  }

  body.landing-page .landing-active-store-card .clone-store-actions > * {
    min-height: 31px;
    padding: 0 6px;
    font-size: .66rem;
  }
}

@media (min-width: 1024px) {
  body.landing-page .landing-active-stores__grid {
    gap: 12px !important;
  }

  body.landing-page .landing-active-store-card {
    flex: 0 0 calc((100% - 36px) / 4) !important;
    min-width: 0 !important;
    max-width: calc((100% - 36px) / 4) !important;
  }
}

@media (max-width: 767px) and (min-width: 341px) {
  body.landing-page .landing-active-store-card__body {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    column-gap: 7px !important;
  }

  body.landing-page .landing-active-store-card__avatar {
    width: 50px !important;
    height: 50px !important;
  }

  body.landing-page .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-long .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xl .landing-active-store-card__copy strong,
  body.landing-page .landing-active-store-card--name-xxl .landing-active-store-card__copy strong {
    font-size: .68rem !important;
  }
}

@media (max-width: 640px) {
  body.clone-search-active .discovery-results-shell.is-location-results {
    padding: 4px;
  }

  body.clone-search-active .company-location-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  body.clone-search-active .company-location-item {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    min-height: 74px;
    padding: 8px 9px;
    gap: 8px;
    border-radius: 9px;
  }
  body.clone-search-active .company-location-item .clone-store-actions { grid-column: 1 / -1; }

  body.clone-search-active .company-location-avatar {
    width: 38px;
    height: 38px;
  }

  body.clone-search-active .company-location-item > i {
    display: none;
  }
}

/* Mesmo respiro lateral usado pelos seletores da home. */
@media (max-width: 640px) {
  .discovery-autocomplete-menu.is-portal-menu.is-mobile-picker {
    inset: auto 10px 0 !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
  }
}

/* Resultados da busca no Meu Trilista: impede que o texto de Seguir escape
   do botão e fique por baixo de Abrir loja em telas estreitas. */
body.clone-search-active .company-location-item {
  box-sizing: border-box;
}

body.clone-search-active .company-location-item .clone-store-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 4px 0 0;
  box-sizing: border-box;
}

body.clone-search-active .company-location-item .clone-store-actions > * {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.clone-search-active .company-location-item .clone-favorite-button {
  grid-template-columns: 24px 1px minmax(0, 1fr);
  padding-right: 9px !important;
  padding-left: 7px !important;
  overflow: hidden !important;
}

body.clone-search-active .company-location-item .clone-follow-heart,
body.clone-search-active .company-location-item .clone-follow-label {
  min-width: 0;
  overflow: hidden;
}

body.clone-search-active .company-location-item .clone-follow-label {
  padding-left: 4px;
  font-size: .72rem;
  text-overflow: ellipsis;
}

body.clone-search-active .company-location-item .clone-open-store {
  font-size: .74rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  body.clone-search-active .discovery-results-shell.is-location-results {
    padding: 7px;
    border-radius: 18px;
  }

  body.clone-search-active .company-location-list {
    gap: 9px;
  }

  body.clone-search-active .company-location-item {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    min-height: 0;
    padding: 13px 12px;
    gap: 10px;
    border-radius: 15px;
  }

  body.clone-search-active .company-location-avatar {
    width: 54px;
    height: 54px;
  }

  body.clone-search-active .company-location-copy {
    align-self: center;
    gap: 4px;
  }

  body.clone-search-active .company-location-copy strong {
    font-size: .94rem;
    line-height: 1.15;
  }

  body.clone-search-active .company-location-copy small {
    font-size: .76rem;
    line-height: 1.25;
  }

  body.clone-search-active .company-location-copy .company-location-place {
    font-size: .73rem;
  }

  body.clone-search-active .company-location-item .clone-store-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 340px) {
  body.clone-search-active .company-location-item {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    padding: 11px 10px;
  }

  body.clone-search-active .company-location-avatar {
    width: 46px;
    height: 46px;
  }

  body.clone-search-active .company-location-item .clone-store-actions > * {
    min-height: 40px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: .67rem;
  }
}
