/* Inline (comportamento original) */
.pesquisar-mobile { display: none; }
.pesquisar-mobile.ativo { display: block; }

.tsb-icon-toggle { cursor: pointer; text-decoration: none; }

/* ========= Modal fullscreen (Nike-like) ========= */
.tsb-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tsb-modal.is-open { opacity: 1; visibility: visible; }

.tsb-modal-form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

.tsb-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tsb-modal-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5;
  border-radius: 9999px;
  padding: 12px 20px;
}

.tsb-modal-search-icon {
  width: 20px;
  height: 20px;
  color: #757575;
  flex-shrink: 0;
}

.tsb-modal-input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #111;
  padding: 0;
  min-width: 0;
}
.tsb-modal-input::placeholder { color: #757575; }

.tsb-modal-cancel {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  padding: 8px 4px;
  color: #111;
  font-family: inherit;
}
.tsb-modal-cancel:hover { opacity: .7; }

.tsb-modal-terms {
  margin-top: 32px;
}
.tsb-modal-terms h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 16px;
  color: #757575;
}

.tsb-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tsb-modal-chip {
  background: #f5f5f5;
  border: 0;
  border-radius: 9999px;
  padding: 10px 18px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  cursor: pointer;
  transition: background .15s;
}
.tsb-modal-chip:hover { background: #e5e5e5; }
